From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E65E513835A for ; Tue, 2 Feb 2021 19:42:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35A4CE0936; Tue, 2 Feb 2021 19:42:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 134E6E0936 for ; Tue, 2 Feb 2021 19:42:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E4733415F6 for ; Tue, 2 Feb 2021 19:42:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00CBF48B for ; Tue, 2 Feb 2021 19:42:00 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1612294820.314e41561a262c854f842ea79fca0ed6afea3063.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kdevelop/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/kdevelop/Manifest dev-util/kdevelop/kdevelop-5.6.2.ebuild X-VCS-Directories: dev-util/kdevelop/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 314e41561a262c854f842ea79fca0ed6afea3063 X-VCS-Branch: master Date: Tue, 2 Feb 2021 19:42:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 550f69e1-069c-4073-9cf7-4db4a7115061 X-Archives-Hash: e00734408a6011f764e250415a57f953 commit: 314e41561a262c854f842ea79fca0ed6afea3063 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Feb 2 15:52:52 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 2 19:40:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314e4156 dev-util/kdevelop: 5.6.2 version bump Closes: https://bugs.gentoo.org/767286 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/kdevelop/Manifest | 1 + dev-util/kdevelop/kdevelop-5.6.2.ebuild | 134 ++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 5b543a0ef75..db03791bd15 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1 +1,2 @@ DIST kdevelop-5.6.1.tar.xz 7130284 BLAKE2B 989218ec07d437d641033b7895b533a4f92b8c557e73bac0e3671a34335aac02936eeb3b73b95d1a7bbab6ad8b32a21f15db1d5af0485999fa2f7eb24b9e8bb6 SHA512 a03e22d57b5d556489e3e140e4cad6939170087a36afa8c755318ff6b5101806b8df82bd402e32daa715f4a72352dada1c2ce3ff4455dcac0debe6456c0bc7cd +DIST kdevelop-5.6.2.tar.xz 7128828 BLAKE2B 605b16f1666201f49e119499007a2031c4a2b28e7eb5c3b7bbf8bcd8aa2dc069708740831dc9fe327a8c9baebeffeeda5dd6d16c24c21a2be66c7475bf194423 SHA512 d5ec09b3eda439436bee4dee88612deedf02caf949e74cb7d8405fbb40ae6f16ae1b5278da0574f41c43d186edbeec6b8c40918ef7f5fafa437e07a8c4ae92ce diff --git a/dev-util/kdevelop/kdevelop-5.6.2.ebuild b/dev-util/kdevelop/kdevelop-5.6.2.ebuild new file mode 100644 index 00000000000..9ca60dd1d33 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.6.2.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KDE_ORG_CATEGORY="kdevelop" +KFMIN=5.77.0 +QTMIN=5.15.2 +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/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="GPL-2 LGPL-2" +SLOT="5/56" # look at KDEVELOP_SOVERSION inside CMakeLists.txt +IUSE="+gdbui hex +plasma +qmake reviewboard 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-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}: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 ) +" + +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 + elog "Optional dependencies:" + 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[qt5] + 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 +}