diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-11-25 16:16:15 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-11-25 16:16:15 +0000 |
commit | bb5061ec08a1909b59aaec019430a7078d72ee7a (patch) | |
tree | 6e027f7188396ce60ac03188c1d616dac58062e5 /media-libs/gavl/gavl-1.1.0-r1.ebuild | |
parent | Fix previous commit regarding keywords (diff) | |
download | historical-bb5061ec08a1909b59aaec019430a7078d72ee7a.tar.gz historical-bb5061ec08a1909b59aaec019430a7078d72ee7a.tar.bz2 historical-bb5061ec08a1909b59aaec019430a7078d72ee7a.zip |
Respect LDFLAGS (bug #338174).
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'media-libs/gavl/gavl-1.1.0-r1.ebuild')
-rw-r--r-- | media-libs/gavl/gavl-1.1.0-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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 +} |