-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #888 from dddaniel/master
baresip: Update to version 3.16.0 [v2]
- Loading branch information
Showing
9 changed files
with
217 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=baresip-apps | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_URL:=https://github.com/baresip/baresip-apps.git | ||
PKG_SOURCE_VERSION:=0b25d61247f3e8d15071b09223e35f8806dacad8 | ||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz | ||
PKG_MIRROR_HASH:=35599fa7d081640a86a0ae91e1b46209fa1ddd41295332948ec29fa5a15c2b65 | ||
|
||
PKG_LICENSE:=BSD-3-Clause | ||
PKG_LICENSE_FILES:=docs/COPYING | ||
PKG_MAINTAINER:=Daniel Danzberger <[email protected]> | ||
|
||
PKG_BUILD_PARALLEL:=1 | ||
PKG_INSTALL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/cmake.mk | ||
|
||
define Package/baresip-app/Default | ||
SECTION:=net | ||
CATEGORY:=Network | ||
SUBMENU:=Telephony | ||
URL:=https://github.com/baresip/baresip-apps | ||
endef | ||
|
||
baresip-apps:= \ | ||
auloop \ | ||
autotest \ | ||
b2bua \ | ||
intercom \ | ||
kaoptions \ | ||
multicast \ | ||
parcall \ | ||
qualify \ | ||
vidloop | ||
|
||
empty:= | ||
space:= $(empty) $(empty) | ||
|
||
MODULES:=$(foreach m,$(baresip-apps),$(if $(CONFIG_PACKAGE_baresip-app-$(m)),$(m))) | ||
MODULES:=$(strip $(MODULES)) | ||
MODULES:=$(subst $(space),;,$(MODULES)) | ||
|
||
CMAKE_OPTIONS += -DMODULES="$(MODULES)" | ||
|
||
define BuildPlugin | ||
define Package/baresip-app-$(1) | ||
$$(call Package/baresip-app/Default) | ||
TITLE:=$(2) | ||
DEPENDS:=+baresip $(patsubst +%,+PACKAGE_$(PKG_NAME)-app-$(1):%,$(3)) | ||
endef | ||
define Package/baresip-app-$(1)/install | ||
$(INSTALL_DIR) $$(1)/usr/lib/baresip/modules | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/baresip/modules/$(1).so \ | ||
$$(1)/usr/lib/baresip/modules | ||
endef | ||
$$(eval $$(call BuildPackage,baresip-app-$(1))) | ||
endef | ||
|
||
$(eval $(call BuildPlugin,auloop,Audio Looping,)) | ||
$(eval $(call BuildPlugin,autotest,Auto Test Module,)) | ||
$(eval $(call BuildPlugin,b2bua,Back-to-Back User-Agent,)) | ||
$(eval $(call BuildPlugin,intercom,Intercom Module,)) | ||
$(eval $(call BuildPlugin,kaoptions,Keepalive via SIP OPTIONS message,)) | ||
$(eval $(call BuildPlugin,multicast,Mulitcast Support,)) | ||
$(eval $(call BuildPlugin,parcall,Parallel call module,)) | ||
$(eval $(call BuildPlugin,qualify,Pinging of peer in CALL_STATE_INCOMING via SIP OPTIONS,)) | ||
$(eval $(call BuildPlugin,vidloop,Video Loop,)) |
Oops, something went wrong.