[packages/opus] - updated to 1.1 - added sh patch (fixes build with sh not being bash)

qboosh qboosh at pld-linux.org
Fri Dec 6 18:23:19 CET 2013


commit 83841a13c00ba485ed1e6dff9b1c85f24adb3bc8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Dec 6 18:24:41 2013 +0100

    - updated to 1.1
    - added sh patch (fixes build with sh not being bash)

 opus-sh.patch | 14 ++++++++++++++
 opus.spec     |  8 +++++---
 2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/opus.spec b/opus.spec
index 24ce771..a1c3c77 100644
--- a/opus.spec
+++ b/opus.spec
@@ -1,12 +1,13 @@
 Summary:	IETF Opus Interactive Audio Codec
 Summary(pl.UTF-8):	Opus - interaktywny kodek dźwięku wg projektu IETF
 Name:		opus
-Version:	1.0.3
-Release:	2
+Version:	1.1
+Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
-# Source0-md5:	86eedbd3c5a0171d2437850435e6edff
+# Source0-md5:	c5a8cf7c0b066759542bc4ca46817ac6
+Patch0:		%{name}-sh.patch
 URL:		http://opus-codec.org/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1.6
@@ -50,6 +51,7 @@ Statyczne biblioteki OPUS.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/opus-sh.patch b/opus-sh.patch
new file mode 100644
index 0000000..ef49201
--- /dev/null
+++ b/opus-sh.patch
@@ -0,0 +1,14 @@
+--- opus-1.1/configure.ac.orig	2013-12-05 00:26:45.000000000 +0100
++++ opus-1.1/configure.ac	2013-12-06 18:09:55.758855450 +0100
+@@ -333,9 +333,9 @@
+ 
+ AM_CONDITIONAL([CPU_ARM], [test "$cpu_arm" = "yes"])
+ AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
+-    [test x"${inline_optimization:0:3}" = x"ARM"])
++    [echo x"${inline_optimization}" | grep -q "^xARM"])
+ AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
+-    [test x"${asm_optimization:0:3}" = x"ARM"])
++    [echo x"${asm_optimization}" | grep -q "^xARM"])
+ 
+ AS_IF([test x"$enable_rtcd" = x"yes"],[
+     AS_IF([test x"$rtcd_support" != x"no"],[
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opus.git/commitdiff/83841a13c00ba485ed1e6dff9b1c85f24adb3bc8



More information about the pld-cvs-commit mailing list