# Maintainer: Natanael Copa pkgname=gst-plugins-base pkgver=1.16.1 pkgrel=0 pkgdesc="GStreamer streaming media framework base plug-ins" url="https://gstreamer.freedesktop.org" arch="all" license="GPL-2.0-or-later LGPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" replaces="gst-plugins-base1 gst-plugins-bad" makedepends="alsa-lib-dev cdparanoia-dev expat-dev glib-dev gobject-introspection-dev gstreamer-dev gtk+3.0-dev libice-dev libogg-dev libsm-dev libtheora-dev libvorbis-dev libxv-dev mesa-dev meson opus-dev orc-compiler orc-dev perl" source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz" ldpath="/usr/lib/gstreamer-1.0" # sporadic testsuite failures on various archs, testsuite fails with network # restricted too options="!check" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ -Dalsa=enabled \ -Dintrospection=enabled \ -Dpackage-origin="https://alpinelinux.org" \ -Dpackage-name="GStreamer base plug-ins (Alpine Linux)" \ . output ninja -C output } check() { make check } package() { DESTDIR="$pkgdir" ninja -C output install } doc() { default_doc replaces="${pkgname}1-doc" } sha512sums="ce65b5d63d3ac6c20b051d477d09515bfb1c2e4b10c58346180265bdc4ae44dd9833727b5eea5fe9c409a3cd8874429be23654c7a5c23e881c0e8f9e89fb32c9 gst-plugins-base-1.16.1.tar.xz"