summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2018-11-19 02:47:19 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2018-11-19 03:15:22 +0100
commitea0a4075a2e0475b9c1806878aacc94c8098f239 (patch)
treee870dea02ab5f4b7fb066b16f71720965e8091f1 /dev-util
parentdev-python/owslib: remove spurious test deps (diff)
downloadgentoo-ea0a4075a2e0475b9c1806878aacc94c8098f239.tar.gz
gentoo-ea0a4075a2e0475b9c1806878aacc94c8098f239.tar.bz2
gentoo-ea0a4075a2e0475b9c1806878aacc94c8098f239.zip
dev-util/kdevelop-clang-tidy: New ebuild from kde overlay
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdevelop-clang-tidy/Manifest1
-rw-r--r--dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild46
-rw-r--r--dev-util/kdevelop-clang-tidy/metadata.xml8
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/kdevelop-clang-tidy/Manifest b/dev-util/kdevelop-clang-tidy/Manifest
new file mode 100644
index 000000000000..921e9a285e18
--- /dev/null
+++ b/dev-util/kdevelop-clang-tidy/Manifest
@@ -0,0 +1 @@
+DIST kdev-clang-tidy-0.3.3.tar.xz 55804 BLAKE2B 30ec12d5a2bc7d8b5d111374c8954a65bebe89a4a192d6ecfde7065b54fcfb41e46137a328cd172a06ef3e00cbee42581b1ce7561b2b2a43430b33aebd70fa0d SHA512 448cc8e30cb6e237c43eb52f4694327900558a34a707d15195c2ad460f48e405315b5a667cfcf7a402dc6d9c2861594912159f63ac4cf61546a3ddf8777be489
diff --git a/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild b/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild
new file mode 100644
index 000000000000..4e1d831e0c22
--- /dev/null
+++ b/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDEBASE="kdevelop"
+KDE_TEST="true"
+KMNAME="kdev-clang-tidy"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN/kdevelop/kdev}/${PV}/src/${P/kdevelop/kdev}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="KDevelop plugin for clang-tidy static analysis support"
+LICENSE="GPL-2+"
+IUSE=""
+
+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
+"
+RDEPEND="${COMMON_DEPEND}
+ sys-devel/clang:*
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+ dev-util/kdevelop:5[test?]
+"
+
+src_prepare() {
+ kde5_src_prepare
+ # drop when upstream depends on >=kdevelop-5.2.2
+ sed -e "/KF_ADDITIONAL_REQ_COMPONENTS/d" -i CMakeLists.txt
+}
diff --git a/dev-util/kdevelop-clang-tidy/metadata.xml b/dev-util/kdevelop-clang-tidy/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/dev-util/kdevelop-clang-tidy/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>