summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-17 17:59:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-17 18:25:30 +0100
commit026d1d4850b08f968ff527ad602f77c6b88ff3a6 (patch)
tree2bc3aa3882ce9c866109d956651f1b1f0ede9886 /dev-util
parentgnome-extra/gnome-documents: bump to 3.30.1 (diff)
downloadgentoo-026d1d4850b08f968ff527ad602f77c6b88ff3a6.tar.gz
gentoo-026d1d4850b08f968ff527ad602f77c6b88ff3a6.tar.bz2
gentoo-026d1d4850b08f968ff527ad602f77c6b88ff3a6.zip
dev-util/kdevelop-clang-tidy: EAPI-7 bump
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3-r1.ebuild b/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3-r1.ebuild
new file mode 100644
index 000000000000..c7bc44d08c47
--- /dev/null
+++ b/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="true"
+KMNAME="kdev-clang-tidy"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${KMNAME}/${PV}/src/${KMNAME}-${PV}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="KDevelop plugin for clang-tidy static analysis support"
+HOMEPAGE="https://www.kdevelop.org/"
+LICENSE="GPL-2+"
+IUSE=""
+
+BDEPEND="
+ dev-util/kdevelop:5[test?]
+"
+COMMON_DEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ >=dev-util/kdevelop-5.2.3:5
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+ sys-devel/clang:*
+"
+
+src_prepare() {
+ kde5_src_prepare
+ sed -e "/KF_ADDITIONAL_REQ_COMPONENTS/d" -i CMakeLists.txt || die
+}