pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/vlc Make faad and flac options (enabled by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e28d380bc4c8
branches:  trunk
changeset: 538982:e28d380bc4c8
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Fri Feb 22 15:37:28 2008 +0000

description:
Make faad and flac options (enabled by default)

diffstat:

 multimedia/vlc/options.mk |  20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 300e4e6885be -r e28d380bc4c8 multimedia/vlc/options.mk
--- a/multimedia/vlc/options.mk Fri Feb 22 13:48:21 2008 +0000
+++ b/multimedia/vlc/options.mk Fri Feb 22 15:37:28 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2007/11/03 17:40:29 sborrill Exp $
+# $NetBSD: options.mk,v 1.3 2008/02/22 15:37:28 sborrill Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.vlc
-PKG_SUPPORTED_OPTIONS=         skins wxwidgets
-PKG_SUGGESTED_OPTIONS=         wxwidgets
+PKG_SUPPORTED_OPTIONS=         skins wxwidgets faad flac
+PKG_SUGGESTED_OPTIONS=         wxwidgets faad flac
 
 .include "../../mk/bsd.options.mk"
 
@@ -22,3 +22,17 @@
 CONFIGURE_ARGS+=       --disable-wxwidgets
 PLIST_SUBST+=          COND_WXWIDGETS="@comment "
 .endif
+
+.if !empty(PKG_OPTIONS:Mfaad)
+CONFIGURE_ARGS+=       --enable-faad
+.include "../../audio/faad2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-faad
+.endif
+
+.if !empty(PKG_OPTIONS:Mflac)
+CONFIGURE_ARGS+=       --enable-flac
+.include "../../audio/flac/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-flac
+.endif



Home | Main Index | Thread Index | Old Index