summaryrefslogtreecommitdiff
path: root/dev-util/kdevelop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-25 15:54:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-25 15:54:35 +0100
commitd0bb3151c569ab6e40c84c177f43bff3c7ce4780 (patch)
tree0c543a2f299a437229bcd5db5c62697a41243689 /dev-util/kdevelop
parent601320c16301dbd7e8830e8c2ab7d6aef5b65abe (diff)
gentoo auto-resync : 25:08:2023 - 15:54:35
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r--dev-util/kdevelop/Manifest2
-rw-r--r--dev-util/kdevelop/kdevelop-23.08.0.ebuild131
2 files changed, 133 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index 0489ba63e147..10175b3f7544 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1,4 +1,6 @@
AUX kdevelop-23.04.2-astyle-3.4.patch 2271 BLAKE2B 7e7b2124186836e7be43d562e2d1aeed6acb0ec4785d6233b40f7ada6a697b26bf12157e0aab3c198511f74bfe1a2dd1bf8c26d5ea78c318d0d4bf655618b184 SHA512 6fdcf49591eaefe68e831fe371077029ccf3a287bb9d3a9ad68488df381944b870259f466f57b1bdecd4de27d77045a3bda3a0d29d22bccdd72f32c6a9c77f37
DIST kdevelop-23.04.3.tar.xz 8659696 BLAKE2B f5b8459e49f81aaeeceddc2529ba57c3b3d8956cb0562c9a1ae86424f31c0fdce9624e95ddd3bb69b893ff7342863b870377a9e9c76be2c85d54d3c970d24991 SHA512 f6734aada66757f03cf50793b3ba601748e5494c6cc4dbfba928927d7cf5c07a9522c4f506ef908ebe9b2a6f212e2f360b313c32398c1284adb43c43609f581c
+DIST kdevelop-23.08.0.tar.xz 8705396 BLAKE2B f104aa8d5df9a5672b03363925ff7027ccdce9cdc99ef71a3a48ce5d2ad888ecf1c4557757e6ee93cc7faad85a1c2bebd29404e3677e21803007cec750e17e44 SHA512 08cb203db0bf4b2c6e342b68658f2e992a4cd97033e5d4955ca29bf4ac7ab2c2ce31459de99d0407d82f4aa5ab979db0598592428668d8aec25d8a7deec9fc76
EBUILD kdevelop-23.04.3.ebuild 4146 BLAKE2B d635600f5ff266ff25c0b39ec384330cbd1e9f29694b3a3d57445414dac79db59a228ea868c7c6c3b31f6ac443efff27745f10931769037bc2244d14ba2576b8 SHA512 7538e4755ecf46e38561a1567267a42b782395d001305ea0dca61b52ffaea7d31e47214b82b0a6bf1ac25a6bad7375712e0d9ed689e6ac6557e3ebc8d44a76ed
+EBUILD kdevelop-23.08.0.ebuild 4077 BLAKE2B db9536a6d865cb2da95a296d789544c9d1d661074546ceca14d35cf06e7a71fa756db6a50a072b0dbc600ebf128ebaa45f06f4a2b84b75f0a9e16dc7ee6f538e SHA512 57cc37d00a6e25472be438a0e27f7925bed1656f731bb68a4be5df6a08a606af6b805fe34be6d90d90d3be459ba01009c5436a269711cefbc882fb98f80786ab
MISC metadata.xml 623 BLAKE2B defbd6a6a992f04fe71d13ca0e6da0b6c7015992f148f1fdd0d844430c44268e5c765c46afabee4af650992556e81acfb1024c94e6e274aefbbf46b65b9762af SHA512 4b022d64a261251c01eb9c8d8ee8aafeac6309272274fa8493f5bb8480cc93be482b145a70fd1a36bc30feaf8649ae17addfe8d7bcf57f78173e0f198805985c
diff --git a/dev-util/kdevelop/kdevelop-23.08.0.ebuild b/dev-util/kdevelop/kdevelop-23.08.0.ebuild
new file mode 100644
index 000000000000..2d0c7632d4a1
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-23.08.0.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 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.106.0
+LLVM_MAX_SLOT=16
+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-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
+ )
+"
+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-util/ninja
+ kde-apps/kapptemplate:5
+ kde-apps/kio-extras:5
+ >=sys-devel/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-util/meson
+ optfeature "formatting configurations via customscript plugin" dev-util/indent
+ optfeature "formatting configurations via customscript plugin" dev-util/uncrustify
+ fi
+ ecm_pkg_postinst
+}