# Maintainer: A. Wilcox pkgname=gst-plugins-base pkgver=1.26.1 pkgrel=0 pkgdesc="GStreamer multimedia framework - Base plugins" url="https://gstreamer.freedesktop.org/" arch="all" 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 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() { 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() { meson test -C build } package() { DESTDIR="$pkgdir" meson install -C build } sha512sums="b0c491755856af37fd8416af57b782ba04cfdf4298947a521ece90b4723fcf331199f428c74fafb37b3094a8172a0d409d20079544f7424fd6c089574313e296 gst-plugins-base-1.26.1.tar.xz b44763d6b380bb51d246b64019078ee621a2d64a00f29f12039fd52aafd1c24e204350ea5c967c2fecb298075f6e45f62d16c3116d20aca8da557ace84ba0744 endian.patch"