diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /dev-util/clazy | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.2019
Diffstat (limited to 'dev-util/clazy')
-rw-r--r-- | dev-util/clazy/Manifest | 3 | ||||
-rw-r--r-- | dev-util/clazy/clazy-1.5-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-util/clazy/clazy-1.5.ebuild | 2 |
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest index 0a8f040c453d..d5693bdbdb4c 100644 --- a/dev-util/clazy/Manifest +++ b/dev-util/clazy/Manifest @@ -1,3 +1,4 @@ DIST clazy-1.5.tar.xz 352344 BLAKE2B 0f7200900f1a8bcad3020cf98522e3ac9ba01dddc9b2200f08a8a86102e4389af7a4a86e1832ee4c0e750267948a908627032385a01af94d8d0ae5f438114b9e SHA512 863cb9609d02a2260b61bc6cb3e6d8a84975d3b4e4f1c94a82e8c600d95a28483c323f47ac39c39ecef24d0f51871b358055868c63a49b136cf8ee3060df5a52 -EBUILD clazy-1.5.ebuild 866 BLAKE2B 2cb1ae38c156c3ada0852a031c3d1c68d82e085409691f5a326b9f90c34ee448591392c03496ea063d18814ed181839d45e2c8fee3e1503e58c1c095c5aee1b0 SHA512 6cdb84f1bcddd90b03d55865eca2648531d6d2e995ed4d0de8b3c5d7147b2ff96fe0096ac7a4cd5152f47f7a4db1102a138e536f7d3382cc6d0f376f47b03165 +EBUILD clazy-1.5-r1.ebuild 1260 BLAKE2B 98951b2dda81c84f0fd3dce72b7cfb7d70d7cf1cd557a1c1c837724d953e8a81967ff59aeb7ad8ebbe858baf7656622969c82442014dcfba34b7dbd78a0f0f82 SHA512 91c1de9b9fded38a5158251efcd5407b6a2f9eaf4bd51c582a899308e765c67c17ac178cb7e1c545f7cf2ae7b1888a0278ccb852a3445a65df471aa171d8c0da +EBUILD clazy-1.5.ebuild 865 BLAKE2B 43f896c2e097695685340bb5b9d707bf882f66bba63fd17cf0f1948b222acbcd4d1e773e54d6f0dfea5ea7102c5048a9d5fba1d683eca0c4ccba1b2b75ad4d9f SHA512 9d2b56b4453527e1562e104439271720db5f376e8f474b7082350688b6cbd2565bac4c672b2f239d8b8a770bec9cb9f362d107eec54ff9a21875006769dd8fda MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/dev-util/clazy/clazy-1.5-r1.ebuild b/dev-util/clazy/clazy-1.5-r1.ebuild new file mode 100644 index 000000000000..f5cd867cd909 --- /dev/null +++ b/dev-util/clazy/clazy-1.5-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics" +HOMEPAGE="https://cgit.kde.org/clazy.git/tree/README.md" +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + sys-devel/clang:= + >=sys-devel/llvm-3.8:= +" +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +src_prepare() { + cmake-utils_src_prepare + + sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \ + -i CMakeLists.txt || die + + sed -e 's|${MAN_INSTALL_DIR}|share/man/man1|' \ + -i docs/man/CMakeLists.txt || die +} + +src_configure() { + # this package requires both llvm and clang of the same version. + # clang pulls in the equivalent llvm version, but not vice versa. + # so, we must find llvm based on the installed clang version. + # bug #681568 + local clang_version=$(best_version sys-devel/clang) + export LLVM_ROOT="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + mv "${D}"/usr/share/doc/clazy/* "${D}"/usr/share/doc/${PF} || die + rmdir "${D}"/usr/share/doc/clazy || die +} diff --git a/dev-util/clazy/clazy-1.5.ebuild b/dev-util/clazy/clazy-1.5.ebuild index d5bead0c2f23..7bf24b0ba071 100644 --- a/dev-util/clazy/clazy-1.5.ebuild +++ b/dev-util/clazy/clazy-1.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" RDEPEND=" |