blob: 62fc5f9f22259d3458b06e6a7fc2d2706880631d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: options.mk,v 1.4 2012/08/20 11:34:58 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gtk-vnc
PKG_SUPPORTED_OPTIONS= python plugin vnc-sasl pulseaudio
PKG_SUGGESTED_OPTIONS= python vnc-sasl
.include "../../mk/bsd.options.mk"
PLIST_VARS= python
.if !empty(PKG_OPTIONS:Mpython)
.include "../../lang/python/extension.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
PLIST.python= yes
CONFIGURE_ARGS+= --with-python
.else
CONFIGURE_ARGS+= --without-python
.endif
PLIST_VARS+= plugin
.if !empty(PKG_OPTIONS:Mplugin)
.include "../../devel/xulrunner/buildlink3.mk"
CONFIGURE_ARGS+= --enable-plugin=yes
PLIST.plugin= yes
.endif
.if !empty(PKG_OPTIONS:Mvnc-sasl)
.include "../../security/cyrus-sasl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-sasl
.endif
PLIST_VARS+= pulseaudio
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
CONFIGURE_ARGS+= --with-pulseaudio
PLIST.pulseaudio= yes
.else
CONFIGURE_ARGS+= --without-pulseaudio
.endif
|