diff options
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 2 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-24.08.1.ebuild | 122 |
2 files changed, 124 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 6acd37f6e50c..c97b3ac88002 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,3 +1,5 @@ DIST kdevelop-24.08.0.tar.xz 8784672 BLAKE2B 3b47231a31c713a355b506aa625a5440d0f5bc1f26cbb9f06b6f4ebea40ad753ed94d6701bda2016248a3025400a89c2dfb3e51430db62ee4631e31d380e8acd SHA512 b5c116cf8dde83e51bcd5c3445129f91233bc0314c18b85d3f5e48f2ac8433930594ef3f9d4d1330fd761beb93d2b91999c2344c3f41241214828a1f20226e6c +DIST kdevelop-24.08.1.tar.xz 8794020 BLAKE2B 0be6d6e89956e5e8aefea7150408c8b7f82f78ae4e3f01fcfcbc4f61ed8d0bf4efed395872ea2afdf3feef549e3998e2e449fc32210e0d6576c0fd738b6434be SHA512 eaade81702387be71e1ce9b11085934b9449235d7deb8e85ad3fd52325c4cc8d766997adc9211614e0e63ae7251ff2e8e4e3835f2ddd6ba04099c1dd743e5224 EBUILD kdevelop-24.08.0.ebuild 3700 BLAKE2B a29bb2f0568cc77efa1e5a63f8eebba7b23c1c39b756f155b185f6086ba6b42d63daff2bb87c927594d0653d38036272c75a85aee04d17080568b955f6a76a29 SHA512 2fcd78533c630e178eafd4e06edebdf51a5e088240dab44cca5b6f6cf28e64c44e72a1507b6cc7e0e816e46f6241b35c05db2c89fb551b7261e267ffd5bb998c +EBUILD kdevelop-24.08.1.ebuild 3702 BLAKE2B c6ba5e07c85850752196bb1916ef94f951b89c8e472262904c33d7623f480550cb9dc324f8f684a352b2c20d7621ca5f7e4a2ba27411b679d44a20fd8107940f SHA512 5dd778b587ae2391b121e51a715074baf0524a0b0ec4bec45bd81306b5987655bae665c7e662ccb43577b5342558a93785e153d5e0d6d38c196fbc7a26f0fed1 MISC metadata.xml 671 BLAKE2B a67a7998eea115188a188dc7e225226f6b8ce68168ed1d43bf452cc7fd26f343d6d7c61367df45ddb5fea674c0aa3c5028287e16e791311bfb0d89488eed8935 SHA512 9ad5e98671886e809fe69e8ca9bedf05e417535798bd855a19b8a69ba510324862d5fd0d236c7827c4d4952305468709abf7a9d7ed1fe36e2b9bee6a4663179a diff --git a/dev-util/kdevelop/kdevelop-24.08.1.ebuild b/dev-util/kdevelop/kdevelop-24.08.1.ebuild new file mode 100644 index 000000000000..e8180d9e7333 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-24.08.1.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 +} |