diff --git a/.gitignore b/.gitignore index d94ed41..1f31b8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /gst-plugin-gtk4-0.10.10.crate /gst-plugin-gtk4-0.11.0.crate /gst-plugin-gtk4-0.11.1.crate +/gst-plugin-gtk4-0.11.3.crate diff --git a/gst-plugin-gtk4-fix-metadata-auto.diff b/gst-plugin-gtk4-fix-metadata-auto.diff index e8e2680..6cbef32 100644 --- a/gst-plugin-gtk4-fix-metadata-auto.diff +++ b/gst-plugin-gtk4-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- gst-plugin-gtk4-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gst-plugin-gtk4-0.11.1/Cargo.toml 2023-10-21T22:15:51.631419+00:00 +--- gst-plugin-gtk4-0.11.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ gst-plugin-gtk4-0.11.3/Cargo.toml 2024-01-13T16:07:16.234369+00:00 @@ -117,7 +117,6 @@ "gst_gl_wayland", ] @@ -38,7 +38,7 @@ -package = "gtk4" - -[target."cfg(target_os = \"windows\")".dependencies.windows-sys] --version = "0.48" +-version = "0.52" -features = [ - "Win32_Graphics_OpenGL", - "Win32_Foundation", diff --git a/gst-plugin-gtk4-fix-metadata.diff b/gst-plugin-gtk4-fix-metadata.diff index 051bb88..f8dc997 100644 --- a/gst-plugin-gtk4-fix-metadata.diff +++ b/gst-plugin-gtk4-fix-metadata.diff @@ -1,14 +1,5 @@ ---- gst-plugin-gtk4-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gst-plugin-gtk4-0.11.1/Cargo.toml 2023-10-21T22:16:21.379550+00:00 -@@ -25,7 +25,7 @@ - repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" - - [package.metadata.capi] --min_version = "0.9.21" -+min_version = "0.9.19" - - [package.metadata.capi.header] - enabled = false +--- gst-plugin-gtk4-0.11.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ gst-plugin-gtk4-0.11.3/Cargo.toml 2024-01-13T16:07:45.779502+00:00 @@ -116,9 +116,6 @@ "gst_gl", "gst_gl_wayland", diff --git a/rust-gst-plugin-gtk4.spec b/rust-gst-plugin-gtk4.spec index aff23fe..2d553f2 100644 --- a/rust-gst-plugin-gtk4.spec +++ b/rust-gst-plugin-gtk4.spec @@ -4,7 +4,7 @@ %global crate gst-plugin-gtk4 Name: rust-gst-plugin-gtk4 -Version: 0.11.1 +Version: 0.11.3 Release: %autorelease Summary: GStreamer GTK 4 Sink element and Paintable widget @@ -14,7 +14,6 @@ Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: gst-plugin-gtk4-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * downgrade cargo-c dep to the version available in Fedora # * drop Windows-specific "winegl" feature Patch: gst-plugin-gtk4-fix-metadata.diff @@ -27,13 +26,12 @@ GStreamer GTK 4 Sink element and Paintable widget.} %package -n gstreamer1-plugin-gtk4 Summary: %{summary} - # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT -License: (Apache-2.0 OR MIT) AND MIT AND (MIT OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) +License: MPL-2.0 AND MIT AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown # additionally provide the upstream name @@ -229,7 +227,7 @@ echo 'cargo-c' %cargo_build -f wayland,x11egl,x11glx %cargo_cbuild -f wayland,x11egl,x11glx # write license summary and breakdown -%cargo_license_summary -f wayland,x11egl,x11glx +%{cargo_license_summary -f wayland,x11egl,x11glx} %{cargo_license -f wayland,x11egl,x11glx} > LICENSE.dependencies %install diff --git a/sources b/sources index a54da39..6b62cc6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gst-plugin-gtk4-0.11.1.crate) = 3055fe8c88490773e531095b225369b412fc5b8a76c175192b7a7eaf7affe4b98d1896daca79920ea2ada11167d7e6caa2f7bd5f47caaf9007eab69213e2cb51 +SHA512 (gst-plugin-gtk4-0.11.3.crate) = b44fc1dfa27e8b498ce3465b58a7ce81a3adad08142ed7a412cf122a40723417f4dea2ce73b0c217ffa4c29362039fbb57215047f778bf6e62296bb6006f4e09