pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/vlc optionally allow build of arts plugin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f7194c8879f
branches:  trunk
changeset: 539559:4f7194c8879f
user:      kefren <kefren%pkgsrc.org@localhost>
date:      Sat Mar 08 05:19:57 2008 +0000

description:
optionally allow build of arts plugin

diffstat:

 multimedia/vlc/PLIST      |   3 ++-
 multimedia/vlc/options.mk |  13 +++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r b886c1bbc6ac -r 4f7194c8879f multimedia/vlc/PLIST
--- a/multimedia/vlc/PLIST      Sat Mar 08 03:37:55 2008 +0000
+++ b/multimedia/vlc/PLIST      Sat Mar 08 05:19:57 2008 +0000
@@ -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/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 -r b886c1bbc6ac -r 4f7194c8879f multimedia/vlc/options.mk
--- a/multimedia/vlc/options.mk Sat Mar 08 03:37:55 2008 +0000
+++ b/multimedia/vlc/options.mk Sat Mar 08 05:19:57 2008 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index