pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Add faac option (disabled by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ac469a0f56d
branches:  trunk
changeset: 546098:4ac469a0f56d
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 21 11:37:53 2008 +0000

description:
Add faac option (disabled by default

diffstat:

 multimedia/mplayer-share/options.mk |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 779d4bdeccf1 -r 4ac469a0f56d multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk       Thu Aug 21 11:37:01 2008 +0000
+++ b/multimedia/mplayer-share/options.mk       Thu Aug 21 11:37:53 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.31 2008/03/25 15:35:36 wiz Exp $
+# $NetBSD: options.mk,v 1.32 2008/08/21 11:37:53 abs Exp $
 
 .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
 
@@ -31,7 +31,7 @@
 PKG_SUPPORTED_OPTIONS+=        arts
 .  endif
 .elif !empty(PKGNAME:M*mencoder*)
-PKG_SUPPORTED_OPTIONS+=        lame
+PKG_SUPPORTED_OPTIONS+=        faac lame
 .endif
 
 # OS-specific options.
@@ -142,6 +142,11 @@
 CONFIGURE_ARGS+=       --disable-esd
 .endif
 
+.if !empty(PKG_OPTIONS:Mfaac)
+.  include "../../audio/faac/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-faac
+.endif
 
 .if empty(PKG_OPTIONS:Mfaad) && empty(PKG_OPTIONS:Mmplayer-internal-faad)
 CONFIGURE_ARGS+=       --disable-faad-external



Home | Main Index | Thread Index | Old Index