git: f87a38f78e60 - main - multimedia/gstreamer1-plugins-rust: update to 0.9.5

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 11 Jan 2023 10:59:34 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f87a38f78e6029b7be279a60a92a4204e00f1259

commit f87a38f78e6029b7be279a60a92a4204e00f1259
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-27 11:15:11 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-11 10:59:12 +0000

    multimedia/gstreamer1-plugins-rust: update to 0.9.5
    
    Changes:        https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/compare/0.9.4...0.9.5
---
 multimedia/gstreamer1-plugins-rust/Makefile        | 18 ++++----
 multimedia/gstreamer1-plugins-rust/Makefile.crates | 24 +++++------
 multimedia/gstreamer1-plugins-rust/distinfo        | 48 +++++++++++-----------
 .../gstreamer1-plugins-rust/files/patch-webp       | 17 ++++++++
 multimedia/gstreamer1-plugins-rust/pkg-plist       |  4 +-
 5 files changed, 66 insertions(+), 45 deletions(-)

diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 1cc531ae563b..071fd24e3574 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gstreamer1-plugins-rust
-DISTVERSION=	0.9.4
-PORTREVISION=	1
+DISTVERSION=	0.9.5
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -21,15 +20,15 @@ USE_GSTREAMER=	bad # webrtc
 GL_SITE=	https://gitlab.freedesktop.org
 GL_ACCOUNT=	gstreamer
 GL_PROJECT=	gst-plugins-rs
-GL_COMMIT=	f4cb4b9da68c1ea44d8c19380459f0240766f557
+GL_COMMIT=	2f623e15c2312e620e998fc8fa832491c65966f7
 SHEBANG_FILES=	dependencies.py
 MAKE_ENV=	${CARGO_ENV}
 CARGO_BUILD=	no
 CARGO_INSTALL=	no
 CARGO_TEST=	no
 
-OPTIONS_DEFINE=	CAIRO CSOUND DAV1D GTK4 PANGO SODIUM
-OPTIONS_DEFAULT=CAIRO CSOUND DAV1D GTK4 PANGO SODIUM
+OPTIONS_DEFINE=	ASM CAIRO CSOUND DAV1D GTK4 PANGO SODIUM WEBP
+OPTIONS_DEFAULT=ASM CAIRO CSOUND DAV1D GTK4 PANGO SODIUM WEBP
 OPTIONS_EXCLUDE_aarch64=	CSOUND # https://github.com/neithanmo/csound-rs/commit/8962b89d7bda
 OPTIONS_EXCLUDE_armv7=	CSOUND # https://github.com/neithanmo/csound-rs/commit/8962b89d7bda
 OPTIONS_EXCLUDE_powerpc64le=	CSOUND
@@ -37,6 +36,8 @@ OPTIONS_EXCLUDE_powerpc64=	CSOUND
 OPTIONS_EXCLUDE_powerpc=	CSOUND DAV1D
 OPTIONS_SUB=	yes
 
+ASM_BUILD_DEPENDS=	nasm:devel/nasm
+
 CAIRO_USE=		GNOME=cairo
 CAIRO_MESON_ENABLED=	videofx
 
@@ -59,8 +60,11 @@ PANGO_MESON_ENABLED=	closedcaption onvif
 
 SODIUM_DESC=		File encryption and decryption via libsodium
 SODIUM_LIB_DEPENDS=	libsodium.so:security/libsodium
-SODIUM_MESON_ON=	-Dsodium=system
-SODIUM_MESON_OFF=	-Dsodium=disabled
+SODIUM_MESON_ENABLED=	sodium
+SODIUM_MESON_ON=	-Dsodium-source=system
+
+WEBP_LIB_DEPENDS=	libwebpdemux.so:graphics/webp
+WEBP_MESON_ENABLED=	webp
 
 post-patch:
 # Make each cargo subcommand very verbose
