summaryrefslogtreecommitdiff
path: root/net/rtpproxy/Makefile
diff options
context:
space:
mode:
authorJiri Slachta <jiri@slachta.eu>2017-11-07 20:07:03 +0100
committerJiri Slachta <jiri@slachta.eu>2017-11-07 20:07:03 +0100
commit84e65ca0fc24f323a69b6dd97cb6aad0466ccb2c (patch)
tree05188cd2e26d6c6b3de6d3fcb7e23bfa2185e6dd /net/rtpproxy/Makefile
parentb4c056464783e55351d306ce4d9a647371fe68b3 (diff)
rtpproxy: fix build for bcg729 >1.0.1
Several method signatures have changed in bcg729 1.0.1 and higher. This issue was already resolved in upstream. In the current development branch, there is no compilable version. Due to those changes, I have disabled linking against bcg729 since we have bcg729 at version 1.0.2. By disabling bcg729 the internal g729 rtpproxy API will be used. Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Diffstat (limited to 'net/rtpproxy/Makefile')
-rw-r--r--net/rtpproxy/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile
index 6f1e796..67046f8 100644
--- a/net/rtpproxy/Makefile
+++ b/net/rtpproxy/Makefile
@@ -1,5 +1,6 @@
#
# Copyright (C) 2014 OpenWrt.org
+# Copyright (C) 2017 Jiri Slachta <jiri@slachta.eu>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rtpproxy
PKG_VERSION:=2.0.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/sippy/rtpproxy.git
@@ -23,6 +24,7 @@ PKG_INSTALL:=1
PKG_LICENSE:=BSD-2-Clause
PKG_LICENSE_FILES:=COPYING
+PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
include $(INCLUDE_DIR)/package.mk
@@ -35,6 +37,9 @@ define Package/rtpproxy
URL:=http://www.rtpproxy.org/
endef
+CONFIGURE_VARS += \
+ ac_cv_lib_bcg729_initBcg729EncoderChannel=no
+
define Package/rtpproxy/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/