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
bool "baresip-openipc"
select BR2_PACKAGE_LIBRE_OPENIPC
select BR2_PACKAGE_LIBREM_OPENIPC
default n
help
Baresip is a portable and modular SIP User-Agent with audio
and video support. Copyright (c) 2010 - 2022 Alfred E. Heggestad
and Contributors Distributed under BSD license.
https://github.com/baresip/baresip
bool "baresip-openipc"
default n
depends on BR2_PACKAGE_LIBRE_OPENIPC
depends on BR2_PACKAGE_LIBREM_OPENIPC
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
and Contributors Distributed under BSD license.
https://github.com/baresip/baresip

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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