diff --git a/multimedia/gstreamer1-plugins-rust/Makefile.crates b/multimedia/gstreamer1-plugins-rust/Makefile.crates
index 751a72f771c0..a9e7c1600fa2 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile.crates
+++ b/multimedia/gstreamer1-plugins-rust/Makefile.crates
@@ -23,10 +23,10 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		async-recursion-1.0.0 \
 		async-std-1.12.0 \
 		async-task-4.3.0 \
-		async-trait-0.1.60 \
+		async-trait-0.1.61 \
 		async-tungstenite-0.19.0 \
 		atomic-waker-1.0.0 \
-		atomic_refcell-0.1.8 \
+		atomic_refcell-0.1.9 \
 		atty-0.2.14 \
 		autocfg-1.1.0 \
 		av1-grain-0.2.2 \
@@ -157,10 +157,10 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		gif-0.11.4 \
 		gif-0.12.0 \
 		gimli-0.27.0 \
-		glob-0.3.0 \
+		glob-0.3.1 \
 		gloo-timers-0.2.5 \
 		h2-0.3.15 \
-		half-2.1.0 \
+		half-2.2.0 \
 		hashbrown-0.12.3 \
 		headers-0.3.8 \
 		headers-core-0.2.0 \
@@ -248,7 +248,7 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		new_debug_unreachable-1.0.4 \
 		nix-0.23.2 \
 		nnnoiseless-0.5.1 \
-		nom-7.1.1 \
+		nom-7.1.2 \
 		noop_proc_macro-0.3.0 \
 		nu-ansi-term-0.46.0 \
 		num-bigint-0.4.3 \
@@ -258,9 +258,9 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		num-rational-0.4.1 \
 		num-traits-0.2.15 \
 		num_cpus-1.15.0 \
-		object-0.30.0 \
+		object-0.30.1 \
 		ogg-0.8.0 \
-		once_cell-1.16.0 \
+		once_cell-1.17.0 \
 		opaque-debug-0.3.0 \
 		openssl-0.10.45 \
 		openssl-macros-0.1.0 \
@@ -378,7 +378,7 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		tempfile-3.3.0 \
 		termcolor-1.1.3 \
 		test-log-0.2.11 \
-		test-with-0.8.1 \
+		test-with-0.9.1 \
 		textwrap-0.16.0 \
 		thiserror-1.0.38 \
 		thiserror-impl-1.0.38 \
@@ -392,7 +392,7 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		time-macros-0.2.6 \
 		tinyvec-1.6.0 \
 		tinyvec_macros-0.1.0 \
-		tokio-1.23.0 \
+		tokio-1.24.1 \
 		tokio-macros-1.8.2 \
 		tokio-native-tls-0.3.0 \
 		tokio-rustls-0.23.4 \
@@ -408,7 +408,7 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		tracing-log-0.1.3 \
 		tracing-subscriber-0.3.16 \
 		transpose-0.2.2 \
-		try-lock-0.2.3 \
+		try-lock-0.2.4 \
 		tungstenite-0.18.0 \
 		typenum-1.16.0 \
 		ucd-trie-0.1.5 \
@@ -472,8 +472,8 @@ CARGO_CRATES=	addr2line-0.19.0 \
 		zerocopy-0.6.1 \
 		zerocopy-derive-0.3.2 \
 		zeroize-1.5.7 \
-		gdk4,gdk4-sys,gdk4-wayland,gdk4-wayland-sys,gdk4-x11,gdk4-x11-sys,gsk4,gsk4-sys,gtk4,gtk4-macros,gtk4-sys@git+https://github.com/gtk-rs/gtk4-rs?branch=0.5\#3adf4a5b44e84842ad806a4a0527731a01f68565 \
 		cairo-rs,cairo-sys-rs,gdk-pixbuf,gdk-pixbuf-sys,gio,gio-sys,glib,glib-macros,glib-sys,gobject-sys,graphene-rs,graphene-sys,pango,pango-sys,pangocairo,pangocairo-sys@git+https://github.com/gtk-rs/gtk-rs-core?branch=0.16\#d23290301d4d853472faef04b65313ff894bd1c9 \
 		ffv1@git+https://github.com/rust-av/ffv1.git?rev=2afb025a327173ce891954c052e804d0f880368a\#2afb025a327173ce891954c052e804d0f880368a \
 		flavors@git+https://github.com/rust-av/flavors\#c48542aef94b7da36d6f306f4016bee9c79e09ba \
