diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-06-04 20:43:31 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-06-04 20:45:08 +1000 |
commit | 1233cea1c437d270b3edf0381a6a876bd551c73c (patch) | |
tree | b097bc17c7182997a30cafac4c36d95e8855f09f | |
parent | 108d77f895eba43aeffcb6d47ba0e84db5f04a62 (diff) | |
download | gentoo-1233cea1c437d270b3edf0381a6a876bd551c73c.tar.gz gentoo-1233cea1c437d270b3edf0381a6a876bd551c73c.tar.xz |
dev-util/kdevplatform: version bump 5.1.1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r-- | dev-util/kdevplatform/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevplatform/kdevplatform-5.1.1.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/dev-util/kdevplatform/Manifest b/dev-util/kdevplatform/Manifest index 09bec9a9f59..2b5f32956a6 100644 --- a/dev-util/kdevplatform/Manifest +++ b/dev-util/kdevplatform/Manifest @@ -1 +1,2 @@ DIST kdevplatform-5.1.0.tar.xz 2048172 SHA256 f09f3b807c9d360b894bc4439cce5b1cb23ff0754941dd26abf45c33b731aedb SHA512 b94fcd1294855654c3183c7bc0dbfefd099cfaadeb44180788f439b11c0e61609863aae5a06776d9e6a4915c9768a794760c8a931678d9cc5d9c5e98560a7998 WHIRLPOOL 301620ff6ebc9012f0f7bce4d771b83b8b03ab75602cae0182a0b23173ff1d9382a0536c16acc512e5ee27bd01861b308b5388b853ac701ec83b44f3b913e714 +DIST kdevplatform-5.1.1.tar.xz 2047948 SHA256 3159440512b1373c1a4b35f401ba1f81217de9578372b45137af141eeda6e726 SHA512 2780bc8f321be262bb9c2152fa8c58d52c93d48411122a5ce8d00f11becc8885c9697be7159cbcbb57c0a3f049912f96e67bc274af7ffa90cebf62eeba1eb572 WHIRLPOOL 60ea7b77d5edc007e91d141affbb9c9d46a4cbf52efc21e7b0202d07132d553e266af2968802843758a40905aeb5f568fff787fd4f68c48698619b5f8528378a diff --git a/dev-util/kdevplatform/kdevplatform-5.1.1.ebuild b/dev-util/kdevplatform/kdevplatform-5.1.1.ebuild new file mode 100644 index 00000000000..feaee605644 --- /dev/null +++ b/dev-util/kdevplatform/kdevplatform-5.1.1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="5.1" +KDEBASE="kdevelop" +KDE_TEST="forceoptional-recursive" +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="KDE development support libraries and apps" +IUSE="cvs reviewboard subversion +welcomepage" +[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep sonnet) + $(add_frameworks_dep threadweaver) + $(add_kdeapps_dep libkomparediff2) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qttest) + $(add_qt_dep qtwebkit) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + dev-libs/grantlee:5 + reviewboard? ( dev-libs/purpose ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) + welcomepage? ( $(add_qt_dep qtdeclarative 'widgets') ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + $(add_qt_dep qtconcurrent) +" +RDEPEND="${COMMON_DEPEND} + cvs? ( dev-vcs/cvs ) + !dev-util/kdevelop:4 + !dev-util/kdevplatform:4 +" + +REQUIRED_USE="test? ( welcomepage )" + +RESTRICT+=" test" + +src_prepare() { + kde5_src_prepare + # root tests subdirectory actually does not contain tests, installs stuff + if ! use test; then + sed -i -e "/add_subdirectory(tests)/ s/#DONOTCOMPILE //" \ + CMakeLists.txt || die "Failed to fix CMakeLists.txt" + sed -i -e '1s/^/find_package(Qt5Test \$\{QT_MIN_VERSION\})\n/' \ + tests/CMakeLists.txt || die "Failed to fix tests/CMakeLists.txt" + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_cvs=$(usex cvs) + $(cmake-utils_use_find_package reviewboard KDEExperimentalPurpose) + $(cmake-utils_use_find_package subversion SubversionLibrary) + $(cmake-utils_use_find_package welcomepage Qt5QuickWidgets) + ) + + kde5_src_configure +} + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version "kde-apps/konsole" ; then + echo + elog "For konsole view, please install kde-apps/konsole" + echo + fi +} |