diff options
author | sborrill <sborrill@pkgsrc.org> | 2008-02-22 15:37:28 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2008-02-22 15:37:28 +0000 |
commit | 042543e7c60b10cd486d504ec2753e94416214ff (patch) | |
tree | b95d511ecdb8e0b512fbedee08ca56b659f335dd | |
parent | 05d7f35273030f09152bb990756bb47b0d813c97 (diff) | |
download | pkgsrc-042543e7c60b10cd486d504ec2753e94416214ff.tar.gz |
Make faad and flac options (enabled by default)
-rw-r--r-- | multimedia/vlc/options.mk | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/multimedia/vlc/options.mk b/multimedia/vlc/options.mk index 4aec6a0df46..69c989b2ca0 100644 --- a/multimedia/vlc/options.mk +++ b/multimedia/vlc/options.mk @@ -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 @@ PLIST_SUBST+= COND_WXWIDGETS= 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 |