1 |
commit: 9015d8ce005424fcbd009caf99d60e768cf1df85 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 09:06:21 2018 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 09:08:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9015d8ce |
7 |
|
8 |
dev-cpp/glog: version bump to 0.3.5 #634368 |
9 |
|
10 |
dev-cpp/glog/Manifest | 1 + |
11 |
dev-cpp/glog/glog-0.3.5.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 48 insertions(+) |
13 |
|
14 |
diff --git a/dev-cpp/glog/Manifest b/dev-cpp/glog/Manifest |
15 |
index 189b9aa4cdc..605c93ac9ab 100644 |
16 |
--- a/dev-cpp/glog/Manifest |
17 |
+++ b/dev-cpp/glog/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST glog-0.3.3.tar.gz 509676 BLAKE2B 21d8893ff535c0e8c1de27214f535aaea99727128d80f421da096969c19504da6a296054db2931232b4fd372446f96189464e4000f44c5720152085aa9976978 SHA512 95418ff0857415a0fbc15caeb22a13f3b6736618adcc3c30e054626f1397bc58399c45f68784c70b1f5dc594ebc6ea66e386896beab5c20be72dd53b25f5a4ac |
20 |
DIST glog-0.3.4.tar.gz 522508 BLAKE2B 4a188d5998005b29afc52f2ea548f33e06a68da993bb74960e5aedb214ec52ef9e9fc39efb1a34f38f217b92df7db064ff01d58df36c3e4ad789becc97335ec2 SHA512 139525b546a9eccacc9bebf7cc3053ba52229e9488485ad45344c3d3134ca819d3b571250c0e3a6d84097009c8be89b0f4fa16ef5ec838ffcc237ae11c3a034c |
21 |
+DIST glog-0.3.5.tar.gz 532275 BLAKE2B a455f3ff8fc7cf2861a4351a0305db9455bb79977e57c49b6269b3fa2c147cd9627bfaf4c7aaa04fe4a49158d79abeb5b985813fe8c473d6005e915335c0d693 SHA512 a54a3b8b4b7660d7558ba5168c659bc3c8323c30908a4f6a4bbc6f9cd899350f3243aabc720daebfdeb799b276b51ba1eaa1a0f83149c4e1a038d552ada1ed72 |
22 |
|
23 |
diff --git a/dev-cpp/glog/glog-0.3.5.ebuild b/dev-cpp/glog/glog-0.3.5.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..1f4064c6639 |
26 |
--- /dev/null |
27 |
+++ b/dev-cpp/glog/glog-0.3.5.ebuild |
28 |
@@ -0,0 +1,47 @@ |
29 |
+# Copyright 1999-2018 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI="6" |
33 |
+ |
34 |
+inherit autotools multilib-minimal |
35 |
+ |
36 |
+DESCRIPTION="Google's C++ logging library" |
37 |
+HOMEPAGE="https://github.com/google/glog" |
38 |
+SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="BSD" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
43 |
+IUSE="gflags static-libs test unwind" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ gflags? ( >=dev-cpp/gflags-2.0-r1[${MULTILIB_USEDEP}] ) |
47 |
+ unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${PN}-0.3.2-avoid-inline-asm.patch |
53 |
+ "${FILESDIR}"/${PN}-0.3.4-fix-build-system.patch |
54 |
+ "${FILESDIR}"/${PN}-0.3.4-fix-gcc5-demangling.patch |
55 |
+) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
+multilib_src_configure() { |
63 |
+ ECONF_SOURCE="${S}" econf \ |
64 |
+ $(use_enable gflags) \ |
65 |
+ $(use_enable static-libs static) \ |
66 |
+ $(use_enable test gtest-config) \ |
67 |
+ $(use_enable unwind) |
68 |
+} |
69 |
+ |
70 |
+multilib_src_install_all() { |
71 |
+ einstalldocs |
72 |
+ |
73 |
+ # package provides .pc files |
74 |
+ find "${D}" -name '*.la' -delete || die |
75 |
+} |