summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-11-25 16:16:15 +0000
committerJeroen Roovers <jer@gentoo.org>2010-11-25 16:16:15 +0000
commit3b96aebcde67b44128cb53e01643365bb66ccbb0 (patch)
tree958b46d8732f60c7dbeb9b2386a5f10b6c45e782 /media-libs/gavl
parentFix previous commit regarding keywords (diff)
downloadgentoo-2-3b96aebcde67b44128cb53e01643365bb66ccbb0.tar.gz
gentoo-2-3b96aebcde67b44128cb53e01643365bb66ccbb0.tar.bz2
gentoo-2-3b96aebcde67b44128cb53e01643365bb66ccbb0.zip
Respect LDFLAGS (bug #338174).
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'media-libs/gavl')
-rw-r--r--media-libs/gavl/ChangeLog7
-rw-r--r--media-libs/gavl/gavl-1.1.0-r1.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/media-libs/gavl/ChangeLog b/media-libs/gavl/ChangeLog
index 472f1b330d95..4676b17cbba0 100644
--- a/media-libs/gavl/ChangeLog
+++ b/media-libs/gavl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/gavl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gavl/ChangeLog,v 1.10 2010/01/06 23:34:40 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gavl/ChangeLog,v 1.11 2010/11/25 16:16:15 jer Exp $
+
+*gavl-1.1.0-r1 (25 Nov 2010)
+
+ 25 Nov 2010; Jeroen Roovers <jer@gentoo.org> +gavl-1.1.0-r1.ebuild:
+ Respect LDFLAGS (bug #338174).
06 Jan 2010; Joseph Jezak <josejx@gentoo.org> gavl-1.1.0.ebuild:
Marked ~ppc/~ppc64.
diff --git a/media-libs/gavl/gavl-1.1.0-r1.ebuild b/media-libs/gavl/gavl-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..5401100015b5
--- /dev/null
+++ b/media-libs/gavl/gavl-1.1.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gavl/gavl-1.1.0-r1.ebuild,v 1.1 2010/11/25 16:16:15 jer Exp $
+
+EAPI=2
+inherit autotools
+
+DESCRIPTION="library for handling uncompressed audio and video data"
+HOMEPAGE="http://gmerlin.sourceforge.net"
+SRC_URI="mirror://sourceforge/gmerlin/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ sed -e 's:-mfpmath=387::g' \
+ -e 's:-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math::g' \
+ -e '/LDFLAGS=/d' \
+ -i configure.ac || die "sed failed"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ # --disable-libpng because it's only used for tests
+ econf \
+ --docdir=/usr/share/doc/${PF}/html \
+ --disable-dependency-tracking \
+ --disable-libpng \
+ $(use_with doc doxygen) \
+ --without-cpuflags
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS README TODO
+}