]> git.pld-linux.org Git - packages/bcg729.git/commitdiff
- updated to 1.0.1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 Nov 2015 07:21:20 +0000 (08:21 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 Nov 2015 07:21:20 +0000 (08:21 +0100)
- added lib patch (allow building both library and plugin at the same time)

bcg729-lib.patch [new file with mode: 0644]
bcg729.spec

diff --git a/bcg729-lib.patch b/bcg729-lib.patch
new file mode 100644 (file)
index 0000000..e0c94e7
--- /dev/null
@@ -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)
index 6565d14cad7ebb9693422bdef0a94c9b2a536d32..582ac25114fb520e37bec6e8fb94843d27299c23 100644 (file)
@@ -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
 
This page took 0.098621 seconds and 4 git commands to generate.