summaryrefslogtreecommitdiff
path: root/dev-util/kdevelop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-23 02:44:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-23 02:44:06 +0100
commitf019a919bf109460ee009a5f9210b99d0467db97 (patch)
tree5e62ee11b837b7b408bb93bf2f01eb74f7b8a73f /dev-util/kdevelop
parent6a9905e269a1104c93dceb41e2627a8568642946 (diff)
gentoo auto-resync : 23:08:2022 - 02:44:06
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r--dev-util/kdevelop/Manifest2
-rw-r--r--dev-util/kdevelop/kdevelop-22.08.0.ebuild130
2 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index 575183c39d63..1ed073aff089 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1,3 +1,5 @@
DIST kdevelop-22.04.3.tar.xz 8426644 BLAKE2B 114ec3d6f94712482ccf485cdb746f51f0898bda62d40a24a21222098596f1026dadebb0f901a030cfbf5cfd8bf6d66a22b4960bbeeadb16baf12b62d90e5816 SHA512 a78a2a1e5232369a676297ff52f8f3cf0e003c28d0513628e4a0c37a91018232f4c7f485021a73d4bb617f383483b8795713038fa30c7e5d63675e9b78251a71
+DIST kdevelop-22.08.0.tar.xz 8445848 BLAKE2B 7d4bdccdd16e20169d99754415d040773e650cfbdacadf9329fb751d4a01ab17630d654a4b6fb101f002ec6528eb0a88c2a113d148ee2854f219ca3734e984df SHA512 81ae4a3600051a76ddfb494c8d1f24db3761595f2ac37f0a892dd144efe6df2bc25c5e12c169939d0e8dd16a049583368ad208e7984187dfe5a0d5ebc7a24bbd
EBUILD kdevelop-22.04.3.ebuild 4134 BLAKE2B 8a471a9b0b29c1dcf81952b1dd56c2fb179915c027ccb52fd7b351f8af37ba3cc3f2d4c49974dcdf4b2b8e5dd6c4c050141526e18b7f3635d77cbc911d6ce585 SHA512 e8964f506e074f98bc76bdbfb09a40134b87f2d8a8cb20f226e4438201f8634fef89b90292225edc7ccaf1fa07d7b45105eea373db825248052dab9d1a08cf36
+EBUILD kdevelop-22.08.0.ebuild 4137 BLAKE2B 22dc93becc5291468d6334692afbb19f41a2672cfdeb4f1e409da2ce08d2f15f35ae124194a5f5d8e3cfa055c56a1a86cd256904b6b4d998a0982b10ef3c9d8f SHA512 bb35b5febe88497c4416f2c07bea6abb38273183bce0dd2d474bf6d83f85ce26d6aaf036286485f0c5b7d8533601ad3b01f2c092442ce915e45c03fb7f55a680
MISC metadata.xml 623 BLAKE2B defbd6a6a992f04fe71d13ca0e6da0b6c7015992f148f1fdd0d844430c44268e5c765c46afabee4af650992556e81acfb1024c94e6e274aefbbf46b65b9762af SHA512 4b022d64a261251c01eb9c8d8ee8aafeac6309272274fa8493f5bb8480cc93be482b145a70fd1a36bc30feaf8649ae17addfe8d7bcf57f78173e0f198805985c
diff --git a/dev-util/kdevelop/kdevelop-22.08.0.ebuild b/dev-util/kdevelop/kdevelop-22.08.0.ebuild
new file mode 100644
index 000000000000..503efc8aefa5
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-22.08.0.ebuild
@@ -0,0 +1,130 @@
+# 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_ORG_CATEGORY="kdevelop"
+KFMIN=5.96.0
+QTMIN=5.15.5
+VIRTUALDBUS_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit ecm gear.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}:*
+ >=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
+}