summaryrefslogtreecommitdiff
path: root/package/linphone/linphone.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-06-04 00:04:16 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-04 09:12:45 +0200
commit1a3045f209d651ebbe1e5e87ccb7686e8ea595a5 (patch)
tree23e783d72a2cb3a9bcfbecfded4f231aa0fb8fc5 /package/linphone/linphone.mk
parent96f41055068e54e734edc99c88ec46aa40d8ced5 (diff)
linphone: add optional gtk support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/linphone/linphone.mk')
-rw-r--r--package/linphone/linphone.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/linphone/linphone.mk b/package/linphone/linphone.mk
index b34fbf741..c6d571d25 100644
--- a/package/linphone/linphone.mk
+++ b/package/linphone/linphone.mk
@@ -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))