dev-util/clazy: new package
authorMichael Palimaka <kensington@gentoo.org>
Sat, 29 Jul 2017 03:32:03 +0000 (13:32 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 29 Jul 2017 03:32:26 +0000 (13:32 +1000)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-util/clazy/Manifest [new file with mode: 0644]
dev-util/clazy/clazy-1.2.ebuild [new file with mode: 0644]
dev-util/clazy/metadata.xml [new file with mode: 0644]

diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest
new file mode 100644 (file)
index 0000000..9f0a0cb
--- /dev/null
@@ -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 (file)
index 0000000..f477e69
--- /dev/null
@@ -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 (file)
index 0000000..2fdbf33
--- /dev/null
@@ -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>