summaryrefslogtreecommitdiff
path: root/chat/pidgin/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'chat/pidgin/options.mk')
-rw-r--r--chat/pidgin/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/chat/pidgin/options.mk b/chat/pidgin/options.mk
index 51c33767ee4..1ae5581bc5c 100644
--- a/chat/pidgin/options.mk
+++ b/chat/pidgin/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2009/09/06 21:06:45 abs Exp $
+# $NetBSD: options.mk,v 1.8 2009/12/08 12:45:42 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin
PKG_SUPPORTED_OPTIONS+= dbus debug farsight gstreamer gtkspell
@@ -6,7 +6,7 @@ PKG_SUGGESTED_OPTIONS+= gtkspell dbus farsight gstreamer
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= dbus
+PLIST_VARS+= dbus vv
.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+= --enable-dbus
@@ -15,6 +15,12 @@ PLIST.dbus= yes
. include "../../sysutils/dbus-glib/buildlink3.mk"
.endif
+# voice/video support requires both farsight and gstreamer
+.if !empty(PKG_OPTIONS:Mfarsight) && !empty(PKG_OPTIONS:Mgstreamer)
+CONFIGURE_ARGS+= --enable-vv
+PLIST.vv= yes
+.endif
+
.if !empty(PKG_OPTIONS:Mfarsight)
CONFIGURE_ARGS+= --enable-farsight
. include "../../multimedia/farsight2/buildlink3.mk"