summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-05-17 08:29:32 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-05-17 08:29:32 +0100
commit76bb2a8a95ecfdb03602bb2b491478df98f86a54 (patch)
treeb5b80038a001aedb1ba21c2c918c2384b41d85c2 /dev-util
parentnet-fs/davfs2: bump to 1.5.4, eapi bump, add nls flag, update license (diff)
downloadgentoo-76bb2a8a95ecfdb03602bb2b491478df98f86a54.tar.gz
gentoo-76bb2a8a95ecfdb03602bb2b491478df98f86a54.tar.bz2
gentoo-76bb2a8a95ecfdb03602bb2b491478df98f86a54.zip
dev-util/include-what-you-use: bump up to 3.8 (upstream 0.6), bug #583172
Reported-by: mbartoszkiewicz at gmail.com Bug: https://bugs.gentoo.org/583172 Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/include-what-you-use/Manifest1
-rw-r--r--dev-util/include-what-you-use/include-what-you-use-3.8.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest
index 21c7c79fa301..3215c1500668 100644
--- a/dev-util/include-what-you-use/Manifest
+++ b/dev-util/include-what-you-use/Manifest
@@ -1,3 +1,4 @@
DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea31c62d096e131e359ac69a5d6a2a237393ad4f1 SHA512 5e5c310dbb673eab7c5e2234fa6a35eebdb208b6b779fcd38503e15617a7a6bea6d6dce081c4620f7ec5895628ed037a091e8917d28538c2fe936d848459ea53 WHIRLPOOL 452ae42b39a4fffbb462bc9e33244bf2dca1e0b8676b015fb08f350ec9249f15aadc706e3dcd62e12b511c2daf96fdbcd2aa97145f64a7d183be2428111af5a1
DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58
DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336
+DIST include-what-you-use-3.8.src.tar.gz 434980 SHA256 ab2faddc5c80faaa52462abd2e90fad6c9cab6277ae588c6a019f8b5dc257f58 SHA512 9dcc37666819084a0e084513c62599b8ffb6f9eb8a9de759d4b1e2813ae759f2aed2e2233fdc6428dc676668102b738fe7bd990561293626d9aa427849ccec35 WHIRLPOOL 4e7176977a9db0d824ccaa7dfc82f592bfa1b3225d7f270d6f20271bc9a9953cd9fade3322bbf7e44fc1e846c0a48fe901025de866828c101e6938ab9ac27bde
diff --git a/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild
new file mode 100644
index 000000000000..4fbc1d111b10
--- /dev/null
+++ b/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils flag-o-matic
+
+WEIRD_UPSTREAM_VERSION=0.6
+
+DESCRIPTION="find unused include directives in C/C++ programs"
+HOMEPAGE="http://include-what-you-use.org/"
+SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="=sys-devel/llvm-3.8*
+ =sys-devel/clang-3.8*
+"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_configure() {
+ append-libs -L$(llvm-config --libdir)
+
+ local mycmakeargs=(
+ -DLLVM_PATH=$(llvm-config --libdir)
+ )
+ cmake-utils_src_configure
+}