diff options
-rw-r--r-- | dev-util/kdevplatform/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevplatform/kdevplatform-5.0.4.ebuild | 110 |
2 files changed, 111 insertions, 0 deletions
diff --git a/dev-util/kdevplatform/Manifest b/dev-util/kdevplatform/Manifest index aa51721f37d1..eb7a64a7d1ab 100644 --- a/dev-util/kdevplatform/Manifest +++ b/dev-util/kdevplatform/Manifest @@ -1,3 +1,4 @@ DIST kdevplatform-1.7.2.tar.xz 1929976 SHA256 0afcde7a746adb83b00f2bd6b02efb4022adbd61b6ba4325fb63b71902f1f4e4 SHA512 b95a1837b61d6c63cdd5183194ea70301bb32720df8c5317ba891a91c24c1e174aa69d10131024701bfe710f4848ac50059bc4513cf334d39415d37f4a445d66 WHIRLPOOL 4656a52becd50e9d827010e798941465731872b014400529fde4c45410d7f77d063c7fed237f94991742af997e845145772dbb199df74ae9777d41c2bdc21693 DIST kdevplatform-1.7.4.tar.xz 1934292 SHA256 21ea4a6c4e241e3b9d6f991ac98b2df8b9c45e17bdb416e836cefbde2d524574 SHA512 9293356782113abc026f063c0db9e82aff2c52631aa27fda9674c21d00d031c92853b358cf65f161910cc84e543e73fdabed01e8b326875ab7b253db9e4bb225 WHIRLPOOL 5531dc351f01c2e53ac62927beb7d1d33d5ae1771e445f32c035e89f09c688fd41c3781ef6960744bd29c3124d0797e9efee795945a8eb449d06aff1e4e596f0 DIST kdevplatform-5.0.3.tar.xz 2018600 SHA256 643d1145e1948af221f9ae148d0a10809f3d89af4b97ff0d6c4d571004f46bd4 SHA512 ef48c0de41d1fe20269400eea4d2b04efa04cd62caaa987e6814c5513e843c3cac030479a8a0576b9fc532d7771827fcc4acda128448ff34dec9fbd55bd05d55 WHIRLPOOL 24cbc44345867b78b669993fcc8d1b680c051cce7c6ce91761de14877f05e6f983f562fe99d0ffa2586611d7daee8d66a2a530f7700ae2c44832f9d980069099 +DIST kdevplatform-5.0.4.tar.xz 2012332 SHA256 01abfcd71383048d017fe989ccce0e7590010a3975bbe6e161f55ababe2ad471 SHA512 659802a31d493507bf9b787a9dc4799fe35c38ebf5545afc0cde17bd41d9a84e9402c594e7e3dba908b0c2164183e5fa9de3b8056064add480707349d3a99d2f WHIRLPOOL e303a688f2fc4435b09f2723773622e3707d59f74661bf2d4b02ac90e867fcd4b7d0e2eadcca3019b2330ee06a307fce24aeed9354b0b5ce771ad5650b0c0d21 diff --git a/dev-util/kdevplatform/kdevplatform-5.0.4.ebuild b/dev-util/kdevplatform/kdevplatform-5.0.4.ebuild new file mode 100644 index 000000000000..1725935ca8ae --- /dev/null +++ b/dev-util/kdevplatform/kdevplatform-5.0.4.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="5.0" +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" + +PATCHES=( + "${FILESDIR}/${PN}-5.0.1-unused-deps.patch" +) + +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 +} |