Accepting request 157307 from devel:ARM:AArch64:Factory

Add aarch64 support

OBS-URL: https://build.opensuse.org/request/show/157307
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/webrtc-audio-processing?expand=0&rev=8
This commit is contained in:
Ismail Dönmez 2013-03-06 18:40:33 +00:00 committed by Git OBS Bridge
parent ed66474b9c
commit 97aafcd1bf
2 changed files with 15 additions and 1 deletions

12
webrtc-aarch64.patch Normal file
View File

@ -0,0 +1,12 @@
--- src/typedefs.h
+++ src/typedefs.h
@@ -82,6 +82,9 @@
#elif defined(__s390__)
#define WEBRTC_BIG_ENDIAN
#define WEBRTC_ARCH_32_BITS
+#elif defined(__aarch64__)
+#define WEBRTC_LITTLE_ENDIAN
+#define WEBRTC_ARCH_64_BITS
#else
#error Please add support for your architecture in typedefs.h
#endif

View File

@ -2,7 +2,7 @@
#
# spec file for package webrtc-audio-processing
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -40,6 +40,7 @@ BuildRequires: pkgconfig
BuildRequires: xz
Patch0: webrtc-ppc64.patch
Patch1: webrtc-s390x.patch
Patch2: webrtc-aarch64.patch
%description
WebRTC is an open source project that enables web browsers with Real-Time
@ -89,6 +90,7 @@ xz --decompress --stdout "%{SOURCE0}" | %__tar xf - --strip-components=1
%__sed -i 's/\r$//' AUTHORS
%patch0 -p1
%patch1
%patch2
%build
%configure