commit 87915a5051745a459f4a4a73294a21343a4627a9
Author: Jakub Bogusz <[email protected]>
Date:   Wed Nov 11 08:21:20 2015 +0100

    - updated to 1.0.1
    - added lib patch (allow building both library and plugin at the same time)

 bcg729-lib.patch | 22 ++++++++++++++++++++++
 bcg729.spec      | 22 ++++++++++++++++------
 2 files changed, 38 insertions(+), 6 deletions(-)
---
diff --git a/bcg729.spec b/bcg729.spec
index 6565d14..582ac25 100644
--- a/bcg729.spec
+++ b/bcg729.spec
@@ -1,15 +1,19 @@
 Summary:       ITU G729 Annex A speech codec library
 Summary(pl.UTF-8):     Biblioteka kodeka mowy ITU G729 Annex A
 Name:          bcg729
-Version:       1.0.0
-Release:       3
+Version:       1.0.1
+Release:       1
 License:       GPL v2+, ITU G729 patent license may be required
 Group:         Libraries
 Source0:       
http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/%{name}-%{version}.tar.gz
-# Source0-md5: 45e127a9a309aff94d3262d97b5aeab0
+# Source0-md5: c4dc6c09c71850f0b392772f519f1d19
+Patch0:                %{name}-lib.patch
 URL:           http://www.linphone.org/eng/documentation/dev/bcg729.html
-BuildRequires: mediastreamer-devel >= 2.0.0
-BuildRequires: ortp-devel >= 0.16.0
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake
+BuildRequires: libtool >= 2:2
+BuildRequires: mediastreamer-devel >= 2.9.0
+BuildRequires: ortp-devel >= 0.21.0
 BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,7 +66,7 @@ Summary:      ITU G729 Annex A speech codec for mediastreamer
 Summary(pl.UTF-8):     Kodek mowy ITU G729 Annex A dla mediastreamera
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      mediastreamer >= 2.0.0
+Requires:      mediastreamer >= 2.9.0
 
 %description -n mediastreamer-plugin-msbcg729
 This package supplies the mediastreamer plugin for the ITU G729 Annex
@@ -74,8 +78,14 @@ Annex A.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-silent-rules
 
diff --git a/bcg729-lib.patch b/bcg729-lib.patch
new file mode 100644
index 0000000..e0c94e7
--- /dev/null
+++ b/bcg729-lib.patch
@@ -0,0 +1,22 @@
+--- bcg729-1.0.1/src/Makefile.am.orig  2015-11-02 15:06:33.000000000 +0100
++++ bcg729-1.0.1/src/Makefile.am       2015-11-10 22:24:22.267248581 +0100
+@@ -1,8 +1,4 @@
+-if BUILD_MSBCG729
+-noinst_LTLIBRARIES = libbcg729.la
+-else
+ lib_LTLIBRARIES = libbcg729.la
+-endif
+ 
+ libbcg729_la_SOURCES= LP2LSPConversion.c \
+                       LPSynthesisFilter.c \
+--- bcg729-1.0.1/include/bcg729/Makefile.am.orig       2015-11-02 
15:06:33.000000000 +0100
++++ bcg729-1.0.1/include/bcg729/Makefile.am    2015-11-10 22:24:47.163914203 
+0100
+@@ -3,8 +3,6 @@
+ public_headers=encoder.h decoder.h
+ 
+ bcg729_include_HEADERS=
+-if !BUILD_MSBCG729
+ bcg729_include_HEADERS+=$(public_headers)
+-endif
+ 
+ EXTRA_DIST=$(public_headers)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcg729.git/commitdiff/87915a5051745a459f4a4a73294a21343a4627a9

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to