summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-24 14:41:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-24 14:50:11 +0200
commite831ad113563efa50b8307b149150aba47476fbf (patch)
treede13701ba26fc54f11dc7fc0c829bc3b47163102 /dev-util
parentkde-misc/zanshin: 24.08.0 version bump (diff)
downloadgentoo-e831ad113563efa50b8307b149150aba47476fbf.tar.gz
gentoo-e831ad113563efa50b8307b149150aba47476fbf.tar.bz2
gentoo-e831ad113563efa50b8307b149150aba47476fbf.zip
dev-util/kdevelop: 24.08.0 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.08.0.ebuild122
-rw-r--r--dev-util/kdevelop/metadata.xml1
3 files changed, 124 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index 34bd71bc5c50..bb46aafaeb99 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1 +1,2 @@
DIST kdevelop-24.05.2.tar.xz 8763748 BLAKE2B 8a6214aa03cfb507f24cf2bfe615f1a0851e46d4094df1ec1b2341ba468e10d5e955ef27ea4505dabfa9559eb53f94ecd03ef50d0d0bd7fbe1903964ba118bda SHA512 bf262c93bfb19ded1e914732b027275524ca4089f71d72a42ccbf544eb38a15d02051af493d7a545dc37c811b1637459f709c5776e879858640e16b19e0220ae
+DIST kdevelop-24.08.0.tar.xz 8784672 BLAKE2B 3b47231a31c713a355b506aa625a5440d0f5bc1f26cbb9f06b6f4ebea40ad753ed94d6701bda2016248a3025400a89c2dfb3e51430db62ee4631e31d380e8acd SHA512 b5c116cf8dde83e51bcd5c3445129f91233bc0314c18b85d3f5e48f2ac8433930594ef3f9d4d1330fd761beb93d2b91999c2344c3f41241214828a1f20226e6c
diff --git a/dev-util/kdevelop/kdevelop-24.08.0.ebuild b/dev-util/kdevelop/kdevelop-24.08.0.ebuild
new file mode 100644
index 000000000000..e8180d9e7333
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-24.08.0.ebuild
@@ -0,0 +1,122 @@
+# 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=6.5.0
+LLVM_COMPAT=( 15 16 17 18 )
+QTMIN=6.7.2
+inherit ecm gear.kde.org llvm-r1 optfeature
+
+DESCRIPTION="Integrated Development Environment, supporting KF6/Qt, C/C++ and much more"
+HOMEPAGE="https://kdevelop.org/"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="6/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gdbui plasma +qmake +share subversion"
+
+# see bug 366471
+RESTRICT="test"
+
+# UPSTREAM: not ported yet, check plugins/CMakeLists.txt
+# IUSE="hex"
+# hex? ( app-editors/okteta:6 )
+COMMON_DEPEND="
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
+ >=dev-qt/qtdeclarative-${QTMIN}:6[widgets]
+ >=dev-qt/qttools-${QTMIN}:6[assistant]
+ >=dev-qt/qtwebengine-${QTMIN}:6[widgets]
+ >=dev-util/astyle-3.1:=
+ kde-apps/libkomparediff2:6
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kbookmarks-${KFMIN}:6
+ >=kde-frameworks/kcmutils-${KFMIN}:6
+ >=kde-frameworks/kcodecs-${KFMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/kguiaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kiconthemes-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kitemmodels-${KFMIN}:6
+ >=kde-frameworks/kitemviews-${KFMIN}:6
+ >=kde-frameworks/kjobwidgets-${KFMIN}:6
+ >=kde-frameworks/knewstuff-${KFMIN}:6
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ >=kde-frameworks/knotifyconfig-${KFMIN}:6
+ >=kde-frameworks/kparts-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/ktexteditor-${KFMIN}:6
+ >=kde-frameworks/ktexttemplate-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ >=kde-frameworks/sonnet-${KFMIN}:6
+ >=kde-frameworks/threadweaver-${KFMIN}:6
+ $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}')
+ gdbui? ( kde-plasma/libksysguard:6= )
+ plasma? (
+ >=kde-frameworks/krunner-${KFMIN}:6
+ kde-plasma/libplasma:6
+ )
+ qmake? ( >=dev-util/kdevelop-pg-qt-2.3.0:0 )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:6 )
+ subversion? (
+ dev-libs/apr:1
+ dev-libs/apr-util:1
+ dev-vcs/subversion
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+ >=dev-qt/qtbase-${QTMIN}:6[concurrent]
+"
+RDEPEND="${COMMON_DEPEND}
+ dev-build/ninja
+ >=dev-debug/gdb-7.0[python]
+ >=dev-qt/qttools-${QTMIN}:6[qdbus]
+ kde-apps/kapptemplate:*
+ kde-apps/kio-extras:6
+"
+
+pkg_setup() {
+ ecm_pkg_setup
+ llvm-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLVM_ROOT="$(get_llvm_prefix)"
+ $(cmake_use_find_package gdbui KSysGuard)
+ -DBUILD_executeplasmoid=$(usex plasma)
+ $(cmake_use_find_package plasma Plasma)
+ $(cmake_use_find_package qmake KDevelop-PG-Qt)
+ $(cmake_use_find_package share KF6Purpose)
+ $(cmake_use_find_package subversion SubversionLibrary)
+ )
+# $(cmake_use_find_package hex OktetaKastenControllers)
+
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "konsole view" "kde-apps/konsole:6"
+ 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
+}
diff --git a/dev-util/kdevelop/metadata.xml b/dev-util/kdevelop/metadata.xml
index 1e372bd1e6cc..d9d32fdb5d97 100644
--- a/dev-util/kdevelop/metadata.xml
+++ b/dev-util/kdevelop/metadata.xml
@@ -12,5 +12,6 @@
<flag name="gdbui">Enable GUI for attaching GDB to a running process</flag>
<flag name="hex">Enable hex editor plugin via <pkg>app-editors/okteta</pkg></flag>
<flag name="qmake">Enable support for QMake build system</flag>
+ <flag name="share">Enable support for patch sharing using <pkg>kde-frameworks/purpose</pkg></flag>
</use>
</pkgmetadata>