Fix compile uqmi and cosmetic changes baresip

pull/793/head
Igor Zalatov (from Citadel PC) 2023-05-13 18:31:58 +03:00
parent 03e5708074
commit 98935b67fe
7 changed files with 62 additions and 60 deletions

View File

@ -1,12 +1,13 @@
config BR2_PACKAGE_BARESIP_OPENIPC config BR2_PACKAGE_BARESIP_OPENIPC
bool "baresip-openipc" bool "baresip-openipc"
select BR2_PACKAGE_LIBRE_OPENIPC default n
select BR2_PACKAGE_LIBREM_OPENIPC depends on BR2_PACKAGE_LIBRE_OPENIPC
default n depends on BR2_PACKAGE_LIBREM_OPENIPC
help select BR2_PACKAGE_LIBRE_OPENIPC
Baresip is a portable and modular SIP User-Agent with audio select BR2_PACKAGE_LIBREM_OPENIPC
and video support. Copyright (c) 2010 - 2022 Alfred E. Heggestad help
and Contributors Distributed under BSD license. Baresip is a portable and modular SIP User-Agent with audio
and video support. Copyright (c) 2010 - 2022 Alfred E. Heggestad
https://github.com/baresip/baresip and Contributors Distributed under BSD license.
https://github.com/baresip/baresip

View File

@ -1,9 +1,8 @@
config BR2_PACKAGE_LIBRE_OPENIPC config BR2_PACKAGE_LIBRE_OPENIPC
bool "libre-openipc" bool "libre-openipc"
default n default n
help help
libre is a Generic library for real-time communications libre is a Generic library for real-time communications
with async IO support. with async IO support.
https://github.com/baresip/re
https://github.com/baresip/re

View File

@ -18,20 +18,20 @@ endif
define LIBRE_OPENIPC_BUILD_CMDS define LIBRE_OPENIPC_BUILD_CMDS
$(TARGET_MAKE_ENV) \ $(TARGET_MAKE_ENV) \
$(MAKE) -C $(@D) \ $(MAKE) -C $(@D) \
LIBRE_MK=$(STAGING_DIR)/usr/share/re/re.mk \ LIBRE_MK=$(STAGING_DIR)/usr/share/re/re.mk \
LIBRE_INC=$(STAGING_DIR)/usr/include/re \ LIBRE_INC=$(STAGING_DIR)/usr/include/re \
LIBRE_SO=$(STAGING_DIR)/usr/lib \ LIBRE_SO=$(STAGING_DIR)/usr/lib \
CC="$(TARGET_CC)" \ CC="$(TARGET_CC)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ EXTRA_CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
EXTRA_LFLAGS="-lm" \ EXTRA_LFLAGS="-lm" \
DESTDIR="$(STAGING_DIR)" \ DESTDIR="$(STAGING_DIR)" \
SYSROOT="$(STAGING_DIR)/usr" \ SYSROOT="$(STAGING_DIR)/usr" \
SYSROOT_ALT="$(STAGING_DIR)/usr" \ SYSROOT_ALT="$(STAGING_DIR)/usr" \
RELEASE=1 \ RELEASE=1 \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
OS=linux \ OS=linux \
all install all install
endef endef
@ -50,4 +50,4 @@ define LIBRE_OPENIPC_UNINSTALL_TARGET_CMDS
endef endef
$(eval $(generic-package)) $(eval $(generic-package))
$(eval $(host-generic-package)) $(eval $(host-generic-package))

View File

@ -1,9 +1,9 @@
config BR2_PACKAGE_LIBREM_OPENIPC config BR2_PACKAGE_LIBREM_OPENIPC
bool "librem-openipc" bool "librem-openipc"
select BR2_PACKAGE_LIBRE_OPENIPC default n
default n depends on BR2_PACKAGE_LIBRE_OPENIPC
help select BR2_PACKAGE_LIBRE_OPENIPC
librem is a Audio and video processing media library. help
librem is a Audio and video processing media library.
https://github.com/baresip/rem
https://github.com/baresip/rem

View File

@ -15,21 +15,21 @@ endif
define LIBREM_OPENIPC_BUILD_CMDS define LIBREM_OPENIPC_BUILD_CMDS
$(TARGET_MAKE_ENV) \ $(TARGET_MAKE_ENV) \
$(MAKE) -C $(@D) \ $(MAKE) -C $(@D) \
LIBRE_MK=$(STAGING_DIR)/usr/share/re/re.mk \ LIBRE_MK=$(STAGING_DIR)/usr/share/re/re.mk \
LIBRE_INC=$(STAGING_DIR)/usr/include/re \ LIBRE_INC=$(STAGING_DIR)/usr/include/re \
LIBRE_SO=$(STAGING_DIR)/usr/lib \ LIBRE_SO=$(STAGING_DIR)/usr/lib \
HAVE_LIBRESOLV= \ HAVE_LIBRESOLV= \
CC="$(TARGET_CC)" \ CC="$(TARGET_CC)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ EXTRA_CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
EXTRA_LFLAGS="-lm" \ EXTRA_LFLAGS="-lm" \
DESTDIR="$(STAGING_DIR)" \ DESTDIR="$(STAGING_DIR)" \
SYSROOT="$(STAGING_DIR)/usr" \ SYSROOT="$(STAGING_DIR)/usr" \
SYSROOT_ALT="$(STAGING_DIR)/usr" \ SYSROOT_ALT="$(STAGING_DIR)/usr" \
RELEASE=1 \ RELEASE=1 \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
OS=linux \ OS=linux \
all install all install
endef endef
define LIBREM_OPENIPC_INSTALL_TARGET_CMDS define LIBREM_OPENIPC_INSTALL_TARGET_CMDS
@ -47,4 +47,4 @@ define LIBREM_OPENIPC_UNINSTALL_TARGET_CMDS
endef endef
$(eval $(generic-package)) $(eval $(generic-package))
#$(eval $(host-generic-package)) #$(eval $(host-generic-package))

View File

@ -1,5 +1,7 @@
config BR2_PACKAGE_UQMI_OPENIPC config BR2_PACKAGE_UQMI_OPENIPC
bool "uqmi-openipc" bool "uqmi-openipc"
select BR2_PACKAGE_JSON_C_OPENIPC
select BR2_PACKAGE_LIBUBOX
help help
This command line tool originates from the OpenWrt project This command line tool originates from the OpenWrt project
to configure LTE modem in QMI mode for WAN connection. to configure LTE modem in QMI mode for WAN connection.

View File

@ -4,10 +4,10 @@
# #
################################################################################ ################################################################################
UQMI_VERSION = f254fc59c710d781eca3ec36e0bff2d8970370fa UQMI_OPENIPC_VERSION = f254fc59c710d781eca3ec36e0bff2d8970370fa
UQMI_SITE = git://git.openwrt.org/project/uqmi.git UQMI_OPENIPC_SITE = git://git.openwrt.org/project/uqmi.git
UQMI_DEPENDENCIES = json-c-openipc libubox UQMI_OPENIPC_DEPENDENCIES = json-c-openipc libubox
UQMI_LICENSE = LGPL-2.0+ UQMI_OPENIPC_LICENSE = LGPL-2.0+
UQMI_LICENSE_FILES = COPYING UQMI_OPENIPC_LICENSE_FILES = COPYING
$(eval $(cmake-package)) $(eval $(cmake-package))