diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-04-11 21:42:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-04-11 22:13:31 +0200 |
commit | 7b5677808ff274853e7c222de865a9dcc9f1c04c (patch) | |
tree | 64d03b51d233d23dfeb1d78a4a2c1bc6b90ea030 /dev-util/kdevelop | |
parent | kde-misc/zanshin: 24.02.2 version bump (diff) | |
download | gentoo-7b5677808ff274853e7c222de865a9dcc9f1c04c.tar.gz gentoo-7b5677808ff274853e7c222de865a9dcc9f1c04c.tar.bz2 gentoo-7b5677808ff274853e7c222de865a9dcc9f1c04c.zip |
dev-util/kdevelop: 24.02.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-24.02.2.ebuild | 134 |
2 files changed, 135 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 50df75e9bef6..471d1ee724b4 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,2 +1,3 @@ DIST kdevelop-23.08.5.tar.xz 8709732 BLAKE2B e85d4bc55cd600eb31c2420d30b32cd6c86e6f8796f02925c42ebe64060dd89a6dd9ebd6ebf1e37025c75384c4bbc25f1ba194878c0c8dd0e775a63d46f13dc3 SHA512 cc9268bb7accf597ef882a6135d930c01c805862b4251226da7a8afd7a98544dcd8ace546771296e8f59b6f7af63e3494079ae328bc568a539b0801e8784931a DIST kdevelop-24.02.1.tar.xz 8753164 BLAKE2B 832aa78cb97015cf19cc632da861466cd2a18b6fbd83e75cda07c6b89380987da0f5de90d1194f0cc309821b988bcfd42229bf8b30515984782a3c5f2c3e399c SHA512 59959e44fcba713d3d6046b95d1a3c6e761a6f225cfcaf9a08e82f0536782bcc0ffe2c3c9d4512937a076a74a79ea2bc0fab71a04c3596845cccb4908cab722d +DIST kdevelop-24.02.2.tar.xz 8753012 BLAKE2B 21776d734ca5e9a38500f58a3aee685c2e254f9073bbb505fe8aa5c91fc996b3ab1dcdf8df46073c5054afe8520fa63b763840e2ec1c25483e146a6e2c300e6c SHA512 eceb82d76788f1577cff1dbc91f30556a985e7597daeb0cf1de5ac9a59046bf13f326dee77bed406b3c9c24d66cf4c5a6a86dbfe37431d6c9c1d4c0f7d64a3b1 diff --git a/dev-util/kdevelop/kdevelop-24.02.2.ebuild b/dev-util/kdevelop/kdevelop-24.02.2.ebuild new file mode 100644 index 000000000000..291c04bca077 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-24.02.2.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KDE_ORG_CATEGORY="kdevelop" +KFMIN=5.115.0 +LLVM_MAX_SLOT=17 +QTMIN=5.15.12 +VIRTUALDBUS_TEST="true" +inherit ecm gear.kde.org llvm optfeature + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +HOMEPAGE="https://www.kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="5/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+gdbui hex +plasma +qmake reviewboard subversion" + +# see bug 366471 +RESTRICT="test" + +COMMON_DEPEND=" + dev-libs/grantlee: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/qtwebengine-${QTMIN}:5[widgets] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-util/astyle-3.1:= + kde-apps/libkomparediff2:5 + >=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 + <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):= + gdbui? ( kde-plasma/libksysguard:5= ) + hex? ( app-editors/okteta:5 ) + plasma? ( + >=kde-frameworks/krunner-${KFMIN}:5 + >=kde-plasma/libplasma-${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 + ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + >=dev-qt/qtconcurrent-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qdbus-${QTMIN}:* + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + dev-build/ninja + kde-apps/kapptemplate:* + || ( + kde-apps/kio-extras-kf5:5 + kde-apps/kio-extras:5 + ) + >=dev-debug/gdb-7.0[python] + reviewboard? ( kde-apps/ktp-accounts-kcm:5 ) +" + +llvm_check_deps() { + has_version -d "sys-devel/clang:${LLVM_SLOT}" +} + +src_configure() { + local mycmakeargs=( + -DLLVM_ROOT="$(get_llvm_prefix ${LLVM_SLOT})" + $(cmake_use_find_package gdbui KSysGuard) + -DBUILD_executeplasmoid=$(usex plasma) + $(cmake_use_find_package plasma KF5Plasma) + $(cmake_use_find_package hex OktetaKastenControllers) + $(cmake_use_find_package qmake KDevelop-PG-Qt) + $(cmake_use_find_package reviewboard KF5Purpose) + $(cmake_use_find_package subversion SubversionLibrary) + ) + + use gdbui || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KF5SysGuard=ON ) + use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON ) + + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "konsole view" "kde-apps/konsolepart:5" "kde-apps/konsole:5" + optfeature "static C++ Qt code analysis" dev-util/clazy + optfeature "static C/C++ code analysis" dev-util/cppcheck + optfeature "heap memory profiling" "dev-util/heaptrack[gui]" + optfeature "meson project manager plugin" dev-build/meson + optfeature "formatting configurations via customscript plugin" dev-util/indent + optfeature "formatting configurations via customscript plugin" dev-util/uncrustify + fi + ecm_pkg_postinst +} |