2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-07 12:43:12 +02:00
|
|
|
#
|
|
|
|
# linphone
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-07 12:43:12 +02:00
|
|
|
|
2013-12-18 19:20:02 +01:00
|
|
|
LINPHONE_VERSION_MAJOR = 3.6
|
|
|
|
LINPHONE_VERSION = $(LINPHONE_VERSION_MAJOR).1
|
|
|
|
LINPHONE_SITE = http://download-mirror.savannah.gnu.org/releases/linphone/$(LINPHONE_VERSION_MAJOR).x/sources
|
2014-09-27 21:32:44 +02:00
|
|
|
LINPHONE_CONF_OPTS = \
|
2016-03-29 22:30:26 +02:00
|
|
|
--disable-strict --disable-video
|
2013-10-09 14:22:36 +02:00
|
|
|
# configure is out of sync causing deplibs linking issues
|
|
|
|
LINPHONE_AUTORECONF = YES
|
2015-04-02 22:19:28 +02:00
|
|
|
LINPHONE_INSTALL_STAGING = YES
|
2016-03-28 21:49:31 +02:00
|
|
|
LINPHONE_DEPENDENCIES = host-pkgconf libeXosip2 speex
|
2017-03-30 15:43:32 +02:00
|
|
|
LINPHONE_LICENSE = GPL-2.0+
|
2013-10-09 14:22:35 +02:00
|
|
|
LINPHONE_LICENSE_FILES = COPYING
|
2016-03-28 21:49:31 +02:00
|
|
|
LINPHONE_PATCH = \
|
|
|
|
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/libav9.patch \
|
|
|
|
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/libav10.patch \
|
|
|
|
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/libav11.patch \
|
|
|
|
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/ffmpeg_2.9.patch
|
2012-05-07 12:43:12 +02:00
|
|
|
|
2014-04-04 18:04:38 +02:00
|
|
|
ifeq ($(BR2_arc),y)
|
|
|
|
# toolchain __arc__ define conflicts with libosip2 source
|
|
|
|
LINPHONE_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
|
|
|
|
endif
|
|
|
|
|
2012-06-04 00:04:16 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
|
2014-09-27 21:32:44 +02:00
|
|
|
LINPHONE_CONF_OPTS += --enable-gtk_ui
|
2012-06-04 00:04:16 +02:00
|
|
|
LINPHONE_DEPENDENCIES += libgtk2
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LINPHONE_CONF_OPTS += --disable-gtk_ui
|
2012-06-04 00:04:16 +02:00
|
|
|
endif
|
|
|
|
|
2016-03-28 21:49:31 +02:00
|
|
|
# needed for bundled mediastreamer2
|
2016-03-29 22:30:26 +02:00
|
|
|
LINPHONE_DEPENDENCIES += host-intltool host-gettext
|
|
|
|
|
2016-03-30 07:41:27 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy)
|
|
|
|
LINPHONE_CONF_OPTS += --enable-alsa
|
|
|
|
LINPHONE_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
|
|
|
LINPHONE_CONF_OPTS += --disable-alsa
|
|
|
|
endif
|
|
|
|
|
2016-03-28 21:49:31 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
|
|
|
LINPHONE_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
|
|
|
|
LINPHONE_DEPENDENCIES += libv4l
|
|
|
|
else
|
|
|
|
LINPHONE_CONF_OPTS += --disable-libv4l1 --disable-libv4l2
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|