summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-08 21:59:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-09 00:15:48 +0100
commitf5683954ee1826bd81c7627d51b9111198fb6925 (patch)
tree8910b1e84433a57869bf0235dba613bce411dea3 /dev-util/kdevelop
parentdev-libs/openssl: fix USE=bindist (diff)
downloadgentoo-f5683954ee1826bd81c7627d51b9111198fb6925.tar.gz
gentoo-f5683954ee1826bd81c7627d51b9111198fb6925.tar.bz2
gentoo-f5683954ee1826bd81c7627d51b9111198fb6925.zip
dev-util/kdevelop: 5.6.1 version bump
Package-Manager: Portage-3.0.12, Repoman-3.0.2 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-5.6.1.ebuild134
2 files changed, 135 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest
index aa5ca0665efd..2c775f16899f 100644
--- a/dev-util/kdevelop/Manifest
+++ b/dev-util/kdevelop/Manifest
@@ -1 +1,2 @@
DIST kdevelop-5.6.0.tar.xz 7116544 BLAKE2B c548c695dab41c93aef31549bd479f1ca832a3fac9cde044523bf590d536473f36a87521ac678d37008ff451c091b843f65ccce154d9b1ca59efac2b48a81515 SHA512 c96a79d92972d606778d76f74f9dfddb9a0da9f41b462ada1a52842aa14306ad3cb183cda8103a9a3cf56d0dd5c1f18d5fad6b65cd8ae42f2fc407aaa6dc88f7
+DIST kdevelop-5.6.1.tar.xz 7130284 BLAKE2B 989218ec07d437d641033b7895b533a4f92b8c557e73bac0e3671a34335aac02936eeb3b73b95d1a7bbab6ad8b32a21f15db1d5af0485999fa2f7eb24b9e8bb6 SHA512 a03e22d57b5d556489e3e140e4cad6939170087a36afa8c755318ff6b5101806b8df82bd402e32daa715f4a72352dada1c2ce3ff4455dcac0debe6456c0bc7cd
diff --git a/dev-util/kdevelop/kdevelop-5.6.1.ebuild b/dev-util/kdevelop/kdevelop-5.6.1.ebuild
new file mode 100644
index 000000000000..06faa562e63d
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-5.6.1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+KDE_ORG_CATEGORY="kdevelop"
+KFMIN=5.74.0
+QTMIN=5.15.1
+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/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="${SRC_URI/src\//}"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="5/56" # look at KDEVELOP_SOVERSION inside CMakeLists.txt
+IUSE="+gdbui hex +plasma +qmake reviewboard subversion"
+
+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 )
+ !dev-util/kdevelop-clang-tidy
+"
+
+RESTRICT+=" test"
+# see bug 366471
+
+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
+ elog "Optional dependencies:"
+ 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[qt5]
+ optfeature "Meson Project manager plugin" dev-util/meson
+ fi
+ ecm_pkg_postinst
+}