-		gstreamer,gstreamer-app,gstreamer-app-sys,gstreamer-audio,gstreamer-audio-sys,gstreamer-base,gstreamer-base-sys,gstreamer-check,gstreamer-check-sys,gstreamer-gl,gstreamer-gl-egl,gstreamer-gl-egl-sys,gstreamer-gl-sys,gstreamer-gl-wayland,gstreamer-gl-wayland-sys,gstreamer-gl-x11,gstreamer-gl-x11-sys,gstreamer-net,gstreamer-net-sys,gstreamer-pbutils,gstreamer-pbutils-sys,gstreamer-rtp,gstreamer-rtp-sys,gstreamer-sdp,gstreamer-sdp-sys,gstreamer-sys,gstreamer-utils,gstreamer-video,gstreamer-video-sys,gstreamer-webrtc,gstreamer-webrtc-sys@git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?branch=0.19\#80fba8f1e0169679e7b5ba7ed8604d5057028435
+		gstreamer,gstreamer-app,gstreamer-app-sys,gstreamer-audio,gstreamer-audio-sys,gstreamer-base,gstreamer-base-sys,gstreamer-check,gstreamer-check-sys,gstreamer-gl,gstreamer-gl-egl,gstreamer-gl-egl-sys,gstreamer-gl-sys,gstreamer-gl-wayland,gstreamer-gl-wayland-sys,gstreamer-gl-x11,gstreamer-gl-x11-sys,gstreamer-net,gstreamer-net-sys,gstreamer-pbutils,gstreamer-pbutils-sys,gstreamer-rtp,gstreamer-rtp-sys,gstreamer-sdp,gstreamer-sdp-sys,gstreamer-sys,gstreamer-utils,gstreamer-video,gstreamer-video-sys,gstreamer-webrtc,gstreamer-webrtc-sys@git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?branch=0.19\#80fba8f1e0169679e7b5ba7ed8604d5057028435 \
+		gdk4,gdk4-sys,gdk4-wayland,gdk4-wayland-sys,gdk4-x11,gdk4-x11-sys,gsk4,gsk4-sys,gtk4,gtk4-macros,gtk4-sys@git+https://github.com/gtk-rs/gtk4-rs?branch=0.5\#95297d2430fd8845f2b102733c636430bf628651
diff --git a/multimedia/gstreamer1-plugins-rust/distinfo b/multimedia/gstreamer1-plugins-rust/distinfo
index bbd01c8a19e7..8f885fdab8f2 100644
--- a/multimedia/gstreamer1-plugins-rust/distinfo
+++ b/multimedia/gstreamer1-plugins-rust/distinfo
@@ -49,14 +49,14 @@ SHA256 (rust/crates/async-std-1.12.0.crate) = 62565bb4402e926b29953c785397c6dc03
 SIZE (rust/crates/async-std-1.12.0.crate) = 215080
 SHA256 (rust/crates/async-task-4.3.0.crate) = 7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524
 SIZE (rust/crates/async-task-4.3.0.crate) = 29544
