Accepting request 835398 from home:alarrosa:branches:multimedia:libs:gstreamer
Update to gstreamer 1.18.0 OBS-URL: https://build.opensuse.org/request/show/835398 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=1
This commit is contained in:
commit
d253bfa9de
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3832
Cargo.lock
generated
Normal file
3832
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git</param>
|
||||
<param name="filename">gstreamer-plugins-rs</param>
|
||||
<!-- <param name="versionformat">@PARENT_TAG@+git%cd.%h</param>-->
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">1.18.0</param>
|
||||
<param name="scm">git</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled" />
|
||||
</services>
|
||||
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
gstreamer-plugins-rs
|
3
gstreamer-plugins-rs-1.18.0.tar.xz
Normal file
3
gstreamer-plugins-rs-1.18.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c4852177c66f797d1c5b16f2c1d7f97dd6f815c6c7bc498054c2385d369499d
|
||||
size 397980
|
16
gstreamer-plugins-rs.appdata.xml
Normal file
16
gstreamer-plugins-rs.appdata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2013 Richard Hughes <richard@hughsie.com> -->
|
||||
<application>
|
||||
<id type="codec">gstreamer-plugins-rs</id>
|
||||
<metadata_license>CC0</metadata_license>
|
||||
<name>GStreamer Plugins rust</name>
|
||||
<summary>Multimedia plugins written in rust</summary>
|
||||
<description>
|
||||
<p>
|
||||
This addon includes several plugins that are written in Rust.
|
||||
</p>
|
||||
<p>
|
||||
The plugins build upon the GStreamer Rust bindings.
|
||||
</p>
|
||||
</description>
|
||||
</application>
|
4
gstreamer-plugins-rs.changes
Normal file
4
gstreamer-plugins-rs.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 16 11:14:49 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Initial release of gstreamer-plugins-rs 1.18.0
|
123
gstreamer-plugins-rs.spec
Normal file
123
gstreamer-plugins-rs.spec
Normal file
@ -0,0 +1,123 @@
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define gstreamer_req_version %(echo %{version} | sed -e "s/+.*//")
|
||||
|
||||
%define _name gstreamer-plugins-rs
|
||||
%define gst_branch 1.0
|
||||
|
||||
Name: gstreamer-plugins-rs
|
||||
Version: 1.18.0
|
||||
Release: 0
|
||||
Summary: GStreamer Streaming-Media Framework Plug-Ins
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Productivity/Multimedia/Other
|
||||
URL: https://gstreamer.freedesktop.org/
|
||||
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: vendor-cargo-config
|
||||
Source3: gstreamer-plugins-rs.appdata.xml
|
||||
Source4: Cargo.lock
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: cargo
|
||||
BuildRequires: csound-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: meson >= 0.47.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: rust
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: rust-std
|
||||
BuildRequires: pkgconfig(cairo) >= 1.10.0
|
||||
BuildRequires: pkgconfig(gstreamer-1.0) >= %{gstreamer_req_version}
|
||||
BuildRequires: pkgconfig(gstreamer-base-1.0) >= %{gstreamer_req_version}
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{gstreamer_req_version}
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.0
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
Requires: gstreamer >= %{gstreamer_req_version}
|
||||
Requires: gstreamer-plugins-base >= %{gstreamer_req_version}
|
||||
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
|
||||
processing capabilities can be added simply by installing new plug-ins.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{_name}-%{version} -p1
|
||||
|
||||
%setup -q -D -T -a 1
|
||||
%define cargo_registry $(pwd)/vendor
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
cp %{SOURCE4} .
|
||||
sed -i -e "s,^directory = .*,directory = \"$PWD/vendor\"," .cargo/config
|
||||
sed -i -e "/generic\/threadshare/d" Cargo.toml
|
||||
sed -i -e "/generic\/sodium/d" Cargo.toml
|
||||
sed -i -e "/video\/dav1d/d" Cargo.toml
|
||||
|
||||
|
||||
|
||||
#translation-update-upstream po gst-plugins-good-%%{gst_branch}
|
||||
|
||||
%build
|
||||
#export CARGO_HOME=$PWD/vendor
|
||||
export CSOUND_LIB_DIR=%{_libdir}
|
||||
%meson \
|
||||
-Dpackage-name='openSUSE GStreamer-plugins-rs package' \
|
||||
-Dpackage-origin='http://download.opensuse.org' \
|
||||
-Ddav1d=disabled
|
||||
%{nil}
|
||||
#/usr/bin/meson compile -C build -j1 --verbose
|
||||
cd build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}/gstreamer-%{gst_branch}/
|
||||
cp target/release/*.so %{buildroot}%{_libdir}/gstreamer-%{gst_branch}/
|
||||
|
||||
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
|
||||
%{_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}/libgstrstutorial.so
|
||||
%{_libdir}/gstreamer-%{gst_branch}/libgstrusoto.so
|
||||
%{_libdir}/gstreamer-%{gst_branch}/libgsttogglerecord.so
|
||||
%dir %{_datadir}/appdata
|
||||
%{_datadir}/appdata/gstreamer-plugins-rs.appdata.xml
|
||||
|
||||
%changelog
|
70
vendor-cargo-config
Normal file
70
vendor-cargo-config
Normal file
@ -0,0 +1,70 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/atk"]
|
||||
git = "https://github.com/gtk-rs/atk"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/cairo"]
|
||||
git = "https://github.com/gtk-rs/cairo"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/gdk"]
|
||||
git = "https://github.com/gtk-rs/gdk"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/gdk-pixbuf"]
|
||||
git = "https://github.com/gtk-rs/gdk-pixbuf"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/gio"]
|
||||
git = "https://github.com/gtk-rs/gio"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/glib"]
|
||||
git = "https://github.com/gtk-rs/glib"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/gtk"]
|
||||
git = "https://github.com/gtk-rs/gtk"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/pango"]
|
||||
git = "https://github.com/gtk-rs/pango"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/pangocairo"]
|
||||
git = "https://github.com/gtk-rs/pangocairo"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/gtk-rs/sys"]
|
||||
git = "https://github.com/gtk-rs/sys"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/rust-av/flavors"]
|
||||
git = "https://github.com/rust-av/flavors"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"]
|
||||
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys"]
|
||||
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys"
|
||||
branch = "master"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a17424fea3cfb34c57fc3d3ea7c8a545462f4f932a5b2247f924593cbfc4d82
|
||||
size 29862128
|
Loading…
Reference in New Issue
Block a user