diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-11-20 01:58:38 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-11-20 02:01:25 +0100 |
commit | 50108ad361f4d4cebc103bc15d9a6749f13a884b (patch) | |
tree | ed89e6fceff88cf2ef4e77bebc3cca6b6baf8b3d /dev-util/kdevelop | |
parent | sci-electronics/kicad: Version bump to 4.0.7 (diff) | |
download | gentoo-50108ad361f4d4cebc103bc15d9a6749f13a884b.tar.gz gentoo-50108ad361f4d4cebc103bc15d9a6749f13a884b.tar.bz2 gentoo-50108ad361f4d4cebc103bc15d9a6749f13a884b.zip |
dev-util/kdevelop: 5.2.0 version bump
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.2.0.ebuild | 133 | ||||
-rw-r--r-- | dev-util/kdevelop/metadata.xml | 5 |
3 files changed, 138 insertions, 1 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 6fdf9dfaab8a..222c3743bfb9 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,2 +1,3 @@ DIST kdevelop-5.1.1.tar.xz 4685416 SHA256 0a01a4ffb2f01802cf4945521a3149a8f82c21fa8a97935991f1854b7db5d754 SHA512 e2c1a4885bab9815341a53da6a98dd4939b7128eee174e79c616cc020f464362a2730508b3a8d66f00e4ea95f2098b92d6328b43b9f22bd77145bbe6ce096529 WHIRLPOOL 7e4134a89533ec510486f4b65a50cdc4b6f9f3ec3639f38077e568b54ae66d470f8028348eaab875c08ab8de4535902e2572aea99f86baba9359b581747a4366 DIST kdevelop-5.1.2.tar.xz 4688696 SHA256 af54e807847d145fe5f3eb55962ed0d22e6363c2bc6c32167e51ca4823c00ac7 SHA512 3f359587c7dca3ad4d0db4940cc9557bb61647672432f21c21d6f493e5e5c96e026c7dc155b66a7be4d20b06972fe961d8a3dda28e8aa273d0a4044a6242e39b WHIRLPOOL 0e3229a9b209cc3dd0afed13fdf72053dafaff3ca3d75172ef575590e6a5eb8374a4c0ded6e10adabb305a91f725a26877f91d417bd05d647fec2bb8f169f1fb +DIST kdevelop-5.2.0.tar.xz 6642408 SHA256 88e7a8f2f57a4c688da7a6d522b06e2e70ebddf2f9129b8f93e4c74df029e900 SHA512 5908ed1e2e66f1c589a9cbd323b4e5cf8cfbf6574cc52557b52ba2ea0e41eb8bab8947f9e8ef66fe815d6cf408fbf2e1a435480a6a9b90bad4330b6f5d0787ac WHIRLPOOL 506e978d8f994e5b0e4950c247f0c49aae586d6283d4c07457dc1cfc71504445b1a3457b513a8e155a4d78a43fa1f0eb228d75988634ccaf8ddacac453592a81 diff --git a/dev-util/kdevelop/kdevelop-5.2.0.ebuild b/dev-util/kdevelop/kdevelop-5.2.0.ebuild new file mode 100644 index 000000000000..c75aebfa2df8 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.2.0.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="5.2" +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +LICENSE="GPL-2 LGPL-2" +IUSE="cvs +gdbui okteta +plasma +qmake reviewboard subversion webkit +welcomepage" +[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="test? ( welcomepage )" + +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 kcrash) + $(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 qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qthelp) + $(add_qt_dep qtnetwork) + $(add_qt_dep qttest) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + dev-libs/grantlee:5 + >=sys-devel/clang-3.8.0:= + x11-misc/shared-mime-info + gdbui? ( $(add_plasma_dep libksysguard) ) + okteta? ( $(add_kdeapps_dep okteta) ) + plasma? ( + $(add_frameworks_dep krunner) + $(add_frameworks_dep plasma) + ) + qmake? ( dev-util/kdevelop-pg-qt:5 ) + reviewboard? ( dev-libs/purpose ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) + webkit? ( $(add_qt_dep qtwebkit) ) + !webkit? ( $(add_qt_dep qtwebengine 'widgets') ) + welcomepage? ( $(add_qt_dep qtdeclarative 'widgets') ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + $(add_qt_dep qtconcurrent) +" +RDEPEND="${COMMON_DEPEND} + $(add_kdeapps_dep kapptemplate) + $(add_kdeapps_dep kio-extras) + dev-util/ninja + >=sys-devel/gdb-7.0[python] + cvs? ( dev-vcs/cvs ) + reviewboard? ( $(add_kdeapps_dep ktp-accounts-kcm) ) + !dev-util/kdevelop:4 + !dev-util/kdevelop-clang + !dev-util/kdevelop-cppcheck + !dev-util/kdevelop-qmake + !dev-util/kdevelop-qmljs + !dev-util/kdevplatform + !<kde-apps/kapptemplate-16.04.0 +" + +RESTRICT+=" test" +# see bug 366471 + +src_configure() { + local mycmakeargs=( + -DBUILD_cvs=$(usex cvs) + $(cmake-utils_use_find_package gdbui KF5SysGuard) + -DBUILD_executeplasmoid=$(usex plasma) + $(cmake-utils_use_find_package plasma KF5Plasma) + $(cmake-utils_use_find_package okteta OktetaKastenControllers) + $(cmake-utils_use_find_package qmake KDevelop-PG-Qt) + $(cmake-utils_use_find_package reviewboard KDEExperimentalPurpose) + $(cmake-utils_use_find_package subversion SubversionLibrary) + $(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets) + $(cmake-utils_use_find_package welcomepage Qt5QuickWidgets) + ) + + kde5_src_configure +} + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version "kde-apps/konsole" ; then + elog "For konsole view, please install kde-apps/konsole" + fi + + if ! has_version "dev-util/cppcheck" ; then + elog "For static C/C++ code analysis support, please install dev-util/cppcheck" + fi + + if ! has_version "dev-util/heaptrack[qt5]" ; then + elog "For heap memory profiling support, please install dev-util/heaptrack" + fi +} diff --git a/dev-util/kdevelop/metadata.xml b/dev-util/kdevelop/metadata.xml index f7ada62fc4f0..75711dc9844c 100644 --- a/dev-util/kdevelop/metadata.xml +++ b/dev-util/kdevelop/metadata.xml @@ -8,8 +8,11 @@ <use> <flag name="gdbui">Enable GUI for attaching GDB to a running process</flag> <flag name="ninja">Enable support for Ninja build system</flag> - <flag name="okteta">Enable hex editor plugin</flag> + <flag name="okteta">Enable hex editor plugin via <pkg>kde-apps/okteta</pkg></flag> <flag name="qmake">Enable support for QMake build system</flag> <flag name="qthelp">Enable support for QtHelp documentation browsing</flag> + <flag name="reviewboard">Enable reviewboard support</flag> + <flag name="webkit">Enable deprecated <pkg>dev-qt/qtwebkit</pkg> instead of <pkg>dev-qt/qtwebengine</pkg> for integrated documentation</flag> + <flag name="welcomepage">Enable welcome page, requires <pkg>dev-qt/qtdeclarative</pkg></flag> </use> </pkgmetadata> |