[packages/opal] - added vpb patch to fix build with vpb - BR: opus-devel

qboosh qboosh at pld-linux.org
Mon Apr 18 21:51:36 CEST 2022


commit d4494eb4931b43fa6f3fb8325e140bf8b27a965b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 18 21:51:48 2022 +0200

    - added vpb patch to fix build with vpb
    - BR: opus-devel

 opal-vpb.patch | 39 +++++++++++++++++++++++++++++++++++++++
 opal.spec      |  3 +++
 2 files changed, 42 insertions(+)
---
diff --git a/opal.spec b/opal.spec
index 314db7b..6dccc2c 100644
--- a/opal.spec
+++ b/opal.spec
@@ -39,6 +39,7 @@ Source0:	http://downloads.sourceforge.net/opalvoip/%{name}-%{version}.tar.bz2
 Patch0:		celt.patch
 Patch1:		g7221.patch
 Patch2:		%{name}-cxx11.patch
+Patch3:		%{name}-vpb.patch
 # domain suspended (2022.04)
 #URL:		http://www.opalvoip.org/
 URL:		https://sourceforge.net/projects/opalvoip/
@@ -67,6 +68,7 @@ BuildRequires:	libtheora-devel
 BuildRequires:	libx264-devel >= 0.1.3-1.20101031_2245.1
 BuildRequires:	openh264-devel
 BuildRequires:	openssl-devel
+BuildRequires:	opus-devel
 %{?with_ruby:BuildRequires:	ruby-devel}
 BuildRequires:	spandsp-devel
 BuildRequires:	swig
@@ -136,6 +138,7 @@ Biblioteki statyczne OPAL.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 PWLIBDIR=%{_prefix}; export PWLIBDIR
diff --git a/opal-vpb.patch b/opal-vpb.patch
new file mode 100644
index 0000000..4aeb535
--- /dev/null
+++ b/opal-vpb.patch
@@ -0,0 +1,39 @@
+--- opal-3.14.3/plugins/configure.ac.orig	2015-08-08 14:10:56.861708220 +0200
++++ opal-3.14.3/plugins/configure.ac	2015-08-08 14:25:02.961672712 +0200
+@@ -355,6 +355,8 @@
+ dnl Line Interface Devices
+ dnl ########################
+ 
++AC_LANG_PUSH([C++])
++
+ OPAL_SYSTEM_PLUGIN(
+    [VPB],
+    [vpb],
+@@ -365,6 +367,7 @@
+    [-lvpb],
+    [#include <vpbapi.h>]
+ )
++AC_LANG_POP([C++])
+ 
+ 
+ dnl ########################################################################
+--- opal-3.18.8/plugins/LID/VPB/Makefile.orig	1970-01-01 01:00:00.000000000 +0100
++++ opal-3.18.8/plugins/LID/VPB/Makefile	2022-04-18 20:34:03.107401623 +0200
+@@ -0,0 +1,7 @@
++BASENAME := vpb
++
++SRCDIR    := $(CURDIR)
++SOURCES   := vpb.cpp
++
++INSTALL_DIR = $(LID_PLUGIN_DIR)
++include $(dir $(lastword $(MAKEFILE_LIST)))../../plugin_inc.mak
+--- opal-3.18.8/plugins/plugin_config.mak.in.orig	2020-10-26 19:16:58.000000000 +0100
++++ opal-3.18.8/plugins/plugin_config.mak.in	2022-04-18 20:59:41.442401080 +0200
+@@ -37,6 +37,7 @@ PLUGIN_SRC_DIR := @PLUGIN_SRC_DIR@
+ AUD_PLUGIN_DIR := @AUD_PLUGIN_DIR@
+ VID_PLUGIN_DIR := @VID_PLUGIN_DIR@
+ FAX_PLUGIN_DIR := @FAX_PLUGIN_DIR@
++LID_PLUGIN_DIR := @LID_PLUGIN_DIR@
+ 
+ CPPFLAGS       := @CPPFLAGS@ -I at prefix@/include -I$(PLUGIN_SRC_DIR)/../include -I$(PLUGIN_SRC_DIR) $(CPPFLAGS)
+ CXXFLAGS       := @CXXFLAGS@ $(CXXFLAGS)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opal.git/commitdiff/d4494eb4931b43fa6f3fb8325e140bf8b27a965b



More information about the pld-cvs-commit mailing list