diff options
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.3.2.ebuild | 130 |
2 files changed, 131 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 89f79e46173a..0d1eb545b996 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,2 +1,3 @@ DIST kdevelop-5.2.4.tar.xz 6647172 BLAKE2B c3dc301cf16bdef95000aa6cb3ebe615054f49ad29bc67870c31d329cf7bd4df81dad330eb26dd28c19627b2040f62522d755afa4450bb125872350d1f8039e1 SHA512 1c64b4f56452e8c926c5bcea5a9d8368fa62926d1ec507d289d8cb47275d478898d56fdf083fc24e291aaf4738cc5b7ddfd239e6993848e862bc4d83e270558b DIST kdevelop-5.3.1.tar.xz 6671416 BLAKE2B ac09bb2f9254279af662d472ddc712e09892509a7eae0dc0df8fa7fc1b36ec0b90c381503699f7844141cef644e33d70c8a3ca77267958e46bc56fe55f4c5c2c SHA512 3b8c9d839a0fab48a2ecb63cb3dddb96c096c6d244f95baaefcbeca5beb91557769773da367a02f1ad8bd33ec44d14157a988989576062894a081a4073928a0a +DIST kdevelop-5.3.2.tar.xz 6851944 BLAKE2B b918cd0cb9b915227a442641a110db27387fd2e946c0411e40206a4a68990a9268a6c47c7f1da8a8f8a5c2690a1577c75fbbbb353d69ddfeed419e2c561aac4a SHA512 f0a8354a596a13dab0c5560d8308097918f5540b02d9a66a63155af00aa024aae9c01b455290ecafe705784a9c25afd24f7d936d1f817af1fb5b52d96e6dc596 diff --git a/dev-util/kdevelop/kdevelop-5.3.2.ebuild b/dev-util/kdevelop/kdevelop-5.3.2.ebuild new file mode 100644 index 000000000000..bd570077a581 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.3.2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_BRANCH="5.3" +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="+gdbui hex +plasma +qmake reviewboard subversion webkit" +[[ ${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 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 'widgets') + $(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:= + gdbui? ( $(add_plasma_dep libksysguard) ) + hex? ( app-editors/okteta:5 ) + plasma? ( + $(add_frameworks_dep krunner) + $(add_frameworks_dep plasma) + ) + qmake? ( dev-util/kdevelop-pg-qt:5 ) + reviewboard? ( $(add_frameworks_dep purpose) ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) + webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) + !webkit? ( $(add_qt_dep qtwebengine '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] + reviewboard? ( $(add_kdeapps_dep ktp-accounts-kcm) ) + !dev-util/kdevelop-clang + !dev-util/kdevelop-cppcheck + !dev-util/kdevelop-qmake + !dev-util/kdevelop-qmljs + !dev-util/kdevplatform +" + +RESTRICT+=" test" +# see bug 366471 + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package gdbui KF5SysGuard) + -DBUILD_executeplasmoid=$(usex plasma) + $(cmake-utils_use_find_package plasma KF5Plasma) + $(cmake-utils_use_find_package hex OktetaKastenControllers) + $(cmake-utils_use_find_package qmake KDevelop-PG-Qt) + $(cmake-utils_use_find_package reviewboard KF5Purpose) + $(cmake-utils_use_find_package subversion SubversionLibrary) + $(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets) + ) + + use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON ) + + 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 + + if ! has_version "dev-util/clazy" ; then + elog "For static C++ Qt code analysis support, please install dev-util/clazy" + fi +} |