diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-06 21:27:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-07 09:53:59 +0200 |
commit | d76dd56fe49f1a566f4f8bcdff7f7ca9f385a0b1 (patch) | |
tree | ce1f6b01b5cd27100edb61c358561210047a4865 /dev-util/kdevelop | |
parent | kde-plasma: Add KDE Plasma 5.18.5 (diff) | |
download | gentoo-d76dd56fe49f1a566f4f8bcdff7f7ca9f385a0b1.tar.gz gentoo-d76dd56fe49f1a566f4f8bcdff7f7ca9f385a0b1.tar.bz2 gentoo-d76dd56fe49f1a566f4f8bcdff7f7ca9f385a0b1.zip |
dev-util/kdevelop: 5.5.1 version bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.5.1.ebuild | 145 |
2 files changed, 146 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index b095a34bbc91..4bd0ec0f24b5 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,2 +1,3 @@ DIST kdevelop-5.4.6.tar.xz 7011868 BLAKE2B f8dc80e88592aaff6c2cc90667006a235cb4930aa6249558ee69feee8180b012b3ca6ad39bf553743a3b35bdd2c40754dd1f6081d3630566cad1d71ec75e42f2 SHA512 bcc7ee982f48982c63dbe8ac3dcfc9bdb4dda855d0d8b82740e12a616eaca71fe9e2f4a39626d70ce28d09c5f805a462ade06829f04db682fde72a2594ea4234 DIST kdevelop-5.5.0.tar.xz 7018184 BLAKE2B 165c54ffe021c420cb688180c44a856b620248180611356429e6a98523afef3d3ea5d7edaed10cee232e614bdb470246f3c9e7b46d3bfbb288efb9e04f6258fd SHA512 6dcce4c9b124fffbd278279e6b5b9f90dff8b2f90faacd8208256951dcf7ac1ab5ae21610347ab508d3e5df49df3096a6c049271f30b1ed84b0f8401e760380f +DIST kdevelop-5.5.1.tar.xz 7055180 BLAKE2B 1060ca3ecec61afdcbe421e1ae8f1e1ec21727a467154f51ec17fa36e70ad46eaf315743ad5e59011ec821e5459ef86dcee30a1da7673bae6d0531af2f7d5b1e SHA512 5255365280d0a27b998f5f7b850ee11995b03585409c152c27572a169f5b3d0f60b3d694f6e7009ebd7a2abc17e7f8e3ae1faad9d41f437be574ffa1953d530e diff --git a/dev-util/kdevelop/kdevelop-5.5.1.ebuild b/dev-util/kdevelop/kdevelop-5.5.1.ebuild new file mode 100644 index 000000000000..8a1b38d4f27b --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.5.1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KFMIN=5.60.0 +QTMIN=5.12.3 +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~arm64 ~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/55" # look at KDEVELOP_SOVERSION inside CMakeLists.txt +IUSE="+gdbui hex +plasma +qmake reviewboard subversion webkit" + +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/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-util/astyle-3.1:= + >=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 + kde-apps/libkomparediff2:5 + >=sys-devel/clang-6.0:= + gdbui? ( >=kde-plasma/libksysguard-5.16.5: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 + ) + webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) + !webkit? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets] ) +" +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 KF5SysGuard) + -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) + $(cmake_use_find_package !webkit Qt5WebEngineWidgets) + ) + + use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON ) + + ecm_src_configure +} + +pkg_postinst() { + ecm_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 + + if ! has_version ">=dev-util/meson-0.51" ; then + elog "For the Meson Project manager plugin, please install dev-util/meson" + fi +} |