Accepting request 930968 from home:iznogood:branches:multimedia:libs

- Disable csound plugin for now, mask all macros, BuildRequires and
  set option passed to meson to disabled (was auto), wait for
  upstream to fix the issues identified.

OBS-URL: https://build.opensuse.org/request/show/930968
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=10
This commit is contained in:
Takashi Iwai 2021-11-13 12:20:57 +00:00 committed by Git OBS Bridge
parent 0f4d7cbabe
commit a3e0c2d521
2 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 10 18:52:14 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Disable csound plugin for now, mask all macros, BuildRequires and
set option passed to meson to disabled (was auto), wait for
upstream to fix the issues identified.
-------------------------------------------------------------------
Tue Nov 2 19:51:56 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -19,7 +19,8 @@
%define _name gstreamer-plugins-rs
%define gst_branch 1.0
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
%global __requires_exclude pkgconfig\\(csound\\)
# Disable csound for now, bring issue upstream
#%%global __requires_exclude pkgconfig\\(csound\\)
Name: gstreamer-plugins-rs
Version: 0.7.2
@ -37,7 +38,8 @@ Source3: gstreamer-plugins-rs.appdata.xml
BuildRequires: cargo
BuildRequires: cargo-c
BuildRequires: clang
BuildRequires: csound-devel
# Disable csound for now, bring issue upstream
#BuildRequires: csound-devel
BuildRequires: llvm
BuildRequires: meson >= 0.47.0
BuildRequires: nasm
@ -69,7 +71,7 @@ plug-ins.
Summary: GStreamer Streaming-Media Framework Plug-Ins development files
Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: csound-devel
#Requires: csound-devel
%description devel
GStreamer is a streaming media framework based on graphs of filters
@ -91,13 +93,14 @@ mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
export CSOUND_LIB_DIR=%{_libdir}
# Disable csound for now, bring issue upstream
#export CSOUND_LIB_DIR=%%{_libdir}
export RUSTFLAGS=%{rustflags}
%meson \
-Ddav1d=auto \
-Dsodium=system \
-Dcsound=auto \
-Dcsound=disabled \
%{nil}
%meson_build
@ -113,7 +116,8 @@ cp %{SOURCE3} %{buildroot}%{_datadir}/appdata/
%dir %{_libdir}/gstreamer-%{gst_branch}
%{_libdir}/gstreamer-%{gst_branch}/libgstcdg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstclaxon.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcsound.so
# Disable csound for now, bring issue upstream
#%%{_libdir}/gstreamer-%%{gst_branch}/libgstcsound.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsdav1d.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfallbackswitch.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgif.so