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

- Update to version 0.7.2:
- Switch service to using an explicit released tag.
- Drop 0001-Fix-cast-to-f64-so-it-builds-in-i586.patch: Fixed
  upstream.

OBS-URL: https://build.opensuse.org/request/show/916914
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-rs?expand=0&rev=6
This commit is contained in:
Antonio Larrosa 2021-09-06 15:05:50 +00:00 committed by Git OBS Bridge
parent fbefc6da12
commit ddd8d359ef
8 changed files with 18 additions and 54 deletions

View File

@ -1,37 +0,0 @@
From 9f39c3276e2d9a373e80a83ef127527bfff8f1f7 Mon Sep 17 00:00:00 2001
From: Antonio Larrosa <antonio.larrosa@gmail.com>
Date: Tue, 20 Apr 2021 07:35:59 +0200
Subject: [PATCH] Fix cast to f64 so it builds in i586
For some reason (compiler bug?), the rust compiler fails to compare
u32 and f64 types on i586 with the following error:
error[E0282]: type annotations needed
--> audio/csound/src/filter/imp.rs:611:47
|
611 | if rate != out_info.rate() || rate != csound.get_sample_rate() as _ {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
|
= note: type must be known at this point
Using an explicit cast solves the issue.
---
audio/csound/src/filter/imp.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/csound/src/filter/imp.rs b/audio/csound/src/filter/imp.rs
index 9ab2292..3059ccb 100644
--- a/audio/csound/src/filter/imp.rs
+++ b/audio/csound/src/filter/imp.rs
@@ -608,7 +608,7 @@ impl BaseTransformImpl for CsoundFilter {
let rate = in_info.rate();
// Check if the negotiated caps are the right ones
- if rate != out_info.rate() || rate != csound.get_sample_rate() as _ {
+ if rate != out_info.rate() || rate as f64 != csound.get_sample_rate() {
return Err(loggable_error!(
CAT,
"Failed to negotiate caps: invalid sample rate {}",
--
2.31.1

View File

@ -2,8 +2,10 @@
<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">0.6.0+git%cd.%h</param>
<param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">0.7.2</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -6,17 +6,9 @@ git = "https://github.com/fengalin/tokio"
tag = "tokio-0.2.13-throttling"
replace-with = "vendored-sources"
[source."https://github.com/gtk-rs/gtk-rs"]
git = "https://github.com/gtk-rs/gtk-rs"
replace-with = "vendored-sources"
[source."https://github.com/rust-av/flavors"]
git = "https://github.com/rust-av/flavors"
replace-with = "vendored-sources"
[source."https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44043d0eaa36d93ac5dcfa4ab3452becbaef5977501877c7727199f7482dfda5
size 33694416

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3cbf4a3879de3ead9bed65e5ba7df80bff80ef48bd1c57defbb4cc693d0d2fa
size 461372

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Sep 4 23:21:39 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.7.2:
- Switch service to using an explicit released tag.
- Drop 0001-Fix-cast-to-f64-so-it-builds-in-i586.patch: Fixed
upstream.
-------------------------------------------------------------------
Mon Apr 19 15:00:36 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -24,7 +24,7 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: gstreamer-plugins-rs
Version: 0.6.0+git20210416.61214b5
Version: 0.7.2
Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1-or-later
@ -36,7 +36,6 @@ Source1: vendor.tar.xz
Source2: cargo_config
Source3: gstreamer-plugins-rs.appdata.xml
Source99: baselibs.conf
Patch0: 0001-Fix-cast-to-f64-so-it-builds-in-i586.patch
BuildRequires: cargo
BuildRequires: cargo-c

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:485cb4a2b51e6dbb3f422e9228300743fc62cc64bb2ab5dec07d24f16c96e693
size 32616456
oid sha256:86bea5cfbba77e6425cf42e2798ec2d31f26219ab2bc142930ca7c038a15b916
size 33360948