Accepting request 205791 from home:Andreas_Schwab:Factory

- aarch64-no-neon.patch: Disable use of NEON on aarch64

OBS-URL: https://build.opensuse.org/request/show/205791
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2013-11-04 21:47:28 +00:00 committed by Git OBS Bridge
parent 7d94c69f9e
commit b57856fd91
3 changed files with 21 additions and 0 deletions

14
aarch64-no-neon.patch Normal file
View File

@ -0,0 +1,14 @@
Index: gst-plugins-base-1.2.0/gst/audioresample/resample.c
===================================================================
--- gst-plugins-base-1.2.0.orig/gst/audioresample/resample.c
+++ gst-plugins-base-1.2.0/gst/audioresample/resample.c
@@ -92,6 +92,9 @@
#ifndef HAVE_ARM_NEON
#undef _USE_NEON
#endif
+#ifdef __aarch64__ /* Not ported yet */
+#undef _USE_NEON
+#endif
#endif
static inline void *

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 4 21:06:05 UTC 2013 - schwab@suse.de
- aarch64-no-neon.patch: Disable use of NEON on aarch64
-------------------------------------------------------------------
Tue Oct 22 20:59:08 UTC 2013 - dimstar@opensuse.org

View File

@ -28,6 +28,7 @@ License: LGPL-2.1+ and GPL-2.0+
Group: Productivity/Multimedia/Other
Source: http://download.gnome.org/sources/gst-plugins-base/1.2/%{_name}-%{version}.tar.xz
Source2: baselibs.conf
Patch: aarch64-no-neon.patch
BuildRequires: cdparanoia-devel
BuildRequires: glib2-devel >= 2.32
BuildRequires: gstreamer-devel >= 1.0.10
@ -422,6 +423,7 @@ package.
%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch -p1
translation-update-upstream po gst-plugins-base-%{gst_branch}
%build