diff options
Diffstat (limited to 'user/gst-plugins-base')
-rw-r--r-- | user/gst-plugins-base/APKBUILD | 56 | ||||
-rw-r--r-- | user/gst-plugins-base/endian.patch | 51 |
2 files changed, 61 insertions, 46 deletions
diff --git a/user/gst-plugins-base/APKBUILD b/user/gst-plugins-base/APKBUILD index 2682bc026..9aa2afd80 100644 --- a/user/gst-plugins-base/APKBUILD +++ b/user/gst-plugins-base/APKBUILD @@ -1,57 +1,43 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=gst-plugins-base -pkgver=1.16.0 +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" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends="" -replaces="gst-plugins-base1" -makedepends="alsa-lib-dev cdparanoia-dev expat-dev glib-dev - gobject-introspection-dev gstreamer-dev libice-dev libogg-dev libsm-dev - libtheora-dev libvorbis-dev libx11-dev libxt-dev libxv-dev mesa-dev - opus-dev orc-dev pango-dev perl cmd:which !gst-plugins-base" -checkdepends="orc-compiler" +makedepends="alsa-lib-dev cdparanoia-dev expat-dev glib-dev iso-codes-dev + gobject-introspection-dev graphene-dev gstreamer-dev libdrm-dev + 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 endian.patch " ldpath="/usr/lib/gstreamer-1.0" build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static \ - --disable-experimental \ - --disable-fatal-warnings \ - --with-default-audiosink=alsasink \ - --enable-introspection \ - --with-package-name="GStreamer Base Plugins (${DISTRO_NAME:-Adélie Linux})" \ - --with-package-origin="${DISTRO_URL:-https://www.adelielinux.org/}" - make + 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 + meson compile -C build } check() { - cd "$builddir" - make check + meson test -C build } package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install -} - -doc() { - default_doc - replaces="${pkgname}1-doc" + DESTDIR="$pkgdir" meson install -C build } -sha512sums="4fa404156a384000e26e72ff0f701edb5a160181b48362350529177ca1c9325a3c58b83904bf5056262fe2609bc7f5913e835278973e049315deecfd1f26a3af gst-plugins-base-1.16.0.tar.xz -f146e76bedabd7b028cc64a9a671f7fb1ac1655164159d47953ea1afddafee1e40470593442f22152fb7e3579847dc4fc6e1f6e16a7c47252d5f3c25a6ae7353 endian.patch" +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 index 403f40f69..ed06e7c7f 100644 --- a/user/gst-plugins-base/endian.patch +++ b/user/gst-plugins-base/endian.patch @@ -1,11 +1,40 @@ ---- gst-plugins-base-1.16.0/tests/check/libs/video.c.old 2019-03-29 12:21:21.000000000 +0000 -+++ gst-plugins-base-1.16.0/tests/check/libs/video.c 2019-05-01 15:49:10.000628817 +0000 -@@ -2828,7 +2828,7 @@ - fail_unless_equals_int (data[i + 3], 0x80); - #else - /* A - R - G - B */ -- fail_unless_equals_int (data[i], 0x00); -+ fail_unless_equals_int (data[i], 0x80); - fail_unless_equals_int (data[i + 1], 0x80); - fail_unless_equals_int (data[i + 2], 0x80); - fail_unless_equals_int (data[i + 3], 0x80); +--- 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; |