diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.4.5.ebuild | 139 |
2 files changed, 140 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 6446628232a9..c74827ccf124 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,2 +1,3 @@ DIST kdevelop-5.4.2.tar.xz 7006096 BLAKE2B 105f7377e960f6012e9e976a14475b67e15038cb376c6ec499ef33f17c59ff1e068866deafb24aa1392bf0a3c833cdffeac122262dd38dc45eeca8fea69f0df8 SHA512 de25d70f2e82f61ef95ce2c6289146c52c368e93a3d23b17a2b95d14e64b599b64af32c2de2501c236f2954d981709c168fecddb4dbcf5425014d6a6e938d53b DIST kdevelop-5.4.4.tar.xz 7011276 BLAKE2B c033f8990ed13a2eeb516965d0d7486901b7263410f6f2e7525bf12d1878355898306ff1e90fd1f4c847b9bea90e2c474aa1bbaeab5076a83b40e31a043ab51d SHA512 e2f2cf20b9be3be94344f38fd781be2c847c466adf2dad5504283770326e3dfe35902281cd4bf8cda2854449ea5f73f8026abd0c1811fd5b97e2fa3568585fcf +DIST kdevelop-5.4.5.tar.xz 7011816 BLAKE2B d067b0b034014b2f3ef7e177b59bde7c86672e8718d6860c5945ad8c8df7531cb427bed1f96b8a8d470da5a51e32134c389df53386a5c4a635825e6892cb060d SHA512 9c795402e10fceda63d0847260018f73d0318ea23a8b67db5c369259b79906a0877f1c43cdaccd5d6a456fef6bc06157dddc99bddc0b742c686057690656d5f5 diff --git a/dev-util/kdevelop/kdevelop-5.4.5.ebuild b/dev-util/kdevelop/kdevelop-5.4.5.ebuild new file mode 100644 index 000000000000..8467cba14272 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.4.5.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KDE_APPS_MINIMAL=19.04.3 +KFMIN=5.60.0 +QTMIN=5.12.3 +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +HOMEPAGE="https://www.kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="5/54" # look at KDEVELOP_SOVERSION inside CMakeLists.txt +IUSE="+gdbui hex +plasma +qmake reviewboard subversion webkit" + +COMMON_DEPEND=" + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 + >=kde-frameworks/threadweaver-${KFMIN}:5 + >=kde-apps/libkomparediff2-${KDE_APPS_MINIMAL}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qthelp-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qttest-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + dev-libs/grantlee:5 + >=dev-util/astyle-3.1:= + >=sys-devel/clang-3.8.0:= + gdbui? ( >=kde-plasma/libksysguard-5.16.5:5 ) + hex? ( app-editors/okteta:5 ) + plasma? ( + >=kde-frameworks/krunner-${KFMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5 + ) + qmake? ( dev-util/kdevelop-pg-qt:5 ) + reviewboard? ( >=kde-frameworks/purpose-${KFMIN}:5 ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) + webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) + !webkit? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets] ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + >=dev-qt/qtconcurrent-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + >=kde-apps/kapptemplate-${KDE_APPS_MINIMAL}:5 + >=kde-apps/kio-extras-${KDE_APPS_MINIMAL}:5 + >=dev-qt/qdbus-${QTMIN}:5 + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + dev-util/ninja + >=sys-devel/gdb-7.0[python] + reviewboard? ( >=kde-apps/ktp-accounts-kcm-${KDE_APPS_MINIMAL}:5 ) + !dev-util/kdevelop-clang-tidy + !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 ) + + ecm_src_configure +} + +pkg_postinst() { + ecm_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 +} |