Skip to content
4 changes: 4 additions & 0 deletions Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,10 @@ This aims to fix cross-builds for when the build-style is mixed: e.g. when in a

- `qmake6` is like `qmake` but for Qt6.

> NOTE: the qmake build helpers internally use the `qmake_default_version` variable
to select the default qmake implementation (Qt5 or Qt6). This variable is part of
the helper workflow and is not commonly set in templates.

- `rust` specifies environment variables required for cross-compiling crates via cargo and
for compiling cargo -sys crates.
It also adds a `cargo` wrapper that detects and passes builds through `cargo-auditable`.
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/Kooha/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Template file for 'Kooha'
pkgname=Kooha
version=2.3.0
version=2.3.1
revision=1
build_style=meson
build_helper="rust"
hostmakedepends="cargo desktop-file-utils gettext glib-devel
gtk-update-icon-cache pkg-config"
makedepends="libadwaita-devel libglib-devel gtk4-devel pulseaudio-devel rust-std"
depends="gst-plugins-base1 gstreamer-vaapi gstreamer1 gstreamer1-pipewire
depends="gst-plugins-base1 gst-plugins-bad1 gstreamer1 gstreamer1-pipewire
pipewire xdg-desktop-portal"
checkdepends="appstream-glib"
short_desc="Simple screen recorder with a minimal interface"
Expand All @@ -16,7 +16,7 @@ license="GPL-3.0-or-later"
homepage="https://github.com/SeaDve/Kooha"
changelog="https://github.com/SeaDve/Kooha/releases"
distfiles="https://github.com/SeaDve/Kooha/archive/refs/tags/v${version}.tar.gz"
checksum=a1aec108b44483664a6c680c5351c32de98862f5df4503a915d5f23e8ae24636
checksum=33fa92fdd4f5d315f74d59f12fb30cc38c23238b29eb7cad306e8a9b55dd9155
make_check=no # Tests are broken, see https://github.com/SeaDve/Kooha/pull/206

post_patch() {
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/gst-libav/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'gst-libav'
pkgname=gst-libav
version=1.26.5
version=1.28.1
revision=1
build_style=meson
hostmakedepends="pkg-config yasm"
Expand All @@ -12,7 +12,7 @@ license="LGPL-2.0-or-later"
homepage="https://gstreamer.freedesktop.org"
changelog="https://gstreamer.freedesktop.org/releases/${version%.*}/#${version}"
distfiles="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${version}.tar.xz"
checksum=d6de05884ef42376dd8cde89940f7b50ced96f4f6f52888e764cd8233e74f052
checksum=bfa91aaca38d0fd8addcdd559e35b7541e3f32a5f410194ec4ba18040defee9b

case "$XBPS_TARGET_MACHINE" in
*-musl) # Required by musl for M_SQRT1_2
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/gst-plugins-bad1/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'gst-plugins-bad1'
pkgname=gst-plugins-bad1
version=1.26.5
revision=2
version=1.28.1
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dpackage-origin=https://voidlinux.org -Ddoc=disabled
Expand Down Expand Up @@ -36,7 +36,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://gstreamer.freedesktop.org"
changelog="https://gstreamer.freedesktop.org/releases/${version%.*}/#${version}"
distfiles="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${version}.tar.xz"
checksum=9890f262f3b2a9564dcb629e9eb697d77b93d1f71897eda1a8170b7dcfe73294
checksum=56c1593787f8b5550893d59e4ff29e6bcccf34973316fa55e34ce493e04313a2

build_options="gir gme libvpl wayland"
build_options_default="gir wayland"
Expand Down
49 changes: 49 additions & 0 deletions srcpkgs/gst-plugins-base1/patches/null-pointer-deref.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Patch-Source: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/6f923de193748ddb3c76f59a173092097d299f63
From 6f923de193748ddb3c76f59a173092097d299f63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
Date: Sun, 1 Mar 2026 10:53:21 +0200
Subject: [PATCH] glcolorconvert: Fix NULL pointer dereference on buffers
without video meta

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4935

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/10939>
---
.../gst-libs/gst/gl/gstglcolorconvert.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/gstglcolorconvert.c b/subprojects/gst-plugins-base/gst-libs/gst/gl/gstglcolorconvert.c
index f2dc2dc7bbb..c13b4df69de 100644
--- a/gst-libs/gst/gl/gstglcolorconvert.c
+++ b/gst-libs/gst/gl/gstglcolorconvert.c
@@ -3428,10 +3428,12 @@ _init_convert (GstGLColorConvert * convert)
}

GstVideoMeta *v_meta = gst_buffer_get_video_meta (convert->inbuf);
- if (v_meta->width != convert->priv->padded_width
- || v_meta->height != convert->priv->padded_height) {
- gdouble padded_width = v_meta->width;
- gdouble padded_height = v_meta->height;
+ if ((v_meta && (v_meta->width != convert->priv->padded_width
+ || v_meta->height != convert->priv->padded_height)) ||
+ (!v_meta && (convert->in_info.width != convert->priv->padded_width ||
+ convert->in_info.height != convert->priv->padded_height))) {
+ gdouble padded_width = v_meta ? v_meta->width : convert->in_info.width;
+ gdouble padded_height = v_meta ? v_meta->height : convert->in_info.height;
gdouble display_width = GST_VIDEO_INFO_WIDTH (&convert->in_info);
gdouble display_height = GST_VIDEO_INFO_HEIGHT (&convert->in_info);

@@ -3449,8 +3451,8 @@ _init_convert (GstGLColorConvert * convert)
crop_vertices, GL_STATIC_DRAW);
gl->BindBuffer (GL_ARRAY_BUFFER, 0);

- convert->priv->padded_width = v_meta->width;
- convert->priv->padded_height = v_meta->height;
+ convert->priv->padded_width = padded_width;
+ convert->priv->padded_height = padded_height;
}

gl->BindTexture (GL_TEXTURE_2D, 0);
--
GitLab

Loading