From 47dd7584127080937d7f54cae05905540e2b4b4e0c0a7534e3d384b19ce047b5 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 2 Mar 2023 14:13:12 +0000 Subject: [PATCH] Accepting request 1066216 from home:alarrosa:branches:multimedia:libs - Disable the aws plugin in big endian architectures since it requires the ring crate which doesn't support big endian systems (see gh#briansmith/ring#1555) OBS-URL: https://build.opensuse.org/request/show/1066216 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=36 --- gstreamer-plugins-rs.changes | 7 +++++++ gstreamer-plugins-rs.spec | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/gstreamer-plugins-rs.changes b/gstreamer-plugins-rs.changes index d50d3c2..31628b2 100644 --- a/gstreamer-plugins-rs.changes +++ b/gstreamer-plugins-rs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 16 15:14:03 UTC 2023 - Antonio Larrosa + +- Disable the aws plugin in big endian architectures since it + requires the ring crate which doesn't support big endian systems + (see gh#briansmith/ring#1555) + ------------------------------------------------------------------- Thu Feb 16 09:42:41 UTC 2023 - Antonio Larrosa diff --git a/gstreamer-plugins-rs.spec b/gstreamer-plugins-rs.spec index 0c264c9..925132f 100644 --- a/gstreamer-plugins-rs.spec +++ b/gstreamer-plugins-rs.spec @@ -24,6 +24,12 @@ # Disable csound for now, bring issue upstream #%%global __requires_exclude pkgconfig\\(csound\\) +%ifarch s390 s390x ppc ppc64 +%bcond_with aws +%else +%bcond_without aws +%endif + Name: gstreamer-plugins-rs Version: 0.10.1+git20230213.9cd68ff Release: 0 @@ -112,6 +118,9 @@ export RUSTFLAGS=%{rustflags} -Ddav1d=auto \ -Dsodium=enabled \ -Dcsound=disabled \ +%if %{without aws} + -Daws=disabled \ +%endif %{nil} %meson_build @@ -125,7 +134,9 @@ cp %{SOURCE3} %{buildroot}%{_datadir}/appdata/ %license LICENSE-APACHE LICENSE-LGPLv2 LICENSE-MIT %doc README.md %dir %{_libdir}/gstreamer-%{gst_branch} +%if %{with aws} %{_libdir}/gstreamer-%{gst_branch}/libgstaws.so +%endif %{_libdir}/gstreamer-%{gst_branch}/libgstcdg.so %{_libdir}/gstreamer-%{gst_branch}/libgstclaxon.so # Disable csound for now, bring issue upstream