Make faad and flac options (enabled by default)
This commit is contained in:
parent
05d7f35273
commit
042543e7c6
1 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue