gstreamer-plugins-rs/gstreamer-plugins-rs.spec
Takashi Iwai 89b7cfd505 Accepting request 1096955 from home:iznogood:branches:multimedia:libs
- Update to version 0.10.9:
  + Fixed:
    - mp4mux/fmp4mux: Fix byte order in Opus extension box.
    - webrtcsrc: Add twcc extension to the codec-preferences when
      present.
    - webrtcsink: Don't try using cudaconvert if it is not present.
    - mccparse: Don't offset the first timecode to a zero PTS.
    - Correctly use MPL as license specifier instead of MPL-2 for
      plugins that compile with GStreamer < 1.20.
  + Added: fallbackswitch: Add stop-on-eos property.
- Changes from version 0.10.8:
  + Fixed:
    - fmp4mux:
      . Use updated start PTS when checking if a stream is filled
        instead of a stale one.
      . Fix various issues with stream gaps, especially in the
        beginning.
      . Fix waiting in live pipelines.
    - uriplaylistbin: Prevent deadlocks during property
      notifications.
    - webrtcsink: Fix panics during twcc-stats callback and related
      issues.
    - awstranscriber: Handle stream disconts correctly.
    - roundedcorners: Fix caps negotiation to not use I420 if a
      border radius is configured.
    - whipsink: Use the correct pad template to request pads from
      the internal webrtcbin.
    - fallbacksrc: Don't apply fallback audio caps to the main
      stream.
    - webrtcsrc: Fix caps handling during transceiver creation.
  + Changed: rtpgccbwe: Improve packet handling.
- Changes from version 0.10.7:
  + Fixed:
    - ffv1dec: Drop rank until the implementation is
      feature-complete.
    - spotifyaudiosrc: Check cached credentials before use and fix
      usage of credentials cache.
    - tttocea608: Specify raw CEA608 field.
    - gtk4paintablesink: Fix compilation on non-Linux UNIX systems.
    - webrtcsrc: Don't set stun-server to the empty string if none
      was set.
    - webrtcsink: Abort statistics collection before stopping the
      signaller.
    - rtpgccbwe: Don't process empty lists.
  + Changed:
    - ndi: Update to libloading 0.8.
    - aws: Update to AWS SDK 0.55/0.27.
    - webrtcsink: Order pads by serial number.
    - Update to async-tungstenite 0.22.
  + Added: webrtcsink/webrtcsrc: Add request-encoded-filter signal
    to add support for inserting custom filters between
    encoder/payloader or depayloader/decoder. This allows
    interacting with the "insertable streams" API from Chrome.
- Disable cargo audit service for now, something is not working
  correctly in the service.
- Use %build_rustflags instead of the deprecated
  %__default_rustflags macro. Requires at least cargo-packaging
  1.2.0+3.

OBS-URL: https://build.opensuse.org/request/show/1096955
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=49
2023-07-12 12:22:07 +00:00

182 lines
6.2 KiB
RPMSpec

#
# spec file for package gstreamer-plugins-rs
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%define _name gst-plugins-rs
%define gst_branch 1.0
# 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.9
Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
URL: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
Source: %{_name}-%{version}.tar.xz
Source2: vendor.tar.zst
Source3: cargo_config
Source4: gstreamer-plugins-rs.appdata.xml
BuildRequires: cargo-c
BuildRequires: cargo-packaging >= 1.2.0+3
BuildRequires: clang
# Disable csound for now, bring issue upstream
#BuildRequires: csound-devel
BuildRequires: llvm
BuildRequires: git
BuildRequires: meson >= 0.60
BuildRequires: nasm
BuildRequires: pkgconfig
BuildRequires: python3-tomli
BuildRequires: zstd
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(dav1d)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gstreamer-webrtc-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libsodium)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(pango)
Requires: gstreamer
Requires: gstreamer-plugins-base
Enhances: gstreamer
ExcludeArch: ppc ppc64 ppc64le s390
%description
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new
plug-ins.
This package provides various plugins written in Rust.
%package devel
Summary: GStreamer Streaming-Media Framework Plug-Ins development files
Group: Development/Libraries/Other
Requires: %{name} = %{version}
#Requires: csound-devel
%description devel
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new
plug-ins.
This package contains the pkgconfig development files for the rust
plugins.
%prep
%autosetup -n %{_name}-%{version} -a2 -p1
mkdir .cargo
cp %{SOURCE3} .cargo/config
%build
# Disable csound for now, bring issue upstream
#export CSOUND_LIB_DIR=%%{_libdir}
export RUSTFLAGS="%{build_rustflags}"
%meson \
--default-library=shared \
-Ddoc=disabled \
-Ddav1d=auto \
-Dsodium=enabled \
-Dcsound=disabled \
%if %{without aws}
-Daws=disabled \
%endif
%{nil}
%meson_build
%install
export RUSTFLAGS="%{build_rustflags}"
%meson_install
mkdir -p %{buildroot}%{_datadir}/appdata
cp %{SOURCE4} %{buildroot}%{_datadir}/appdata/
%files
%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
#%%{_libdir}/gstreamer-%%{gst_branch}/libgstcsound.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdav1d.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfallbackswitch.so
%{_libdir}/gstreamer-%{gst_branch}/libgstffv1.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfmp4.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgif.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgtk4.so
%{_libdir}/gstreamer-%{gst_branch}/libgsthlssink3.so
%{_libdir}/gstreamer-%{gst_branch}/libgsthsv.so
%{_libdir}/gstreamer-%{gst_branch}/libgstjson.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlewton.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlivesync.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmp4.so
%{_libdir}/gstreamer-%{gst_branch}/libgstndi.so
%{_libdir}/gstreamer-%{gst_branch}/libgstraptorq.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrav1e.so
%{_libdir}/gstreamer-%{gst_branch}/libgstregex.so
%{_libdir}/gstreamer-%{gst_branch}/libgstreqwest.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsaudiofx.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsclosedcaption.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsfile.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsflv.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsonvif.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrspng.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsrtp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrstracers.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsvideofx.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrswebp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrswebrtc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsodium.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspotify.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttextahead.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttextwrap.so
%{_libdir}/gstreamer-%{gst_branch}/libgstthreadshare.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttogglerecord.so
%{_libdir}/gstreamer-%{gst_branch}/libgsturiplaylistbin.so
%{_libdir}/gstreamer-%{gst_branch}/libgstwebrtchttp.so
%dir %{_datadir}/appdata
%{_datadir}/appdata/gstreamer-plugins-rs.appdata.xml
%{_bindir}/gst-webrtc-signalling-server
%files devel
%{_libdir}/pkgconfig/*.pc
%changelog