Accepting request 127733 from multimedia:libs
- add ppc64 to known platforms (forwarded request 127039 from k0da) OBS-URL: https://build.opensuse.org/request/show/127733 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/webrtc-audio-processing?expand=0&rev=3
This commit is contained in:
commit
ed1738840c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 3 15:00:06 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- add ppc64 to known platforms
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 15 10:40:38 CET 2012 - pascal.bleser@opensuse.org
|
Tue May 15 10:40:38 CET 2012 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ BuildRequires: libtool
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
Patch0: webrtc-ppc64.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
@ -85,6 +86,7 @@ WebRTC implements the W3C's proposal for video conferencing on the web.
|
|||||||
%setup -q -T -c "%{name}-%{version}"
|
%setup -q -T -c "%{name}-%{version}"
|
||||||
xz --decompress --stdout "%{SOURCE0}" | %__tar xf - --strip-components=1
|
xz --decompress --stdout "%{SOURCE0}" | %__tar xf - --strip-components=1
|
||||||
%__sed -i 's/\r$//' AUTHORS
|
%__sed -i 's/\r$//' AUTHORS
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
17
webrtc-ppc64.patch
Normal file
17
webrtc-ppc64.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Index: webrtc-audio-processing-0.1/src/typedefs.h
|
||||||
|
===================================================================
|
||||||
|
--- webrtc-audio-processing-0.1.orig/src/typedefs.h
|
||||||
|
+++ webrtc-audio-processing-0.1/src/typedefs.h
|
||||||
|
@@ -76,6 +76,12 @@
|
||||||
|
//#define WEBRTC_ARCH_ARMEL
|
||||||
|
#define WEBRTC_ARCH_32_BITS
|
||||||
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
+#elif defined(__powerpc64__)
|
||||||
|
+#define WEBRTC_BIG_ENDIAN
|
||||||
|
+#define WEBRTC_ARCH_64_BITS
|
||||||
|
+#elif defined(__powerpc__)
|
||||||
|
+#define WEBRTC_BIG_ENDIAN
|
||||||
|
+#define WEBRTC_ARCH_32_BITS
|
||||||
|
#else
|
||||||
|
#error Please add support for your architecture in typedefs.h
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user