summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorkefren <kefren>2008-03-08 05:19:57 +0000
committerkefren <kefren>2008-03-08 05:19:57 +0000
commitee59833d56e5c5311bbbd3b880ae6df7392e3679 (patch)
tree2299db2450ecacbb66660ea31f8cd57b412b7c7c /multimedia
parent17836dee4377d3e9468829b4aff6e093d5b758bb (diff)
downloadpkgsrc-ee59833d56e5c5311bbbd3b880ae6df7392e3679.tar.gz
optionally allow build of arts plugin
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/PLIST3
-rw-r--r--multimedia/vlc/options.mk13
2 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/vlc/PLIST b/multimedia/vlc/PLIST
index bad736bf761..75065aef97a 100644
--- a/multimedia/vlc/PLIST
+++ b/multimedia/vlc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2008/02/25 16:38:00 sborrill Exp $
+@comment $NetBSD: PLIST,v 1.11 2008/03/08 05:19:57 kefren Exp $
${COND_SKINS}bin/svlc
bin/vlc
bin/vlc-config
@@ -68,6 +68,7 @@ lib/vlc/audio_mixer/libspdif_mixer_plugin.so
lib/vlc/audio_mixer/libtrivial_mixer_plugin.so
lib/vlc/audio_output/libaout_file_plugin.so
lib/vlc/audio_output/libaout_sdl_plugin.so
+${COND_ARTS}lib/vlc/audio_output/libarts_plugin.so
lib/vlc/audio_output/liboss_plugin.so
lib/vlc/codec/liba52_plugin.so
lib/vlc/codec/libadpcm_plugin.so
diff --git a/multimedia/vlc/options.mk b/multimedia/vlc/options.mk
index d14b93d6532..6db553ab3ce 100644
--- a/multimedia/vlc/options.mk
+++ b/multimedia/vlc/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2008/02/25 16:38:00 sborrill Exp $
+# $NetBSD: options.mk,v 1.5 2008/03/08 05:19:57 kefren Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vlc
-PKG_SUPPORTED_OPTIONS= skins wxwidgets faad
+PKG_SUPPORTED_OPTIONS= skins wxwidgets faad arts
PKG_SUGGESTED_OPTIONS= wxwidgets faad
.include "../../mk/bsd.options.mk"
@@ -31,3 +31,12 @@ PLIST_SUBST+= COND_FAAD=
CONFIGURE_ARGS+= --disable-faad
PLIST_SUBST+= COND_FAAD="@comment "
.endif
+
+.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