# Maintainer: Natanael Copa pkgname=gst-plugins-ugly pkgver=1.16.1 pkgrel=0 pkgdesc="GStreamer streaming media framework ugly plug-ins" url="https://gstreamer.freedesktop.org" arch="all" license="GPL-2.0-or-later LGPL-2.0-or-later" replaces="gst-plugins-ugly1" makedepends="a52dec-dev glib-dev gst-plugins-base-dev gstreamer-dev libcdio-dev libdvdread-dev libmpeg2-dev meson orc-dev x264-dev" source="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz" subpackages="$pkgname-lang" ldpath="/usr/lib/gstreamer-1.0" # secfixes: # 1.10.4-r0: # - CVE-2017-5846 # - CVE-2017-5847 build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ -Dpackage-origin="https://alpinelinux.org" \ -Dpackage-name="GStreamer ugly plug-ins (Alpine Linux)" \ . output ninja -C output } package() { DESTDIR="$pkgdir" ninja -C output install } check() { meson test -C output --print-errorlogs } doc() { default_doc replaces="${pkgname}1-doc" } sha512sums="43a5c5b29dcd0968ccf7049c0d866510ca42f72bc0882c5e2b36ee6feb7074fdb32d858c284f8a650e28c47ef20f03fb376e0da1a0c01650ee4453068502700f gst-plugins-ugly-1.16.1.tar.xz"