-SHA256 (rust/crates/async-trait-0.1.60.crate) = 677d1d8ab452a3936018a687b20e6f7cf5363d713b732b8884001317b0e48aa3
-SIZE (rust/crates/async-trait-0.1.60.crate) = 27374
+SHA256 (rust/crates/async-trait-0.1.61.crate) = 705339e0e4a9690e2908d2b3d049d85682cf19fbd5782494498fbf7003a6a282
+SIZE (rust/crates/async-trait-0.1.61.crate) = 27660
 SHA256 (rust/crates/async-tungstenite-0.19.0.crate) = 8e6acf7e4a267eecbb127ed696bb2d50572c22ba7f586a646321e1798d8336a1
 SIZE (rust/crates/async-tungstenite-0.19.0.crate) = 35984
 SHA256 (rust/crates/atomic-waker-1.0.0.crate) = 065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a
 SIZE (rust/crates/atomic-waker-1.0.0.crate) = 11771
-SHA256 (rust/crates/atomic_refcell-0.1.8.crate) = 73b5e5f48b927f04e952dedc932f31995a65a0bf65ec971c74436e51bf6e970d
-SIZE (rust/crates/atomic_refcell-0.1.8.crate) = 5887
+SHA256 (rust/crates/atomic_refcell-0.1.9.crate) = 857253367827bd9d0fd973f0ef15506a96e79e41b0ad7aa691203a4e3214f6c8
+SIZE (rust/crates/atomic_refcell-0.1.9.crate) = 10132
 SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
 SIZE (rust/crates/atty-0.2.14.crate) = 5470
 SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
@@ -317,14 +317,14 @@ SHA256 (rust/crates/gif-0.12.0.crate) = 80792593675e051cf94a4b111980da2ba60d4a83
 SIZE (rust/crates/gif-0.12.0.crate) = 634734
 SHA256 (rust/crates/gimli-0.27.0.crate) = dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793
 SIZE (rust/crates/gimli-0.27.0.crate) = 720457
-SHA256 (rust/crates/glob-0.3.0.crate) = 9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574
-SIZE (rust/crates/glob-0.3.0.crate) = 18724
+SHA256 (rust/crates/glob-0.3.1.crate) = d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b
+SIZE (rust/crates/glob-0.3.1.crate) = 18880
 SHA256 (rust/crates/gloo-timers-0.2.5.crate) = 98c4a8d6391675c6b2ee1a6c8d06e8e2d03605c44cec1270675985a4c2a5500b
 SIZE (rust/crates/gloo-timers-0.2.5.crate) = 5490
 SHA256 (rust/crates/h2-0.3.15.crate) = 5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4
 SIZE (rust/crates/h2-0.3.15.crate) = 162238
-SHA256 (rust/crates/half-2.1.0.crate) = ad6a9459c9c30b177b925162351f97e7d967c7ea8bab3b8352805327daf45554
-SIZE (rust/crates/half-2.1.0.crate) = 44327
+SHA256 (rust/crates/half-2.2.0.crate) = 6c467d36af040b7b2681f5fddd27427f6da8d3d072f575a265e181d2f8e8d157
+SIZE (rust/crates/half-2.2.0.crate) = 46321
 SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888
 SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968
 SHA256 (rust/crates/headers-0.3.8.crate) = f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584
@@ -499,8 +499,8 @@ SHA256 (rust/crates/nix-0.23.2.crate) = 8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5
 SIZE (rust/crates/nix-0.23.2.crate) = 242042
 SHA256 (rust/crates/nnnoiseless-0.5.1.crate) = 23d377ce2fb579ed5c14cfa0d39e70849030fdf673d6d1a764cadb2dfbb02a50
 SIZE (rust/crates/nnnoiseless-0.5.1.crate) = 132168
-SHA256 (rust/crates/nom-7.1.1.crate) = a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36
-SIZE (rust/crates/nom-7.1.1.crate) = 115818
+SHA256 (rust/crates/nom-7.1.2.crate) = e5507769c4919c998e69e49c839d9dc6e693ede4cc4290d6ad8b41d4f09c548c
+SIZE (rust/crates/nom-7.1.2.crate) = 117341
 SHA256 (rust/crates/noop_proc_macro-0.3.0.crate) = 0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8
 SIZE (rust/crates/noop_proc_macro-0.3.0.crate) = 2157
 SHA256 (rust/crates/nu-ansi-term-0.46.0.crate) = 77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84
@@ -519,12 +519,12 @@ SHA256 (rust/crates/num-traits-0.2.15.crate) = 578ede34cf02f8924ab9447f50c28075b
 SIZE (rust/crates/num-traits-0.2.15.crate) = 49262
 SHA256 (rust/crates/num_cpus-1.15.0.crate) = 0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b
 SIZE (rust/crates/num_cpus-1.15.0.crate) = 15680
-SHA256 (rust/crates/object-0.30.0.crate) = 239da7f290cfa979f43f85a8efeee9a8a76d0827c356d37f9d3d7254d6b537fb
-SIZE (rust/crates/object-0.30.0.crate) = 257728
+SHA256 (rust/crates/object-0.30.1.crate) = 8d864c91689fdc196779b98dba0aceac6118594c2df6ee5d943eb6a8df4d107a
+SIZE (rust/crates/object-0.30.1.crate) = 258223
 SHA256 (rust/crates/ogg-0.8.0.crate) = 6951b4e8bf21c8193da321bcce9c9dd2e13c858fe078bf9054a288b419ae5d6e
 SIZE (rust/crates/ogg-0.8.0.crate) = 27128
-SHA256 (rust/crates/once_cell-1.16.0.crate) = 86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860
-SIZE (rust/crates/once_cell-1.16.0.crate) = 32120
+SHA256 (rust/crates/once_cell-1.17.0.crate) = 6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66
+SIZE (rust/crates/once_cell-1.17.0.crate) = 32736
 SHA256 (rust/crates/opaque-debug-0.3.0.crate) = 624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5
 SIZE (rust/crates/opaque-debug-0.3.0.crate) = 5767
 SHA256 (rust/crates/openssl-0.10.45.crate) = b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1
@@ -759,8 +759,8 @@ SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0
 SIZE (rust/crates/termcolor-1.1.3.crate) = 17242
 SHA256 (rust/crates/test-log-0.2.11.crate) = 38f0c854faeb68a048f0f2dc410c5ddae3bf83854ef0e4977d58306a5edef50e
 SIZE (rust/crates/test-log-0.2.11.crate) = 10228
-SHA256 (rust/crates/test-with-0.8.1.crate) = 5e197ba118b465f82678eff95506a11354e70d5b794f95962491a2d6a35f58ed
-SIZE (rust/crates/test-with-0.8.1.crate) = 20637
+SHA256 (rust/crates/test-with-0.9.1.crate) = 887f8af087fa1932dd925aba2a41ddc73826e5b91105b01896b22beb7fa3625a
+SIZE (rust/crates/test-with-0.9.1.crate) = 21407
 SHA256 (rust/crates/textwrap-0.16.0.crate) = 222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d
 SIZE (rust/crates/textwrap-0.16.0.crate) = 53722
 SHA256 (rust/crates/thiserror-1.0.38.crate) = 6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0
@@ -787,8 +787,8 @@ SHA256 (rust/crates/tinyvec-1.6.0.crate) = 87cc5ceb3875bb20c2890005a4e226a465126
 SIZE (rust/crates/tinyvec-1.6.0.crate) = 45991
 SHA256 (rust/crates/tinyvec_macros-0.1.0.crate) = cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c
 SIZE (rust/crates/tinyvec_macros-0.1.0.crate) = 1817
-SHA256 (rust/crates/tokio-1.23.0.crate) = eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46
-SIZE (rust/crates/tokio-1.23.0.crate) = 621207
+SHA256 (rust/crates/tokio-1.24.1.crate) = 1d9f76183f91ecfb55e1d7d5602bd1d979e38a3a522fe900241cf195624d67ae
+SIZE (rust/crates/tokio-1.24.1.crate) = 625490
 SHA256 (rust/crates/tokio-macros-1.8.2.crate) = d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8
 SIZE (rust/crates/tokio-macros-1.8.2.crate) = 10071
 SHA256 (rust/crates/tokio-native-tls-0.3.0.crate) = f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b
