dec0446654
Linphone 3.6 is incompatible with bumped mediastreamer and ortp packages. Like Debian we use the bundled versions instead and add the Debian patch series to support ffmpeg 3.0 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
45 lines
1.5 KiB
Makefile
45 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# linphone
|
|
#
|
|
################################################################################
|
|
|
|
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
|
|
LINPHONE_CONF_OPTS = \
|
|
--disable-strict
|
|
# configure is out of sync causing deplibs linking issues
|
|
LINPHONE_AUTORECONF = YES
|
|
LINPHONE_INSTALL_STAGING = YES
|
|
LINPHONE_DEPENDENCIES = host-pkgconf libeXosip2 speex
|
|
LINPHONE_LICENSE = GPLv2+
|
|
LINPHONE_LICENSE_FILES = COPYING
|
|
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
|
|
|
|
ifeq ($(BR2_arc),y)
|
|
# toolchain __arc__ define conflicts with libosip2 source
|
|
LINPHONE_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
|
|
LINPHONE_CONF_OPTS += --enable-gtk_ui
|
|
LINPHONE_DEPENDENCIES += libgtk2
|
|
else
|
|
LINPHONE_CONF_OPTS += --disable-gtk_ui
|
|
endif
|
|
|
|
# needed for bundled mediastreamer2
|
|
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
|
LINPHONE_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
|
|
LINPHONE_DEPENDENCIES += libv4l
|
|
else
|
|
LINPHONE_CONF_OPTS += --disable-libv4l1 --disable-libv4l2
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|