2009-02-15 17:16:33 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2009/02/15 16:16:33 thomasklausner Exp $
|
2008-11-14 10:39:44 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.linphone
|
|
|
|
PKG_SUPPORTED_OPTIONS= alsa inet6 linphone-gui linphone-video
|
2009-02-15 17:16:33 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= linphone-gui linphone-video
|
2008-11-14 10:39:44 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
|
|
CONFIGURE_ARGS+= --enable-alsa
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if empty(PKG_OPTIONS:Mlinphone-gui)
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome_ui=no
|
|
|
|
PLIST_SUBST+= GUI="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= GUI=
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome_ui=yes
|
|
|
|
.include "../../x11/gnome-panel/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2009-02-15 17:16:33 +01:00
|
|
|
.if empty(PKG_OPTIONS:Mlinphone-gui) || empty(PKG_OPTIONS:Mlinphone-video)
|
2008-11-14 10:39:44 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-video=no
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-video=yes
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../multimedia/ffmpeg/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|