diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-08-31 23:45:25 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-09-01 00:23:26 +1000 |
commit | 7735848b0ad1523de3d9c3a2e99db16ceca3c669 (patch) | |
tree | 8b00d1eb18d72ba7aa1402504881f3b62cf20218 /dev-util | |
parent | profiles: enable python_targets_python3_5 by default in dev-python/kdevelop-p... (diff) | |
download | gentoo-7735848b0ad1523de3d9c3a2e99db16ceca3c669.tar.gz gentoo-7735848b0ad1523de3d9c3a2e99db16ceca3c669.tar.bz2 gentoo-7735848b0ad1523de3d9c3a2e99db16ceca3c669.zip |
dev-util/kdevplatform: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/kdevplatform/kdevplatform-5.0.0.ebuild | 105 | ||||
-rw-r--r-- | dev-util/kdevplatform/metadata.xml | 1 |
2 files changed, 106 insertions, 0 deletions
diff --git a/dev-util/kdevplatform/kdevplatform-5.0.0.ebuild b/dev-util/kdevplatform/kdevplatform-5.0.0.ebuild new file mode 100644 index 000000000000..8d9cf901d40e --- /dev/null +++ b/dev-util/kdevplatform/kdevplatform-5.0.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +" + +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 +} diff --git a/dev-util/kdevplatform/metadata.xml b/dev-util/kdevplatform/metadata.xml index 4c99719020fd..10b60fa8affb 100644 --- a/dev-util/kdevplatform/metadata.xml +++ b/dev-util/kdevplatform/metadata.xml @@ -9,5 +9,6 @@ <flag name="classbrowser">Enable the class browser plugin</flag> <flag name="konsole">Enable <pkg>kde-apps/konsole</pkg> integration</flag> <flag name="reviewboard">Enable reviewboard support</flag> + <flag name="welcomepage">Enable welcome page, requires <pkg>dev-qt/qtdeclarative</pkg></flag> </use> </pkgmetadata> |