# Maintainer: Natanael Copa pkgname=gst-plugins-ugly pkgver=1.16.0 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/$pkgname-$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="7ecbd3ddc3034dfaa3ce7d118589c856e99e8da734e8d1dd70ab70f4aa3d11d78bd55b6c6134eddaa0b6e627015b1f663c0439367bba305c7d7d46a387470d2e gst-plugins-ugly-1.16.0.tar.xz"