@@ -819,8 +819,8 @@ SHA256 (rust/crates/tracing-subscriber-0.3.16.crate) = a6176eae26dd70d0c91974937
 SIZE (rust/crates/tracing-subscriber-0.3.16.crate) = 193572
 SHA256 (rust/crates/transpose-0.2.2.crate) = e6522d49d03727ffb138ae4cbc1283d3774f0d10aa7f9bf52e6784c45daf9b23
 SIZE (rust/crates/transpose-0.2.2.crate) = 10816
-SHA256 (rust/crates/try-lock-0.2.3.crate) = 59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642
-SIZE (rust/crates/try-lock-0.2.3.crate) = 4158
+SHA256 (rust/crates/try-lock-0.2.4.crate) = 3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed
+SIZE (rust/crates/try-lock-0.2.4.crate) = 4467
 SHA256 (rust/crates/tungstenite-0.18.0.crate) = 30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788
 SIZE (rust/crates/tungstenite-0.18.0.crate) = 55628
 SHA256 (rust/crates/typenum-1.16.0.crate) = 497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba
@@ -947,8 +947,6 @@ SHA256 (rust/crates/zerocopy-derive-0.3.2.crate) = 6505e6815af7de1746a08f69c6960
 SIZE (rust/crates/zerocopy-derive-0.3.2.crate) = 515746
 SHA256 (rust/crates/zeroize-1.5.7.crate) = c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f
 SIZE (rust/crates/zeroize-1.5.7.crate) = 18861
-SHA256 (gtk-rs-gtk4-rs-3adf4a5b44e84842ad806a4a0527731a01f68565_GH0.tar.gz) = d2170068c2bf60bf40a14858708d5cefcdf1e26dbb95384179bae74a5f027a58
-SIZE (gtk-rs-gtk4-rs-3adf4a5b44e84842ad806a4a0527731a01f68565_GH0.tar.gz) = 10488527
 SHA256 (gtk-rs-gtk-rs-core-d23290301d4d853472faef04b65313ff894bd1c9_GH0.tar.gz) = d2b4ccd260c37a63c125da08dc130ce4f64575e898475a5fd1b03609ff7b2124
 SIZE (gtk-rs-gtk-rs-core-d23290301d4d853472faef04b65313ff894bd1c9_GH0.tar.gz) = 828873
 SHA256 (rust-av-ffv1-2afb025a327173ce891954c052e804d0f880368a_GH0.tar.gz) = 082d63c6163eeb7982f85cb78ee35114e95907a8188018e299f13b1a42e0b60f
@@ -957,5 +955,7 @@ SHA256 (rust-av-flavors-c48542aef94b7da36d6f306f4016bee9c79e09ba_GH0.tar.gz) = 3
 SIZE (rust-av-flavors-c48542aef94b7da36d6f306f4016bee9c79e09ba_GH0.tar.gz) = 6456481
 SHA256 (gstreamer-gstreamer-rs-80fba8f1e0169679e7b5ba7ed8604d5057028435_GL0.tar.gz) = 6c33100d79887f22a3db70d610016fdf82f018a9c6860a6a635d66dd5aca366d
 SIZE (gstreamer-gstreamer-rs-80fba8f1e0169679e7b5ba7ed8604d5057028435_GL0.tar.gz) = 1298865
