mirror of https://github.com/OpenIPC/firmware.git
BareSIP: update version to 3.12.0
parent
df914d9fa2
commit
4e3b1a26f3
|
@ -1,8 +1,5 @@
|
|||
config BR2_PACKAGE_BARESIP_OPENIPC
|
||||
bool "baresip-openipc"
|
||||
default n
|
||||
select BR2_PACKAGE_LIBRE_OPENIPC
|
||||
select BR2_PACKAGE_LIBREM_OPENIPC
|
||||
help
|
||||
Baresip is a portable and modular SIP User-Agent with audio
|
||||
and video support. Copyright (c) 2010 - 2022 Alfred E. Heggestad
|
||||
|
|
|
@ -5,68 +5,13 @@
|
|||
#############################################################
|
||||
|
||||
BARESIP_OPENIPC_SITE = $(call github,baresip,baresip,$(BARESIP_OPENIPC_VERSION))
|
||||
BARESIP_OPENIPC_VERSION = v2.0.1
|
||||
BARESIP_OPENIPC_VERSION = v3.12.0
|
||||
|
||||
BARESIP_OPENIPC_DEPENDENCIES = libre-openipc librem-openipc zlib
|
||||
BARESIP_OPENIPC_DEPENDENCIES = libre-openipc
|
||||
|
||||
BARESIP_OPENIPC_MAKE_ENV = \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
SYSROOT=$(STAGING_DIR)/usr \
|
||||
SYSROOT_LOCAL=$(STAGING_DIR)/usr \
|
||||
LD="$(TARGET_CC)" \
|
||||
LFLAGS="$(TARGET_LDFLAGS)"
|
||||
BARESIP_OPENIPC_CONF_OPTS = \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG -s" \
|
||||
-DUSE_MBEDTLS=ON
|
||||
|
||||
BARESIP_OPENIPC_MAKE_ARGS = \
|
||||
LIBRE_MK="$(STAGING_DIR)/usr/share/re/re.mk" \
|
||||
LIBRE_INC="$(STAGING_DIR)/usr/include/re" \
|
||||
LIBRE_SO="$(STAGING_DIR)/usr/lib" \
|
||||
LIBREM_MK="$(STAGING_DIR)/usr/share/rem/rem.mk" \
|
||||
LIBREM_INC="$(STAGING_DIR)/usr/include/rem" \
|
||||
LIBREM_SO="$(STAGING_DIR)/usr/lib"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
BARESIP_OPENIPC_DEPENDENCIES += alsa-lib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
|
||||
BARESIP_OPENIPC_DEPENDENCIES += ffmpeg
|
||||
BARESIP_OPENIPC_MAKE_ENV += \
|
||||
CFLAGS+=-DCODEC_TYPE_VIDEO=AVMEDIA_TYPE_VIDEO
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
|
||||
BARESIP_OPENIPC_DEPENDENCIES += libsndfile
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SPEEX),y)
|
||||
BARESIP_OPENIPC_DEPENDENCIES += speex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
||||
BARESIP_OPENIPC_DEPENDENCIES += util-linux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
BARESIP_OPENIPC_DEPENDENCIES += xlib_libXext
|
||||
endif
|
||||
|
||||
define BARESIP_OPENIPC_BUILD_CMDS
|
||||
$(BARESIP_OPENIPC_MAKE_ENV) $(MAKE) $(BARESIP_OPENIPC_MAKE_ARGS) -C $(@D) all
|
||||
endef
|
||||
|
||||
define BARESIP_OPENIPC_CLEAN_CMDS
|
||||
$(BARESIP_OPENIPC_MAKE_ENV) $(MAKE) $(BARESIP_OPENIPC_MAKE_ARGS) -C $(@D) clean
|
||||
endef
|
||||
|
||||
define BARESIP_OPENIPC_INSTALL_TARGET_CMDS
|
||||
$(BARESIP_OPENIPC_MAKE_ENV) DESTDIR=$(TARGET_DIR) $(MAKE) $(BARESIP_OPENIPC_MAKE_ARGS) -C $(@D) install
|
||||
endef
|
||||
|
||||
define BARESIP_OPENIPC_UNINSTALL_TARGET_CMDS
|
||||
$(RM) $(TARGET_DIR)/usr/bin/baresip
|
||||
$(RM) -r $(TARGET_DIR)/usr/lib/baresip
|
||||
$(RM) -r $(TARGET_DIR)/usr/share/baresip
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
$(eval $(cmake-package))
|
||||
|
|
Loading…
Reference in New Issue