aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-01 21:15:18 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-01 22:19:15 +0100
commitdae4767cc9035db68d600eda983def41da847e2c (patch)
tree7499b82180edada3ccc9b0ecc5a8c867ef9885cc /dev-util
parentkde-misc/zanshin: 24.01.95 version bump (diff)
downloadkde-dae4767cc9035db68d600eda983def41da847e2c.tar.gz
kde-dae4767cc9035db68d600eda983def41da847e2c.tar.bz2
kde-dae4767cc9035db68d600eda983def41da847e2c.zip
dev-util/kdevelop: 24.01.95 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdevelop/Manifest1
-rw-r--r--dev-util/kdevelop/kdevelop-24.01.95.ebuild134
2 files changed, 135 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index 083308baef..6f06de57b4 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1 +1,2 @@
DIST kdevelop-24.01.90.tar.xz 8750144 BLAKE2B ecfb0ae90f47649dbb441793d963eeb9cbc5d2db7430e4d4eb4f9bee43b08c2d81d3b6c2ea98c290fc318eb21ffc58760e44f79959891c3a04a9dc671aca17c1 SHA512 6c6f27f0d4c11c351d5e93b1f26c79dbde6ad46662e6f47d6288a958c38e808bff9848c9b07987be723c25cfd0057ec69c7a50f77b2ca19ca8a1b70a1d3c6e32
+DIST kdevelop-24.01.95.tar.xz 8752972 BLAKE2B a662381225672a881fb3417c24f03c8ceab51f89061cad27bad5834eb5c64c9ed5f41768fedba3e627b27240b667b61aac7c6549100dd3f43b1975bcfaf65996 SHA512 c40e2630db5c0fe25a98a6b4f91449beabc96c62a64e5f68ee3cab32be8a913f332b0734a330160fbbcd0b5c8217c2e8d05a724b5528caf8d640a09ad2d9500b
diff --git a/dev-util/kdevelop/kdevelop-24.01.95.ebuild b/dev-util/kdevelop/kdevelop-24.01.95.ebuild
new file mode 100644
index 0000000000..258ae1f894
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-24.01.95.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.113.0
+LLVM_MAX_SLOT=17
+QTMIN=5.15.9
+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 ~ppc64 ~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/konsole
+ 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
+}