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