summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2012-07-13 11:57:20 +0000
committerTiziano Müller <dev-zero@gentoo.org>2012-07-13 11:57:20 +0000
commitede23e7a237f0d7be08270567cbafeb38a8ac51d (patch)
treedde24cf0a9532c2eb93788df830c09190099fdab /dev-cpp
parentgegl: fix compilation with ffmpeg 0.11. (diff)
downloadgentoo-2-ede23e7a237f0d7be08270567cbafeb38a8ac51d.tar.gz
gentoo-2-ede23e7a237f0d7be08270567cbafeb38a8ac51d.tar.bz2
gentoo-2-ede23e7a237f0d7be08270567cbafeb38a8ac51d.zip
Version bump, correct doc installation, do not install .la files if static-libs is not requested, add unwind USE flag for explicit libunwind usage, add cpp-herd.
(Portage version: 2.1.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/glog/ChangeLog10
-rw-r--r--dev-cpp/glog/glog-0.3.2.ebuild40
-rw-r--r--dev-cpp/glog/metadata.xml4
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-cpp/glog/ChangeLog b/dev-cpp/glog/ChangeLog
index c255ee0caec5..f92bd6941ab5 100644
--- a/dev-cpp/glog/ChangeLog
+++ b/dev-cpp/glog/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-cpp/glog
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/ChangeLog,v 1.3 2012/02/20 04:15:02 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/ChangeLog,v 1.4 2012/07/13 11:57:20 dev-zero Exp $
+
+*glog-0.3.2 (13 Jul 2012)
+
+ 13 Jul 2012; Tiziano Müller <dev-zero@gentoo.org> +glog-0.3.2.ebuild,
+ metadata.xml:
+ Version bump, correct doc installation, do not install .la files if static-
+ libs is not requested, add unwind USE flag for explicit libunwind usage, add
+ cpp-herd.
20 Feb 2012; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Drop no-herd.
diff --git a/dev-cpp/glog/glog-0.3.2.ebuild b/dev-cpp/glog/glog-0.3.2.ebuild
new file mode 100644
index 000000000000..12879cb4ae17
--- /dev/null
+++ b/dev-cpp/glog/glog-0.3.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/glog-0.3.2.ebuild,v 1.1 2012/07/13 11:57:20 dev-zero Exp $
+
+EAPI="4"
+inherit eutils
+
+DESCRIPTION="Google's C++ logging library"
+HOMEPAGE="http://code.google.com/p/google-glog/"
+SRC_URI="http://google-glog.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gflags static-libs unwind test"
+
+RDEPEND="gflags? ( dev-cpp/gflags )
+ unwind? ( sys-libs/libunwind )"
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/gmock
+ dev-cpp/gtest
+ )"
+
+src_configure() {
+ export ac_cv_lib_gflags_main=$(usex gflags)
+ export ac_cv_lib_unwind_backtrace=$(usex unwind)
+ use test || export ac_cv_prog_GTEST_CONFIG=no
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ rm -rf "${D}/usr/share/doc"
+ dodoc AUTHORS ChangeLog NEWS README*
+ dohtml doc/*
+
+ use static-libs || rm "${D}"/usr/lib*/*.la
+}
diff --git a/dev-cpp/glog/metadata.xml b/dev-cpp/glog/metadata.xml
index f7c7f6a4d859..f53753845dcf 100644
--- a/dev-cpp/glog/metadata.xml
+++ b/dev-cpp/glog/metadata.xml
@@ -4,8 +4,10 @@
<maintainer>
<email>vapier@gentoo.org</email>
</maintainer>
+ <herd>cpp</herd>
<use>
- <flag name="gflags">Use gflags module for flag parsing</flag>
+ <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag>
+ <flag name="unwind">Use <pkg>sys-libs/libunwind</pkg> for stack unwinding instead of glibc/gcc (may be more reliable on x86_64)</flag>
</use>
<upstream>
<remote-id type="google-code">google-glog</remote-id>