summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2009-03-13 20:11:23 +0000
committerkefren <kefren@pkgsrc.org>2009-03-13 20:11:23 +0000
commit4a5745d42b16de7a9aaf6d199af801e76dc058c9 (patch)
tree513a3e69ee4dd1170b0c738d08b4f0fc518e809a /multimedia
parent628dd5bd14b29da44038e42858094fce05548282 (diff)
downloadpkgsrc-4a5745d42b16de7a9aaf6d199af801e76dc058c9.tar.gz
add esound option
don't require faad unconditionally bump PKGREVISION
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc08/Makefile5
-rw-r--r--multimedia/vlc08/PLIST3
-rw-r--r--multimedia/vlc08/options.mk12
3 files changed, 14 insertions, 6 deletions
diff --git a/multimedia/vlc08/Makefile b/multimedia/vlc08/Makefile
index 01f27e9975d..d9d0d8f37d5 100644
--- a/multimedia/vlc08/Makefile
+++ b/multimedia/vlc08/Makefile
@@ -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+= --disable-fb
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 --git a/multimedia/vlc08/PLIST b/multimedia/vlc08/PLIST
index 5e1b5cc0e54..6548b248e00 100644
--- a/multimedia/vlc08/PLIST
+++ b/multimedia/vlc08/PLIST
@@ -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_mixer/libtrivial_mixer_plugin.so
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 --git a/multimedia/vlc08/options.mk b/multimedia/vlc08/options.mk
index eb809744068..5a8c35fcd57 100644
--- a/multimedia/vlc08/options.mk
+++ b/multimedia/vlc08/options.mk
@@ -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 @@ PLIST.arts= yes
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)