-SHA256 (gstreamer-gst-plugins-rs-f4cb4b9da68c1ea44d8c19380459f0240766f557_GL0.tar.gz) = 362c9405ca0b06ae7ec051b046a7779e9760d31f7f53161aef5fc7a8db14c6a4
-SIZE (gstreamer-gst-plugins-rs-f4cb4b9da68c1ea44d8c19380459f0240766f557_GL0.tar.gz) = 1669221
+SHA256 (gtk-rs-gtk4-rs-95297d2430fd8845f2b102733c636430bf628651_GH0.tar.gz) = cbb9dc884366c70522cc85d0d98885cfecda3e38a80d896fc8db1bbb014143e9
+SIZE (gtk-rs-gtk4-rs-95297d2430fd8845f2b102733c636430bf628651_GH0.tar.gz) = 10490339
+SHA256 (gstreamer-gst-plugins-rs-2f623e15c2312e620e998fc8fa832491c65966f7_GL0.tar.gz) = 370967c2279f4e758304d5660047c10060786b72fd69237c1256b3690fd72aaa
+SIZE (gstreamer-gst-plugins-rs-2f623e15c2312e620e998fc8fa832491c65966f7_GL0.tar.gz) = 1674904
diff --git a/multimedia/gstreamer1-plugins-rust/files/patch-webp b/multimedia/gstreamer1-plugins-rust/files/patch-webp
new file mode 100644
index 000000000000..3121e8e9379e
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-rust/files/patch-webp
@@ -0,0 +1,17 @@
+Allow using system libwebpdemux. pkg-config --libs usually adds
+-L/usr/local/lib (same as OpenSSL from ports) rather than -L/usr/lib
+and the path can be omitted via PKG_CONFIG_SYSTEM_LIBRARY_PATH.
+
+--- cargo-crates/libwebp-sys2-0.1.4/build.rs.orig	1970-01-01 00:00:00 UTC
++++ cargo-crates/libwebp-sys2-0.1.4/build.rs
+@@ -18,9 +18,7 @@ fn main() {
+         cfg!(feature = "static") || env::var("LIBWEBP_SYS_STATIC").unwrap_or(String::new()) == "1";
+     if !want_static &&
+        !target.contains("msvc") && // pkg-config just never works here
+-       !(host_and_target_contain("apple") ||
+-         host_and_target_contain("freebsd") ||
+-         host_and_target_contain("dragonfly"))
++       !host_and_target_contain("apple")
+     {
+         let mut config = pkg_config::Config::new();
+         config.cargo_metadata(true);
diff --git a/multimedia/gstreamer1-plugins-rust/pkg-plist b/multimedia/gstreamer1-plugins-rust/pkg-plist
index 320e74e0cbb4..3559c59bd032 100644
--- a/multimedia/gstreamer1-plugins-rust/pkg-plist
+++ b/multimedia/gstreamer1-plugins-rust/pkg-plist
@@ -29,7 +29,7 @@ lib/gstreamer-1.0/libgstrspng.so
 lib/gstreamer-1.0/libgstrsrtp.so
 lib/gstreamer-1.0/libgstrstracers.so
 %%CAIRO%%lib/gstreamer-1.0/libgstrsvideofx.so
-lib/gstreamer-1.0/libgstrswebp.so
+%%WEBP%%lib/gstreamer-1.0/libgstrswebp.so
 lib/gstreamer-1.0/libgstrswebrtc.so
 %%SODIUM%%lib/gstreamer-1.0/libgstsodium.so
 lib/gstreamer-1.0/libgstspotify.so
@@ -69,7 +69,7 @@ libdata/pkgconfig/gstrspng.pc
 libdata/pkgconfig/gstrsrtp.pc
 libdata/pkgconfig/gstrstracers.pc
 %%CAIRO%%libdata/pkgconfig/gstrsvideofx.pc
-libdata/pkgconfig/gstrswebp.pc
+%%WEBP%%libdata/pkgconfig/gstrswebp.pc
 libdata/pkgconfig/gstrswebrtc.pc
 %%SODIUM%%libdata/pkgconfig/gstsodium.pc
 libdata/pkgconfig/gstspotify.pc