dev-util/kdevelop: 5.4.3 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 21 Oct 2019 20:03:04 +0000 (22:03 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 21 Oct 2019 20:57:23 +0000 (22:57 +0200)
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-util/kdevelop/Manifest
dev-util/kdevelop/kdevelop-5.4.3.ebuild [new file with mode: 0644]

index ca1cc86f9499b3c5fbc9da81195ab7e7d3768a71..9df3f52d71affe61134d2a9873343c718a520bda 100644 (file)
@@ -1,2 +1,3 @@
 DIST kdevelop-5.3.3.tar.xz 6977420 BLAKE2B 8cccce2b7473551dc4ee9b9b06e8777e7f98869870ed7ee797b0e3a7c27f68d75b7af0f030dc9b0302a44ff246f69ec9125994cd72e6020e2778ac55f6d593fb SHA512 a089763045f02ef3167fab1f663503cc7a6e29cd8a42d3caa8b3a71fc1b2150162504bf4404ea070f73b3786a7389b6ee5af9ff922515445b57a0041b07e7d5d
 DIST kdevelop-5.4.2.tar.xz 7006096 BLAKE2B 105f7377e960f6012e9e976a14475b67e15038cb376c6ec499ef33f17c59ff1e068866deafb24aa1392bf0a3c833cdffeac122262dd38dc45eeca8fea69f0df8 SHA512 de25d70f2e82f61ef95ce2c6289146c52c368e93a3d23b17a2b95d14e64b599b64af32c2de2501c236f2954d981709c168fecddb4dbcf5425014d6a6e938d53b
+DIST kdevelop-5.4.3.tar.xz 7010496 BLAKE2B 2f6aa0073321ad1e6c6eb905879c628717927957e60c26b353b691560438afdbd42c7803c227e8de8ada0fca6da38ef02664afa0fc3e9d372d53b2d879b64665 SHA512 f21f282ca772fea6a4bf8f000ddd71386c98c17956c151d71b824a5a9b30223530015e3a73979856580dc318caa9da7bae6b3cf914ffa8aa7ea56cacded1c524
diff --git a/dev-util/kdevelop/kdevelop-5.4.3.ebuild b/dev-util/kdevelop/kdevelop-5.4.3.ebuild
new file mode 100644 (file)
index 0000000..5ed1e8f
--- /dev/null
@@ -0,0 +1,136 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+VIRTUALDBUS_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+       KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more"
+HOMEPAGE="https://www.kdevelop.org/"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="5/54" # look at KDEVELOP_SOVERSION inside CMakeLists.txt
+IUSE="+gdbui hex +plasma +qmake reviewboard subversion webkit"
+
+COMMON_DEPEND="
+       $(add_frameworks_dep karchive)
+       $(add_frameworks_dep kbookmarks)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcodecs)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemmodels)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kjobwidgets)
+       $(add_frameworks_dep knewstuff)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep knotifyconfig)
+       $(add_frameworks_dep kparts)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktexteditor)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep sonnet)
+       $(add_frameworks_dep threadweaver)
+       $(add_kdeapps_dep libkomparediff2)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtdeclarative 'widgets')
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qthelp)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qttest)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       dev-libs/grantlee:5
+       >=dev-util/astyle-3.1:=
+       >=sys-devel/clang-3.8.0:=
+       gdbui? ( $(add_plasma_dep libksysguard) )
+       hex? ( app-editors/okteta:5 )
+       plasma? (
+               $(add_frameworks_dep krunner)
+               $(add_frameworks_dep plasma)
+       )
+       qmake? ( dev-util/kdevelop-pg-qt:5 )
+       reviewboard? ( $(add_frameworks_dep purpose) )
+       subversion? (
+               dev-libs/apr:1
+               dev-libs/apr-util:1
+               dev-vcs/subversion
+       )
+       webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 )
+       !webkit? ( $(add_qt_dep qtwebengine 'widgets') )
+"
+DEPEND="${COMMON_DEPEND}
+       dev-libs/boost
+       $(add_qt_dep qtconcurrent)
+"
+RDEPEND="${COMMON_DEPEND}
+       $(add_kdeapps_dep kapptemplate)
+       $(add_kdeapps_dep kio-extras)
+       $(add_qt_dep qdbus)
+       $(add_qt_dep qtquickcontrols)
+       $(add_qt_dep qtquickcontrols2)
+       dev-util/ninja
+       >=sys-devel/gdb-7.0[python]
+       reviewboard? ( $(add_kdeapps_dep ktp-accounts-kcm) )
+       !dev-util/kdevelop-clang-tidy
+       !dev-util/kdevplatform
+"
+
+RESTRICT+=" test"
+# see bug 366471
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package gdbui KF5SysGuard)
+               -DBUILD_executeplasmoid=$(usex plasma)
+               $(cmake-utils_use_find_package plasma KF5Plasma)
+               $(cmake-utils_use_find_package hex OktetaKastenControllers)
+               $(cmake-utils_use_find_package qmake KDevelop-PG-Qt)
+               $(cmake-utils_use_find_package reviewboard KF5Purpose)
+               $(cmake-utils_use_find_package subversion SubversionLibrary)
+               $(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets)
+       )
+
+       use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON )
+
+       kde5_src_configure
+}
+
+pkg_postinst() {
+       kde5_pkg_postinst
+
+       if ! has_version "kde-apps/konsole" ; then
+               elog "For konsole view, please install kde-apps/konsole"
+       fi
+
+       if ! has_version "dev-util/cppcheck" ; then
+               elog "For static C/C++ code analysis support, please install dev-util/cppcheck"
+       fi
+
+       if ! has_version "dev-util/heaptrack[qt5]" ; then
+               elog "For heap memory profiling support, please install dev-util/heaptrack"
+       fi
+
+       if ! has_version "dev-util/clazy" ; then
+               elog "For static C++ Qt code analysis support, please install dev-util/clazy"
+       fi
+}