pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/vlc08 add esound option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14e27efd63bc
branches:  trunk
changeset: 555936:14e27efd63bc
user:      kefren <kefren%pkgsrc.org@localhost>
date:      Fri Mar 13 20:11:23 2009 +0000

description:
add esound option
don't require faad unconditionally
bump PKGREVISION

diffstat:

 multimedia/vlc08/Makefile   |   5 ++---
 multimedia/vlc08/PLIST      |   3 ++-
 multimedia/vlc08/options.mk |  12 ++++++++++--
 3 files changed, 14 insertions(+), 6 deletions(-)

diffs (69 lines):

diff -r b896bd1783b0 -r 14e27efd63bc multimedia/vlc08/Makefile
--- a/multimedia/vlc08/Makefile Fri Mar 13 14:34:21 2009 +0000
+++ b/multimedia/vlc08/Makefile Fri Mar 13 20:11:23 2009 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2009/02/27 22:38:34 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2009/03/13 20:11:23 kefren Exp $
 #
 
 DISTNAME=              vlc-${VLC_VER}
 PKGNAME=               vlc08-${VLC_VER}
 VLC_VER=               0.8.6i
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            multimedia
 MASTER_SITES=          http://download.videolan.org/pub/videolan/vlc/${VLC_VER}/
 EXTRACT_SUFX=          .tar.bz2
@@ -96,7 +96,6 @@
 CONFIGURE_ARGS+=       x_libraries=${PREFIX}/lib
 .endif
 
-.include "../../audio/faad2/buildlink3.mk"
 .include "../../audio/flac/buildlink3.mk"
 .include "../../audio/lame/buildlink3.mk"
 .include "../../audio/liba52/buildlink3.mk"
diff -r b896bd1783b0 -r 14e27efd63bc multimedia/vlc08/PLIST
--- a/multimedia/vlc08/PLIST    Fri Mar 13 14:34:21 2009 +0000
+++ b/multimedia/vlc08/PLIST    Fri Mar 13 20:11:23 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2009/01/30 21:17:01 sborrill Exp $
+@comment $NetBSD: PLIST,v 1.12 2009/03/13 20:11:23 kefren Exp $
 ${PLIST.skins}bin/svlc
 bin/vlc
 bin/vlc-config
@@ -69,6 +69,7 @@
 lib/vlc/audio_output/libaout_file_plugin.so
 ${PLIST.sdl}lib/vlc/audio_output/libaout_sdl_plugin.so
 ${PLIST.arts}lib/vlc/audio_output/libarts_plugin.so
+${PLIST.esound}lib/vlc/audio_output/libesd_plugin.so
 lib/vlc/audio_output/liboss_plugin.so
 lib/vlc/codec/liba52_plugin.so
 lib/vlc/codec/libadpcm_plugin.so
diff -r b896bd1783b0 -r 14e27efd63bc multimedia/vlc08/options.mk
--- a/multimedia/vlc08/options.mk       Fri Mar 13 14:34:21 2009 +0000
+++ b/multimedia/vlc08/options.mk       Fri Mar 13 20:11:23 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2009/01/30 13:35:26 sborrill Exp $
+# $NetBSD: options.mk,v 1.4 2009/03/13 20:11:23 kefren Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.vlc
-PKG_SUPPORTED_OPTIONS=         skins wxwidgets faad arts sdl x11
+PKG_SUPPORTED_OPTIONS=         skins wxwidgets faad arts esound sdl x11
 PKG_SUGGESTED_OPTIONS=         wxwidgets faad x11 sdl
 
 .include "../../mk/bsd.options.mk"
@@ -39,6 +39,14 @@
 CONFIGURE_ARGS+=       --disable-arts
 .endif
 
+.if !empty(PKG_OPTIONS:Mesound)
+CONFIGURE_ARGS+=       --enable-esd
+PLIST.esound=          yes
+.include "../../audio/esound/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-esd
+.endif
+
 ## SDL backend support
 
 .if !empty(PKG_OPTIONS:Msdl)



Home | Main Index | Thread Index | Old Index