summaryrefslogtreecommitdiff
path: root/dev-util/clazy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/clazy')
-rw-r--r--dev-util/clazy/Manifest3
-rw-r--r--dev-util/clazy/clazy-1.2.ebuild34
-rw-r--r--dev-util/clazy/metadata.xml8
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest
new file mode 100644
index 000000000000..31bc0203e46e
--- /dev/null
+++ b/dev-util/clazy/Manifest
@@ -0,0 +1,3 @@
+DIST clazy_v1.2-src.zip 462520 SHA256 6fe7871d1ebeb7562f70e51cf424303b7f21dec3fa490ca7420a9a8485c0f898 SHA512 53f6b0fb8d8f289e19cac591f7a612d1cefcc518cc192c9f7674cf836338d8822c5c266a260ecb34456011cb98603e69c5cffd73a08d0a6aa5d0b10ca96d768d WHIRLPOOL d4ff13f91aad694e281996e50e7eb310f2b98c5d0ec838df2e17022a12c702693226020458845327bf2dc1e9cca0710942698d4c8806322265ab98d8e63538f5
+EBUILD clazy-1.2.ebuild 704 SHA256 ac3de72d1d05986cefc0578267909813b1396cda8aa941cefa36923f47201238 SHA512 400622a483509372b82dc05ecc509942b3cd49face12ab479722317c4e8d96008004df44e05acbb6b166181c0e53764b9b625d6189b01448b1da887cf726c922 WHIRLPOOL 9a46741b89e2a5c0b4ef2d240846d6895425f4988f3fe1c97aca4eb1e13c1f008c7c24722ceae8d0053d08a31641b1f198646c9ea64c0eb652725c684fd64547
+MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
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>