# Maintainer: drakkan pkgname=gst-plugins-openh264 _pkgname=gst-plugins-bad pkgver=1.22.4 pkgrel=1 pkgdesc="GStreamer open-source multimedia framework OpenH264 plugins" url="https://gstreamer.freedesktop.org/" arch=(x86_64) license=(LGPL) depends=(gst-plugins-base-libs openh264) makedepends=(meson git) source=(${url}src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz) sha256sums=('eaaf53224565eaabd505ca39c6d5769719b45795cf532ce1ceb60e1b2ebe99ac') build() { arch-meson $_pkgname-$pkgver build \ --auto-features=disabled \ -D openh264=enabled \ -D package-name="GStreamer Bad Plugins (Arch Linux)" \ -D package-origin="https://www.archlinux.org/" ninja -C build } package() { install -Dm755 build/ext/openh264/libgstopenh264.so "$pkgdir"/usr/lib/gstreamer-1.0/libgstopenh264.so } # vim: ts=2 sw=2 et: