summaryrefslogtreecommitdiff
path: root/multimedia/vlc/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc/options.mk')
-rw-r--r--multimedia/vlc/options.mk26
1 files changed, 14 insertions, 12 deletions
diff --git a/multimedia/vlc/options.mk b/multimedia/vlc/options.mk
index f2e7fe99932..1e9e404b91f 100644
--- a/multimedia/vlc/options.mk
+++ b/multimedia/vlc/options.mk
@@ -1,21 +1,13 @@
-# $NetBSD: options.mk,v 1.14 2009/07/07 16:17:47 tnn Exp $
+# $NetBSD: options.mk,v 1.15 2009/07/07 19:23:48 ahoka Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vlc
-PKG_SUPPORTED_OPTIONS= debug faad dbus hal skins sdl esound pulseaudio x11 gnome
-PKG_SUGGESTED_OPTIONS= x11 esound pulseaudio
+PKG_SUPPORTED_OPTIONS= debug faad dbus hal skins sdl pulseaudio x11 gnome
+PKG_SUGGESTED_OPTIONS= x11 pulseaudio
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
-## ESOUND audio backend
-
-.if !empty(PKG_OPTIONS:Mesound)
-CONFIGURE_ARGS+= --enable-esd
-.include "../../audio/esound/buildlink3.mk"
-PLIST.esound= yes
-.endif
-
## PulseAudio support
.if !empty(PKG_OPTIONS:Mpulseaudio)
@@ -37,7 +29,7 @@ CONFIGURE_ARGS+= --disable-sdl
CONFIGURE_ARGS+= --disable-sdl-image
.endif
-## gnome-vfs support
+## gnome integration
.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+= --enable-gnomevfs
@@ -56,7 +48,17 @@ CONFIGURE_ARGS+= --enable-dbus
.include "../../sysutils/dbus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-notify
.include "../../sysutils/libnotify/buildlink3.mk"
+
+# telepathy needs dbus, but its also gnome-ish
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../chat/libtelepathy/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-telepathy
+.else
+CONFIGURE_ARGS+= --disable-telepathy
+.endif
+
PLIST.dbus= yes
+
## HAL support (requires dbus)
.if !empty(PKG_OPTIONS:Mhal)
CONFIGURE_ARGS+= --enable-hal