summaryrefslogtreecommitdiff
path: root/net/ekiga/options.mk
blob: 8503f3c5cb1068ae55c1814b24947dc2656cc090 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $NetBSD: options.mk,v 1.5 2013/11/06 13:31:21 joerg Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ekiga
PKG_SUPPORTED_OPTIONS+= avahi dbus evolution-data-server gconf gnome notify
PKG_SUGGESTED_OPTIONS+= avahi dbus evolution-data-server gconf gnome notify

.include "../../mk/bsd.options.mk"

PLIST_VARS+=		dbus gconf not-gconf

.if !empty(PKG_OPTIONS:Mavahi)
.include "../../net/avahi/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-avahi
.endif

.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+=	--enable-dbus --enable-dbus-service
PLIST.dbus=		yes
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-dbus --disable-dbus-service
.endif

.if !empty(PKG_OPTIONS:Mevolution-data-server)
CONFIGURE_ARGS+=	--enable-eds
.include "../../mail/evolution-data-server/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-eds
.endif

.if !empty(PKG_OPTIONS:Mgconf)
PLIST.gconf=		yes
GCONF_SCHEMAS=		ekiga.schemas
CONFIGURE_ARGS+=	--enable-gconf
CONFIGURE_ARGS+=	--with-gconf-schema-file-dir=${PREFIX}/share/gconf/schemas
.include "../../devel/GConf/schemas.mk"
.else
PLIST.not-gconf=	yes
CONFIGURE_ARGS+=	--disable-gconf
.endif

.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+=	--enable-gnome
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-gnome
.endif

.if !empty(PKG_OPTIONS:Mnotify)
CONFIGURE_ARGS+=	--enable-notify
.include "../../sysutils/libnotify/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-notify
.endif