summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-07-29 13:32:03 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-07-29 13:32:26 +1000
commit69ab387e6bdfff19ddccf51a58ea8bf3d751098f (patch)
tree39a880d85e82a4052d0bed34eee0107b5d3477f7 /dev-util/clazy
parentx11-wm/bspwm: remove old (diff)
downloadgentoo-69ab387e6bdfff19ddccf51a58ea8bf3d751098f.tar.gz
gentoo-69ab387e6bdfff19ddccf51a58ea8bf3d751098f.tar.bz2
gentoo-69ab387e6bdfff19ddccf51a58ea8bf3d751098f.zip
dev-util/clazy: new package
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-util/clazy')
-rw-r--r--dev-util/clazy/Manifest1
-rw-r--r--dev-util/clazy/clazy-1.2.ebuild34
-rw-r--r--dev-util/clazy/metadata.xml8
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest
new file mode 100644
index 000000000000..9f0a0cbe969e
--- /dev/null
+++ b/dev-util/clazy/Manifest
@@ -0,0 +1 @@
+DIST clazy_v1.2-src.zip 462520 SHA256 6fe7871d1ebeb7562f70e51cf424303b7f21dec3fa490ca7420a9a8485c0f898 SHA512 53f6b0fb8d8f289e19cac591f7a612d1cefcc518cc192c9f7674cf836338d8822c5c266a260ecb34456011cb98603e69c5cffd73a08d0a6aa5d0b10ca96d768d WHIRLPOOL d4ff13f91aad694e281996e50e7eb310f2b98c5d0ec838df2e17022a12c702693226020458845327bf2dc1e9cca0710942698d4c8806322265ab98d8e63538f5
diff --git a/dev-util/clazy/clazy-1.2.ebuild b/dev-util/clazy/clazy-1.2.ebuild
new file mode 100644
index 000000000000..f477e69978b4
--- /dev/null
+++ b/dev-util/clazy/clazy-1.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics"
+HOMEPAGE="https://github.com/KDE/clazy/blob/master/README.md"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/${PN}_v${PV}-src.zip"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=sys-devel/llvm-3.8:0[clang]
+"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+"
+
+DOCS=( README.md )
+
+src_prepare() {
+ default
+
+ sed -e '/install(FILES README.md COPYING-LGPL2.txt DESTINATION/d' \
+ -i CMakeLists.txt || die
+
+ sed -e 's|${MAN_INSTALL_DIR}|share/man/man1|' \
+ -i docs/man/CMakeLists.txt || die
+}
diff --git a/dev-util/clazy/metadata.xml b/dev-util/clazy/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/dev-util/clazy/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>