linphone: add optional gtk support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-06-04 00:04:16 +02:00
parent 96f4105506
commit 1a3045f209

View File

@ -7,10 +7,16 @@
LINPHONE_VERSION = 3.5.2
LINPHONE_SITE = http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/
LINPHONE_CONF_OPT = \
--disable-gtk_ui \
--enable-external-ortp \
--enable-external-mediastreamer
LINPHONE_DEPENDENCIES = host-pkg-config ortp mediastreamer libeXosip2 speex
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
LINPHONE_CONF_OPT += --enable-gtk_ui
LINPHONE_DEPENDENCIES += libgtk2
else
LINPHONE_CONF_OPT += --disable-gtk_ui
endif
$(eval $(call AUTOTARGETS))