2020-10-02 17:30:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package gstreamer-plugins-rs
|
|
|
|
#
|
|
|
|
# Copyright (c) 2020 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
# dav1d plugin fails to build with lto enabled
|
|
|
|
%define _lto_cflags %{nil}
|
2020-10-02 17:30:08 +02:00
|
|
|
|
|
|
|
%define _name gstreamer-plugins-rs
|
|
|
|
%define gst_branch 1.0
|
|
|
|
|
|
|
|
Name: gstreamer-plugins-rs
|
2020-12-10 14:25:13 +01:00
|
|
|
Version: 0.6.0+git20201201.58786fa
|
2020-10-02 17:30:08 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: GStreamer Streaming-Media Framework Plug-Ins
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
URL: https://gstreamer.freedesktop.org/
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
|
2020-12-10 14:25:13 +01:00
|
|
|
Source0: %{_name}-%{version}.tar.xz
|
2020-10-02 17:30:08 +02:00
|
|
|
Source1: vendor.tar.xz
|
2020-12-10 14:25:13 +01:00
|
|
|
Source2: cargo_config
|
2020-10-02 17:30:08 +02:00
|
|
|
Source3: gstreamer-plugins-rs.appdata.xml
|
|
|
|
Source99: baselibs.conf
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
|
2020-10-02 17:30:08 +02:00
|
|
|
BuildRequires: cargo
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
BuildRequires: clang
|
2020-10-02 17:30:08 +02:00
|
|
|
BuildRequires: csound-devel
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
BuildRequires: llvm
|
2020-10-02 17:30:08 +02:00
|
|
|
BuildRequires: meson >= 0.47.0
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
BuildRequires: nasm
|
2020-10-02 17:30:08 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-12-10 14:25:13 +01:00
|
|
|
BuildRequires: rust >= 1.40
|
2020-10-02 17:30:08 +02:00
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-std
|
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.10.0
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
BuildRequires: pkgconfig(dav1d)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-base-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
|
|
|
BuildRequires: pkgconfig(libsodium)
|
2020-10-02 17:30:08 +02:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
Requires: gstreamer
|
|
|
|
Requires: gstreamer-plugins-base
|
2020-10-02 17:30:08 +02:00
|
|
|
Enhances: gstreamer
|
|
|
|
|
|
|
|
%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
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
processing capabilities can be added simply by installing new
|
|
|
|
plug-ins.
|
2020-10-02 17:30:08 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{_name}-%{version} -p1
|
|
|
|
|
|
|
|
%setup -q -D -T -a 1
|
|
|
|
%define cargo_registry $(pwd)/vendor
|
|
|
|
mkdir .cargo
|
|
|
|
cp %{SOURCE2} .cargo/config
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CSOUND_LIB_DIR=%{_libdir}
|
|
|
|
%meson \
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
-Ddav1d=auto \
|
|
|
|
-Dsodium=system \
|
|
|
|
-Dcsound=auto \
|
2020-10-02 17:30:08 +02:00
|
|
|
%{nil}
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
%meson_build
|
2020-10-02 17:30:08 +02:00
|
|
|
|
|
|
|
%install
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
%meson_install
|
2020-10-02 17:30:08 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/appdata
|
|
|
|
cp %{SOURCE3} %{buildroot}%{_datadir}/appdata/
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE-APACHE LICENSE-LGPLv2 LICENSE-MIT
|
|
|
|
%doc README.md
|
|
|
|
%dir %{_libdir}/gstreamer-%{gst_branch}
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstcdg.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstclaxon.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstcsound.so
|
Accepting request 859718 from home:iznogood:branches:multimedia:libs
- Enable build of dav1d plugin, do this via:
+ Disable LTO via macro.
+ Add clang and pkgconfig(dav1d) BuildRequires.
+ No longer pass dav1d=disabled to meson, nor remove dav1d from
cargo.toml via sed call.
- Add pkgconfig(libsodium) BuildRequires and pass sodium=system to
meson, do not use package internal version of sodium.
- Drop pkgconfig(gtk+-3.0) BuildRequires, not needed.
- Add pkgconfig(pango) BuildRequires: Mandatory, previously pulled
in by pkgconfig(gtk+-3.0), and add optional nasm BuildRequires.
- Drop gcc-c++ BuildRequires, no longer needed, nor used.
- Replace llvm-devel with llvm BuildRequires, this is sufficent.
- Do general cleanup of spec, make package ready for submit to TW.
Use normal meson macros.
- Add _constraints, ensure the build have enough harddisk space.
OBS-URL: https://build.opensuse.org/request/show/859718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=4
2021-01-08 11:48:03 +01:00
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstrsdav1d.so
|
2020-10-02 17:30:08 +02:00
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstfallbackswitch.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstgif.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstlewton.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstrav1e.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}/libgstrspng.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstrstextwrap.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstrusoto.so
|
2020-12-10 14:25:13 +01:00
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstsodium.so
|
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgstthreadshare.so
|
2020-10-02 17:30:08 +02:00
|
|
|
%{_libdir}/gstreamer-%{gst_branch}/libgsttogglerecord.so
|
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/gstreamer-plugins-rs.appdata.xml
|
|
|
|
|
|
|
|
%changelog
|