summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-03 10:55:45 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-03 18:11:26 +0100
commit65f2a5a07784a6bed3b2776ee323a9152c808501 (patch)
treec2cbddf2e7e6ddfb237f14a439f2fa6151be72e9 /dev-util/kdevelop
parentkde-misc/zanshin: 21.12.2 version bump (diff)
downloadgentoo-65f2a5a07784a6bed3b2776ee323a9152c808501.tar.gz
gentoo-65f2a5a07784a6bed3b2776ee323a9152c808501.tar.bz2
gentoo-65f2a5a07784a6bed3b2776ee323a9152c808501.zip
dev-util/kdevelop: 21.12.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r--dev-util/kdevelop/Manifest1
-rw-r--r--dev-util/kdevelop/kdevelop-21.12.2.ebuild131
2 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index 351d4b8964e7..64df9ea90049 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1,2 +1,3 @@
DIST kdevelop-21.12.1.tar.xz 8395924 BLAKE2B 22fadff4bbfa67b7e637f3a6d5e00a392eeef8370af9dd4b9edc4eff960f4c5ece2124e88775c4015faf4064d504e8949ee180208d0fdd12142a7458f84d687c SHA512 a2017a1ce8ab1165627783be4798c97a273b873ddc6a475252ec3ad2f27ee43f2b9a1322dd6958a399ea9a7a0117765c1cd7ea57075453fb69df57880fd948a2
+DIST kdevelop-21.12.2.tar.xz 8391472 BLAKE2B a9918780e7f0f709dacfef3fd277286a9f14c44eaea356bed167fbeedf46f25b0b079c8c20ed54ba93aed8a6c80d53c27eb090a1df4f50061408b6d4efd86613 SHA512 a7e52593ba1297e60058329e38b45b3b3abc235b7f009a4b7e137efc18bc93f79ce146b7c883aed4e4fc7960d07c096013cf4b8265e5b2dfea5c286f1d8c6796
DIST kdevelop-5.6.2.tar.xz 7128828 BLAKE2B 605b16f1666201f49e119499007a2031c4a2b28e7eb5c3b7bbf8bcd8aa2dc069708740831dc9fe327a8c9baebeffeeda5dd6d16c24c21a2be66c7475bf194423 SHA512 d5ec09b3eda439436bee4dee88612deedf02caf949e74cb7d8405fbb40ae6f16ae1b5278da0574f41c43d186edbeec6b8c40918ef7f5fafa437e07a8c4ae92ce
diff --git a/dev-util/kdevelop/kdevelop-21.12.2.ebuild b/dev-util/kdevelop/kdevelop-21.12.2.ebuild
new file mode 100644
index 000000000000..8f5b037b29b0
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-21.12.2.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+KDE_GEAR="true"
+KDE_ORG_CATEGORY="kdevelop"
+KFMIN=5.88.0
+QTMIN=5.15.2
+VIRTUALDBUS_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org optfeature
+
+DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more"
+HOMEPAGE="https://kdevelop.org/"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="5/57" # look at KDEVELOP_SOVERSION inside CMakeLists.txt
+IUSE="+gdbui hex +plasma +qmake reviewboard subversion"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+# 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-6.0:=
+ 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}:5
+ >=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 )
+"
+
+src_configure() {
+ local clang_version=$(best_version sys-devel/clang)
+ local llvm_root="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})"
+
+ local mycmakeargs=(
+ -DLLVM_ROOT=${llvm_root}
+ $(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
+}