2008-03-08 06:19:57 +01:00
|
|
|
# $NetBSD: options.mk,v 1.5 2008/03/08 05:19:57 kefren Exp $
|
2007-10-31 16:35:30 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.vlc
|
2008-03-08 06:19:57 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= skins wxwidgets faad arts
|
2008-02-25 17:38:00 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= wxwidgets faad
|
2007-10-31 16:35:30 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mskins)
|
2007-11-03 18:40:29 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-skins2
|
2007-10-31 16:35:30 +01:00
|
|
|
PLIST_SUBST+= COND_SKINS=
|
|
|
|
.else
|
2007-11-03 18:40:29 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-skins2
|
2007-10-31 16:35:30 +01:00
|
|
|
PLIST_SUBST+= COND_SKINS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mwxwidgets)
|
|
|
|
.include "../../x11/wxGTK/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-wxwidgets
|
|
|
|
PLIST_SUBST+= COND_WXWIDGETS=
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-wxwidgets
|
|
|
|
PLIST_SUBST+= COND_WXWIDGETS="@comment "
|
|
|
|
.endif
|
2008-02-22 16:37:28 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mfaad)
|
|
|
|
CONFIGURE_ARGS+= --enable-faad
|
2008-02-25 17:38:00 +01:00
|
|
|
PLIST_SUBST+= COND_FAAD=
|
2008-02-22 16:37:28 +01:00
|
|
|
.include "../../audio/faad2/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-faad
|
2008-02-25 17:38:00 +01:00
|
|
|
PLIST_SUBST+= COND_FAAD="@comment "
|
2008-02-22 16:37:28 +01:00
|
|
|
.endif
|
2008-03-08 06:19:57 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Marts)
|
|
|
|
CONFIGURE_ARGS+= --enable-arts
|
|
|
|
PLIST_SUBST+= COND_ARTS=
|
|
|
|
.include "../../audio/arts/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-arts
|
|
|
|
PLIST_SUBST+= COND_ARTS="@comment "
|
|
|
|
.endif
|