# Contributor: A. Wilcox # Maintainer: A. Wilcox pkgname=gst-plugins-bad pkgver=1.20.2 pkgrel=0 pkgdesc="GStreamer multimedia framework - Free, well-written plugins" url="https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html" arch="all" license="LGPL-2.1+" depends="" makedepends="gst-plugins-base-dev gstreamer-dev gobject-introspection-dev orc-dev libgudev-dev v4l-utils-dev libx11-dev cairo-dev flac-dev gdk-pixbuf-dev gtk+3.0-dev libjpeg-turbo-dev lame-dev libdv-dev libpng-dev mpg123-dev pulseaudio-dev libraw1394-dev libiec61883-dev libavc1394-dev libsoup-dev speex-dev taglib-dev wavpack-dev zlib-dev bzip2-dev libxdamage-dev libxext-dev libxfixes-dev meson orc-compiler wayland-protocols" subpackages="$pkgname-dev $pkgname-lang" #ldpath="/usr/lib/gstreamer-1.0" source="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.xz" build() { meson \ -Dprefix=/usr \ -Dnls=enabled \ -Dpackage-name="GStreamer Bad Plugins (${DISTRO_NAME:-Adélie Linux})" \ -Dpackage-origin="${DISTRO_URL:-https://www.adelielinux.org/}" \ _build ninja -C _build } check() { #768 sed -i tests/check/meson.build \ -e '\@elements/rtpsink.c@d' \ -e '\@elements/rtpsrc.c@d' \ -e '\@libs/mpegts.c@d' \ ; ninja -C _build test } package() { DESTDIR="$pkgdir" ninja -C _build install } sha512sums="3f98973dc07ead745418e0a30f9f6b5c8d328e3d126f54d92c10ab5da04271768a5c5dffc36ea24ccf8fb516b1e3733be9fb18dc0db419dea4d37d17018f8a70 gst-plugins-bad-1.20.2.tar.xz"