diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-12 19:47:50 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-13 21:54:33 +0200 |
commit | 2487f60f676127bcf0d619a01e39ede90e08eeae (patch) | |
tree | cfaf88f9ad18ccd4e2ff25e8b6f274780d8c9e16 /dev-util | |
parent | kde-misc/zanshin: 22.04.1 version bump (diff) | |
download | gentoo-2487f60f676127bcf0d619a01e39ede90e08eeae.tar.gz gentoo-2487f60f676127bcf0d619a01e39ede90e08eeae.tar.bz2 gentoo-2487f60f676127bcf0d619a01e39ede90e08eeae.zip |
dev-util/kdevelop: 22.04.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-22.04.1.ebuild | 131 |
2 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index cad566096249..fd801e744d6d 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,2 +1,3 @@ DIST kdevelop-21.12.3.tar.xz 8391560 BLAKE2B de0ee16db9de9b725431a59450c4f907103f87214a5b1ea365b17ec9916391b0be565e9d8977a8661dc6a00475bc0c162335fece0a518136ed1b18878fa47747 SHA512 963bddf8b405d818303c43c392c7c3070e8acdd00f6f3edc8c4adc9c9b946388019cb99e8f647268ef2a25337a52a046ec6591634d8d214b4e70bc39b6e1a5ad DIST kdevelop-22.04.0.tar.xz 8423332 BLAKE2B 58f007c19c742de61ebc8a4ba2a8887b53c3c432f52103522313393e01d8ab39dbb24c1806d3d594451d07564774dbb0e1520168c410a4dbca0193dece036d24 SHA512 234e128a4ab496487b0810624cb0effa7babb585583a27e26dfb90e3788e7091e7832d1e28a4caa001976dffd8cc06eaf317369c9eff76af82f5eaa11b1edcb1 +DIST kdevelop-22.04.1.tar.xz 8421552 BLAKE2B 0f35c0cf7b4eb6a5e4bb7631ee8c02f84a5821b8dc2e3c8ed58b99ee1e266b399d58656b2945630d18eedec4ceb47fd4b83d401aabbf13302a0e710fbf0a4c80 SHA512 e32beeb0f35e02749dc1be25169948340f5ae58a43bc7b8bca906abb25310cc28f0582fa14a5a52b3e4827bda6d5ebff85299d08be44753ad0018c570b900a4b diff --git a/dev-util/kdevelop/kdevelop-22.04.1.ebuild b/dev-util/kdevelop/kdevelop-22.04.1.ebuild new file mode 100644 index 000000000000..bc328de79398 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-22.04.1.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.92.0 +QTMIN=5.15.3 +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}:* + >=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 +} |