Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
bool "linphone"
select BR2_PACKAGE_LIBEXOSIP2
select BR2_PACKAGE_SPEEX
+ select BR2_PACKAGE_ORTP
+ select BR2_PACKAGE_MEDIASTREAMER
+ depends on BR2_INSTALL_LIBSTDCPP # mediastreamer
help
Linphone is an internet phone or Voice Over IP phone (VoIP).
client, linphonec, and video support is not enabled.
http://www.linphone.org/
+
+comment "linphone requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
LINPHONE_VERSION = 3.5.2
LINPHONE_SITE = http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/
-LINPHONE_CONF_OPT = --disable-video --disable-gtk_ui
-LINPHONE_DEPENDENCIES = libeXosip2 speex
+LINPHONE_CONF_OPT = \
+ --disable-gtk_ui \
+ --enable-external-ortp \
+ --enable-external-mediastreamer
+
+LINPHONE_DEPENDENCIES = host-pkg-config ortp mediastreamer libeXosip2 speex
$(eval $(call AUTOTARGETS))