From 823730a211e99447f14762671dc4980c08f7f68b8dc9b6006d781d2313ef4296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 25 Jul 2019 08:19:43 +0000 Subject: [PATCH] Accepting request 718239 from home:marxin:branches:multimedia:libs - Add gstreamer-plugins-base-arm-neon-configuration.patch as an upstream backport of: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/d8d4904e - Use %make_build. OBS-URL: https://build.opensuse.org/request/show/718239 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=136 --- ...eamer-plugins-base-arm-neon-configuration.patch | 14 ++++++++++++++ gstreamer-plugins-base.changes | 8 ++++++++ gstreamer-plugins-base.spec | 3 ++- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 gstreamer-plugins-base-arm-neon-configuration.patch diff --git a/gstreamer-plugins-base-arm-neon-configuration.patch b/gstreamer-plugins-base-arm-neon-configuration.patch new file mode 100644 index 0000000..aa501f5 --- /dev/null +++ b/gstreamer-plugins-base-arm-neon-configuration.patch @@ -0,0 +1,14 @@ +diff --git a/configure b/configure +index 58c2986..32ca4bf 100755 +--- a/configure ++++ b/configure +@@ -24206,7 +24206,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + #include +- int32x4_t testfunc(int16_t *a, int16_t *b) { ++ int32x4_t __attribute__((used)) testfunc(int16_t *a, int16_t *b) { + asm volatile ("vmull.s16 q0, d0, d0" : : : "q0"); + return vmull_s16(vld1_s16(a), vld1_s16(b)); + } + diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index f948757..7e43e95 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jul 24 12:40:14 UTC 2019 - Martin Liška + +- Add gstreamer-plugins-base-arm-neon-configuration.patch + as an upstream backport of: + https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/d8d4904e +- Use %make_build. + ------------------------------------------------------------------- Tue Jun 18 21:24:11 UTC 2019 - mgorse@suse.com diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index dbc3602..5988961 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -34,6 +34,7 @@ Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}- Source1: gstreamer-plugins-base.appdata.xml Source2: baselibs.conf Patch0: gst-plugins-base-doc-build-fix.patch +Patch1: gstreamer-plugins-base-arm-neon-configuration.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: cdparanoia-devel @@ -496,7 +497,7 @@ export PYTHON=%{_bindir}/python3 --enable-orc\ %endif %{nil} -make %{?_smp_mflags} +%make_build %endif %install