summaryrefslogtreecommitdiff
path: root/user/gst-plugins-base
diff options
context:
space:
mode:
Diffstat (limited to 'user/gst-plugins-base')
-rw-r--r--user/gst-plugins-base/APKBUILD28
-rw-r--r--user/gst-plugins-base/endian.patch40
2 files changed, 56 insertions, 12 deletions
diff --git a/user/gst-plugins-base/APKBUILD b/user/gst-plugins-base/APKBUILD
index bce787485..9aa2afd80 100644
--- a/user/gst-plugins-base/APKBUILD
+++ b/user/gst-plugins-base/APKBUILD
@@ -1,39 +1,43 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gst-plugins-base
-pkgver=1.20.1
+pkgver=1.26.1
pkgrel=0
pkgdesc="GStreamer multimedia framework - Base plugins"
url="https://gstreamer.freedesktop.org/"
arch="all"
-options="!check" # fails overlaycomposition on ppc64
license="GPL LGPL"
depends=""
makedepends="alsa-lib-dev cdparanoia-dev expat-dev glib-dev iso-codes-dev
gobject-introspection-dev graphene-dev gstreamer-dev libdrm-dev
- libjpeg-turbo-dev libogg-dev libpng-dev libtheora-dev libvorbis-dev
- libx11-dev libxt-dev libxv-dev mesa-dev meson opus-dev orc-compiler
- orc-dev pango-dev !gst-plugins-base"
+ libglvnd-dev libjpeg-turbo-dev libogg-dev libpng-dev libtheora-dev
+ libvorbis-dev libx11-dev libxt-dev libxv-dev mesa-dev meson opus-dev
+ orc-compiler orc-dev pango-dev wayland-dev wayland-protocols
+ !gst-plugins-base"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
+source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz
+ endian.patch
+ "
ldpath="/usr/lib/gstreamer-1.0"
build() {
- meson \
+ meson setup \
+ --wrap-mode=nofallback \
-Dprefix=/usr \
-Dintrospection=enabled \
-Dnls=enabled \
-Dpackage-name="GStreamer Base Plugins (${DISTRO_NAME:-Adélie Linux})" \
-Dpackage-origin="${DISTRO_URL:-https://www.adelielinux.org/}" \
- _build
- ninja -C _build
+ build
+ meson compile -C build
}
check() {
- ninja -C _build test
+ meson test -C build
}
package() {
- DESTDIR="$pkgdir" ninja -C _build install
+ DESTDIR="$pkgdir" meson install -C build
}
-sha512sums="679a0eee1973fa9612e2e24978e2c2d9d8fdc5732e1699b4a87712881f1549d0811719a13ff4fe77b91322ca4425c39623b371703f6b3a36fb7238b977d3e541 gst-plugins-base-1.20.1.tar.xz"
+sha512sums="b0c491755856af37fd8416af57b782ba04cfdf4298947a521ece90b4723fcf331199f428c74fafb37b3094a8172a0d409d20079544f7424fd6c089574313e296 gst-plugins-base-1.26.1.tar.xz
+b44763d6b380bb51d246b64019078ee621a2d64a00f29f12039fd52aafd1c24e204350ea5c967c2fecb298075f6e45f62d16c3116d20aca8da557ace84ba0744 endian.patch"
diff --git a/user/gst-plugins-base/endian.patch b/user/gst-plugins-base/endian.patch
new file mode 100644
index 000000000..ed06e7c7f
--- /dev/null
+++ b/user/gst-plugins-base/endian.patch
@@ -0,0 +1,40 @@
+--- gst-plugins-base-1.26.1/gst/videoconvertscale/gstvideoconvertscale.c.old 2025-04-24 14:20:14.000000000 -0500
++++ gst-plugins-base-1.26.1/gst/videoconvertscale/gstvideoconvertscale.c 2025-05-11 14:05:05.042191384 -0500
+@@ -1407,8 +1407,13 @@
+ g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps);
+
+ gst_video_convert_scale_get_fraction (from_par, &from_par_n, &from_par_d);
+- gst_structure_get (ins,
+- "width", G_TYPE_INT, &from_w, "height", G_TYPE_INT, &from_h, NULL);
++ {
++ gint wi = 0, hi = 0;
++ gst_structure_get (ins,
++ "width", G_TYPE_INT, &wi, "height", G_TYPE_INT, &hi, NULL);
++ from_w = wi;
++ from_h = hi;
++ }
+
+ {
+ gint wi = 0, hi = 0;
+--- gst-plugins-base-1.26.1/tests/check/elements/audiomixer.c.old 2025-04-24 14:20:14.000000000 -0500
++++ gst-plugins-base-1.26.1/tests/check/elements/audiomixer.c 2025-05-11 14:06:12.944933423 -0500
+@@ -2125,12 +2125,18 @@
+ gst_message_unref (msg);
+ }
+
++#if G_BYTE_ORDER == G_LITTLE_ENDIAN
++#define AUDIO_FMT "S16LE"
++#else
++#define AUDIO_FMT "S16BE"
++#endif
++
+ GST_START_TEST (test_qos_message_live)
+ {
+ GstBus *bus = gst_bus_new ();
+ GstHarness *h, *h2;
+ GstBuffer *b;
+- static const char *caps_str = "audio/x-raw, format=(string)S16LE, "
++ static const char *caps_str = "audio/x-raw, format=(string)" AUDIO_FMT ", "
+ "rate=(int)1000, channels=(int)1, layout=(string)interleaved";
+ GstMessage *msg;
+ GstPad *pad;