summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2013-02-05 09:21:49 +0000
committerTiziano Müller <dev-zero@gentoo.org>2013-02-05 09:21:49 +0000
commite456fe9dce91bfc64bf0754150df8128445c98c2 (patch)
tree61f114d406a0ec7b856ee25dcb440b339cbf16c2 /dev-libs/fampp2
parentUse QA_PREBUILT. Bug #454986 (diff)
downloadgentoo-2-e456fe9dce91bfc64bf0754150df8128445c98c2.tar.gz
gentoo-2-e456fe9dce91bfc64bf0754150df8128445c98c2.tar.bz2
gentoo-2-e456fe9dce91bfc64bf0754150df8128445c98c2.zip
Version bump (bug #454696), use EAPI-5 and remove .la files.
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0xAE9C1E30!)
Diffstat (limited to 'dev-libs/fampp2')
-rw-r--r--dev-libs/fampp2/ChangeLog10
-rw-r--r--dev-libs/fampp2/fampp2-7.0.1.ebuild48
-rw-r--r--dev-libs/fampp2/metadata.xml8
3 files changed, 63 insertions, 3 deletions
diff --git a/dev-libs/fampp2/ChangeLog b/dev-libs/fampp2/ChangeLog
index 163525529365..73b9d2f269ee 100644
--- a/dev-libs/fampp2/ChangeLog
+++ b/dev-libs/fampp2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/fampp2
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fampp2/ChangeLog,v 1.9 2010/08/21 16:49:09 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fampp2/ChangeLog,v 1.10 2013/02/05 09:21:49 dev-zero Exp $
+
+*fampp2-7.0.1 (05 Feb 2013)
+
+ 05 Feb 2013; Tiziano Müller <dev-zero@gentoo.org> +fampp2-7.0.1.ebuild,
+ metadata.xml:
+ Version bump (bug #454696), use EAPI-5 and remove .la files.
*fampp2-6.0.1 (21 Aug 2010)
diff --git a/dev-libs/fampp2/fampp2-7.0.1.ebuild b/dev-libs/fampp2/fampp2-7.0.1.ebuild
new file mode 100644
index 000000000000..d8197f4aa4bf
--- /dev/null
+++ b/dev-libs/fampp2/fampp2-7.0.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fampp2/fampp2-7.0.1.ebuild,v 1.1 2013/02/05 09:21:49 dev-zero Exp $
+
+EAPI="5"
+
+DESCRIPTION="C++ wrapper for fam"
+HOMEPAGE="https://sourceforge.net/projects/fampp/"
+SRC_URI="mirror://sourceforge/fampp/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples stlport"
+
+RDEPEND="virtual/fam
+ stlport? ( dev-libs/STLport )
+ >=dev-libs/ferrisloki-2.0.3[stlport?]
+ dev-libs/libsigc++:2
+ dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${DEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -ri \
+ -e '/^C(XX)?FLAGS/s:-O0 -g::' \
+ -e '/^LDFLAGS/s:-Wl,-O1 -Wl,--hash-style=both::' \
+ configure || die "sed failed"
+}
+
+src_configure() {
+ # glib and gtk+ are only required for some examples
+ econf \
+ --disable-glibtest \
+ --disable-gtktest \
+ --with-stlport=/usr/include/stlport \
+ $(use_enable stlport)
+
+ if ! use examples ; then
+ sed -i -e '/^SUBDIRS/ s/examples//' Makefile.in || die "sed failed"
+ fi
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/dev-libs/fampp2/metadata.xml b/dev-libs/fampp2/metadata.xml
index 8434377a6047..4cacf085b0a3 100644
--- a/dev-libs/fampp2/metadata.xml
+++ b/dev-libs/fampp2/metadata.xml
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>cpp</herd>
+ <herd>cpp</herd>
+ <use>
+ <flag name='stlport'>Include support for <pkg>dev-libs/STLport</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type='sourceforge'>fampp</remote-id>
+ </upstream>
</pkgmetadata>