Commit 1a3045f2 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

linphone: add optional gtk support

parent 96f41055
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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))