| @@ -1,38 +1,40 @@ | | | @@ -1,38 +1,40 @@ |
1 | # $NetBSD: options.mk,v 1.12 2011/03/14 12:50:48 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.13 2012/08/01 15:26:54 drochner Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin |
4 | PKG_SUPPORTED_OPTIONS+= dbus debug gstreamer gtkspell farsight x11 | | 4 | PKG_SUPPORTED_OPTIONS+= dbus debug gstreamer gtkspell farsight x11 |
5 | PKG_SUGGESTED_OPTIONS+= dbus gstreamer gtkspell farsight x11 | | 5 | PKG_SUGGESTED_OPTIONS+= dbus gstreamer gtkspell farsight x11 |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | PLIST_VARS+= dbus vv x11 | | 9 | PLIST_VARS+= dbus vv x11 |
10 | | | 10 | |
11 | .if !empty(PKG_OPTIONS:Mdbus) | | 11 | .if !empty(PKG_OPTIONS:Mdbus) |
12 | CONFIGURE_ARGS+= --enable-dbus | | 12 | CONFIGURE_ARGS+= --enable-dbus |
13 | PLIST.dbus= yes | | 13 | PLIST.dbus= yes |
14 | . include "../../sysutils/dbus/buildlink3.mk" | | 14 | . include "../../sysutils/dbus/buildlink3.mk" |
15 | . include "../../sysutils/dbus-glib/buildlink3.mk" | | 15 | . include "../../sysutils/dbus-glib/buildlink3.mk" |
16 | .endif | | 16 | .endif |
17 | | | 17 | |
18 | # voice/video support requires both farsight and gstreamer | | 18 | # voice/video support requires both farsight and gstreamer |
19 | .if !empty(PKG_OPTIONS:Mfarsight) && !empty(PKG_OPTIONS:Mgstreamer) | | 19 | .if !empty(PKG_OPTIONS:Mfarsight) && !empty(PKG_OPTIONS:Mgstreamer) |
20 | CONFIGURE_ARGS+= --enable-vv | | 20 | CONFIGURE_ARGS+= --enable-vv |
21 | PLIST.vv= yes | | 21 | PLIST.vv= yes |
| | | 22 | .else |
| | | 23 | CONFIGURE_ARGS+= --disable-vv |
22 | .endif | | 24 | .endif |
23 | | | 25 | |
24 | .if !empty(PKG_OPTIONS:Mfarsight) | | 26 | .if !empty(PKG_OPTIONS:Mfarsight) |
25 | CONFIGURE_ARGS+= --enable-farsight | | 27 | CONFIGURE_ARGS+= --enable-farstream |
26 | . include "../../multimedia/farsight2/buildlink3.mk" | | 28 | . include "../../multimedia/farsight2/buildlink3.mk" |
27 | .endif | | 29 | .endif |
28 | | | 30 | |
29 | .if !empty(PKG_OPTIONS:Mgtkspell) | | 31 | .if !empty(PKG_OPTIONS:Mgtkspell) |
30 | CONFIGURE_ARGS+= --enable-gtkspell | | 32 | CONFIGURE_ARGS+= --enable-gtkspell |
31 | . include "../../textproc/gtkspell/buildlink3.mk" | | 33 | . include "../../textproc/gtkspell/buildlink3.mk" |
32 | .else | | 34 | .else |
33 | CONFIGURE_ARGS+= --disable-gtkspell | | 35 | CONFIGURE_ARGS+= --disable-gtkspell |
34 | .endif | | 36 | .endif |
35 | | | 37 | |
36 | .if !empty(PKG_OPTIONS:Mgstreamer) | | 38 | .if !empty(PKG_OPTIONS:Mgstreamer) |
37 | CONFIGURE_ARGS+= --enable-gstreamer | | 39 | CONFIGURE_ARGS+= --enable-gstreamer |
38 | . include "../../multimedia/gstreamer0.10/buildlink3.mk" | | 40 | . include "../../multimedia/gstreamer0.10/buildlink3.mk" |