summaryrefslogtreecommitdiff
path: root/net/vino/options.mk
blob: 153698ad0830ab3f29c19bc251137e8540a1ee97 (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
# $NetBSD: options.mk,v 1.6 2013/08/12 09:36:41 obache Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.vino
PKG_SUPPORTED_OPTIONS+=	avahi inet6 telepathy
PKG_SUGGESTED_OPTIONS=	inet6

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

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

.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if !empty(PKG_OPTIONS:Mtelepathy)
CONFIGURE_ARGS+=	--enable-telepathy
BUILDLINK_API_DEPENDS.telepathy-glib+=	telepathy-glib>=0.11.6
.include "../../chat/telepathy-glib/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-telepathy
.endif