diff options
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/Manifest | 2 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-24.04.90.ebuild | 129 |
2 files changed, 131 insertions, 0 deletions
diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 0252f2ec1689..639d84865bdc 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,3 +1,5 @@ DIST kdevelop-24.02.2.tar.xz 8753012 BLAKE2B 21776d734ca5e9a38500f58a3aee685c2e254f9073bbb505fe8aa5c91fc996b3ab1dcdf8df46073c5054afe8520fa63b763840e2ec1c25483e146a6e2c300e6c SHA512 eceb82d76788f1577cff1dbc91f30556a985e7597daeb0cf1de5ac9a59046bf13f326dee77bed406b3c9c24d66cf4c5a6a86dbfe37431d6c9c1d4c0f7d64a3b1 +DIST kdevelop-24.04.90.tar.xz 8766456 BLAKE2B 01e6e80d9625a65416aaa2e2e6a42fa2c54def39fe5e242ebc768f7306d991cc5952427d6696f0eb6e5b5f1010b3987de5fcca5178fa0089385b01dec6a5640c SHA512 0371395d3b1c0636e44650ba1a6a56bae3215c9140e3307d62baf3c3addf1eea05b86a7ac8dc5bba2775ebc71250d394f8afe1313ec8b0deb6c78d377894c2de EBUILD kdevelop-24.02.2.ebuild 4137 BLAKE2B 4361823359b671f5256566e99af7189fc5397ddeb338d76d69361c6f126142a491e146f438832f9a4f7e4a1886c0133cf8bdf6a8fbb4703a31ce060d565c7bdf SHA512 bdf5624152863a2d37135214e66feb2d99a96d572896ba2c22ab842ade4c4488ba7bee14cb1e60c7b74d549dc6e7ae71b08c6a1e0749d58fa74fa1fa290d5c42 +EBUILD kdevelop-24.04.90.ebuild 3919 BLAKE2B 8315f817be5432d432f6c560178147034973b5f129960f53a94b33b13b2997ae9b00ef841671ea8466112611a9a70da84371c381180984c298c0e0f8c62a053f SHA512 e396b5227b58f8d1043a58f4b931853c94cd26029f8ec27bf5e9253163ad7ab1bb9374ca0bc6b9654b152165b93b993b706b7ef150cd8b0a5d6c58666462f81c MISC metadata.xml 623 BLAKE2B defbd6a6a992f04fe71d13ca0e6da0b6c7015992f148f1fdd0d844430c44268e5c765c46afabee4af650992556e81acfb1024c94e6e274aefbbf46b65b9762af SHA512 4b022d64a261251c01eb9c8d8ee8aafeac6309272274fa8493f5bb8480cc93be482b145a70fd1a36bc30feaf8649ae17addfe8d7bcf57f78173e0f198805985c diff --git a/dev-util/kdevelop/kdevelop-24.04.90.ebuild b/dev-util/kdevelop/kdevelop-24.04.90.ebuild new file mode 100644 index 000000000000..4f6a9154cdfb --- /dev/null +++ b/dev-util/kdevelop/kdevelop-24.04.90.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2024 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.115.0 +LLVM_MAX_SLOT=17 +QTMIN=5.15.12 +VIRTUALDBUS_TEST="true" +inherit ecm gear.kde.org llvm optfeature + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +HOMEPAGE="https://www.kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="5/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+gdbui hex +plasma +qmake subversion" + +# 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-$((${LLVM_MAX_SLOT} + 1)):= + gdbui? ( kde-plasma/libksysguard:5= ) + hex? ( app-editors/okteta:5 ) + plasma? ( + >=kde-frameworks/krunner-${KFMIN}:5 + >=kde-plasma/libplasma-${KFMIN}:5 + ) + qmake? ( dev-util/kdevelop-pg-qt: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-build/ninja + >=dev-debug/gdb-7.0[python] + >=dev-qt/qdbus-${QTMIN}:* + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + kde-apps/kapptemplate:* + kde-apps/kio-extras:5 +" + +llvm_check_deps() { + has_version -d "sys-devel/clang:${LLVM_SLOT}" +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON + -DCMAKE_DISABLE_FIND_PACKAGE_KF5Purpose=ON + -DLLVM_ROOT="$(get_llvm_prefix ${LLVM_SLOT})" + $(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 subversion SubversionLibrary) + ) + + use gdbui || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KF5SysGuard=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-build/meson + optfeature "formatting configurations via customscript plugin" dev-util/indent + optfeature "formatting configurations via customscript plugin" dev-util/uncrustify + fi + ecm_pkg_postinst +} |