1c8dda3e43
This merges the next branch accumulated during the 2017.11 release cycle back into the master branch. A few conflicts had to be resolved: - In the DEVELOPERS file, because Fabrice Fontaine was added as a developer for libupnp in master, and for libupnp18 in next. Resolution is simple: add him for both. - linux/Config.in, because we updated the 4.13.x release used by default in master, while we moved to 4.14 in next. Resolution: use 4.14. - package/libupnp/libupnp.hash: a hash for the license file was added in master, while the package was bumped into next. Resolution: keep the hash for the license file, and keep the hash for the newest version of libupnp. - package/linux-headers/Config.in.host: default version of the kernel headers for 4.13 was bumped to the latest 4.13.x in master, but was changed to 4.14 in next. Resolution: use 4.14. - package/samba4/: samba was bumped to 4.6.11 in master for security reasons, but was bumped to 4.7.3 in next. Resolution: keep 4.7.3. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# libpjsip
|
|
#
|
|
################################################################################
|
|
|
|
LIBPJSIP_VERSION = 2.7.1
|
|
LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.bz2
|
|
LIBPJSIP_SITE = http://www.pjsip.org/release/$(LIBPJSIP_VERSION)
|
|
LIBPJSIP_DEPENDENCIES = libsrtp
|
|
LIBPJSIP_LICENSE = GPL-2.0+
|
|
LIBPJSIP_LICENSE_FILES = COPYING
|
|
LIBPJSIP_INSTALL_STAGING = YES
|
|
LIBPJSIP_MAKE = $(MAKE1)
|
|
|
|
LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1
|
|
|
|
# relocation truncated to fit: R_68K_GOT16O
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
LIBPJSIP_CFLAGS += -mxgot
|
|
endif
|
|
|
|
LIBPJSIP_CONF_ENV = \
|
|
LD="$(TARGET_CC)" \
|
|
CFLAGS="$(LIBPJSIP_CFLAGS)"
|
|
|
|
LIBPJSIP_CONF_OPTS = \
|
|
--disable-sound \
|
|
--disable-gsm-codec \
|
|
--disable-speex-codec \
|
|
--disable-speex-aec \
|
|
--disable-resample \
|
|
--disable-video \
|
|
--disable-opencore-amr \
|
|
--disable-g7221-codec \
|
|
--disable-ilbc-codec \
|
|
--disable-libwebrtc \
|
|
--disable-opus \
|
|
--disable-oss \
|
|
--disable-ext-sound \
|
|
--disable-g711-codec \
|
|
--disable-l16-codec \
|
|
--disable-g722-codec \
|
|
--disable-libsamplerate \
|
|
--disable-sdl \
|
|
--disable-ffmpeg \
|
|
--disable-v4l2 \
|
|
--disable-openh264 \
|
|
--disable-libyuv \
|
|
--disable-ipp \
|
|
--disable-silk \
|
|
--with-external-srtp
|
|
|
|
# Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will
|
|
# both enable it. But that's OK, epoll is better than the alternative,
|
|
# so we want to use it.
|
|
LIBPJSIP_CONF_OPTS += --enable-epoll
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
|
LIBPJSIP_DEPENDENCIES += libopenssl
|
|
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
|
else
|
|
LIBPJSIP_CONF_OPTS += --disable-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
|
LIBPJSIP_DEPENDENCIES += util-linux
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|