diff options
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 2 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-22.12.1.ebuild | 130 |
2 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 83446fc19f17..f49b4950e5fc 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,5 +1,7 @@ DIST kdevelop-22.08.3.tar.xz 8451936 BLAKE2B 61e6aa657687a3e8459385c164c084157a231aef3457b030ea9245dd8cface0407bcd64c7bad14216b16ba14236b8bf30ddd58e08b2f681dcb22797d0dade18e SHA512 757c073ebf43245dbd8ded85465244a3f6237e9d097aa52620b01a003136214ff692c7752224a039718a00c76b31b74ee255195535254ed04aa51e29628cfb58 DIST kdevelop-22.12.0.tar.xz 8623184 BLAKE2B 5601977232e99fe8431d36dda24320ed08f9298e9524878b0c5473074b0386fc9e056d1b2aa723c452113ceca7e97c8673977936902a2e0c4689b5b3ff8572d7 SHA512 1390b18aa495f66ead6b2e777d41563401f47d8871a740323918a4593bbb96fbae55144286a60ce68026b78da1244293239c09fc5ed77499e6ac9fd592b11808 +DIST kdevelop-22.12.1.tar.xz 8627956 BLAKE2B bd87922b0e630ffc2226ac3e90e941d423acf3786bece666dc87da54706e49f66a5500087b666b1460f05af28414fb33a3372756eae54a8769a7fc3876319a11 SHA512 4dea0f0cc4f55f359eeff3a2efb7770ebe04696e4888bcef8acb4d0b25d817437093b8683940df6213d4c7ab4067c8b0494be995f2ebb52fa26e3ef8d2a2c438 EBUILD kdevelop-22.08.3.ebuild 4134 BLAKE2B 68033467cb14798c1c93e06e31ec4850b1311a24ac0961fc247e28c46ec33a2835393139099de78e5c1475c051cf112f567d37b03e93c34f0020c1239fc5d44a SHA512 7e58fd6cbae79799cf3e0852589513a4cc3924d82d4e912566b9b76cc41745eb9d3e6a2701b3cd44b8c9740ee283c3691f4353553dcbf5f29f1d6fe71d507126 EBUILD kdevelop-22.12.0.ebuild 4136 BLAKE2B a43bbd7f4accb8175d176837d90d8a8d48fa9028dda9b0ee42aa61c8abb8f00a52bc019ed9722f8a5d442465bf488df18a1ec9b909f7ee1a1569419392d70b4a SHA512 269cb22097bc258c2430937fa2f3f73a3f9a61c49b61b5b3d356bd033596bf1becd65f403ea8eaf12eea8a914b499b8ac084684835cd63d14fb26adc7168c26c +EBUILD kdevelop-22.12.1.ebuild 4138 BLAKE2B e61be1ef9577a1021d45900cd9f04fafe821b00e43b86332ed127c69aaf1468b65e48e877a726e4f140b24c1b635e22a7fe8b96d3ce7b9b8f74ef66805401a37 SHA512 033a9d0a7dde4a50da01352471f22a2e07ce838581687fa6f9b6c6f9d8fe1fda6fe54289b73fbaeff9fbefd37d30c9e6e7743b87e605660c917aa9e0a3d04d79 MISC metadata.xml 623 BLAKE2B defbd6a6a992f04fe71d13ca0e6da0b6c7015992f148f1fdd0d844430c44268e5c765c46afabee4af650992556e81acfb1024c94e6e274aefbbf46b65b9762af SHA512 4b022d64a261251c01eb9c8d8ee8aafeac6309272274fa8493f5bb8480cc93be482b145a70fd1a36bc30feaf8649ae17addfe8d7bcf57f78173e0f198805985c diff --git a/dev-util/kdevelop/kdevelop-22.12.1.ebuild b/dev-util/kdevelop/kdevelop-22.12.1.ebuild new file mode 100644 index 000000000000..1a3004dda10c --- /dev/null +++ b/dev-util/kdevelop/kdevelop-22.12.1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2023 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.101.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 +} |