summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-16 00:42:35 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-16 00:42:35 +0000
commit8993d9b23c907097088432b81fc8206a218044d2 (patch)
treec7c6613d75f121d9a989abcadd7043f1988548d3 /media-libs/faad2
parentRemove wrong removal of .la files, and just always drop them (diff)
downloadgentoo-2-8993d9b23c907097088432b81fc8206a218044d2.tar.gz
gentoo-2-8993d9b23c907097088432b81fc8206a218044d2.tar.bz2
gentoo-2-8993d9b23c907097088432b81fc8206a218044d2.zip
USE="static-libs" and punt .la files.
(Portage version: 2.2_rc83/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/faad2')
-rw-r--r--media-libs/faad2/ChangeLog5
-rw-r--r--media-libs/faad2/faad2-2.7-r2.ebuild9
2 files changed, 10 insertions, 4 deletions
diff --git a/media-libs/faad2/ChangeLog b/media-libs/faad2/ChangeLog
index 1e9ad924b688..9f1d4061bbb1 100644
--- a/media-libs/faad2/ChangeLog
+++ b/media-libs/faad2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/faad2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.131 2010/04/29 15:13:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.132 2010/09/16 00:42:35 ssuominen Exp $
+
+ 16 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> faad2-2.7-r2.ebuild:
+ USE="static-libs" and punt .la files.
*faad2-2.7-r2 (29 Apr 2010)
diff --git a/media-libs/faad2/faad2-2.7-r2.ebuild b/media-libs/faad2/faad2-2.7-r2.ebuild
index 6d26c2e08414..9b0c8632e2d6 100644
--- a/media-libs/faad2/faad2-2.7-r2.ebuild
+++ b/media-libs/faad2/faad2-2.7-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/faad2-2.7-r2.ebuild,v 1.1 2010/04/29 15:13:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/faad2-2.7-r2.ebuild,v 1.2 2010/09/16 00:42:35 ssuominen Exp $
-EAPI=2
+EAPI=3
inherit autotools eutils
DESCRIPTION="AAC audio decoding library"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/faac/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="digitalradio"
+IUSE="digitalradio static-libs"
src_prepare() {
epatch "${FILESDIR}"/${P}-libmp4ff-shared-lib.patch \
@@ -26,6 +26,8 @@ src_prepare() {
src_configure() {
econf \
+ $(use_enable static-libs static) \
+ --disable-dependency-tracking \
$(use_with digitalradio drm) \
--without-xmms
}
@@ -33,4 +35,5 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README README.linux TODO
+ find "${ED}" -name '*.la' -exec rm -f '{}' +
}