# Maintainer: Natanael Copa pkgname=gst-plugins-ugly pkgver=1.14.4 pkgrel=0 pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)" 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 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() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-experimental \ --enable-a52dec \ --enable-cdio \ --enable-dvdread \ --enable-mpeg2dec \ --enable-x264 \ --disable-fatal-warnings \ --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \ --with-package-origin="http://alpinelinux.org/" make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc replaces="${pkgname}1-doc" } sha512sums="9a5fc123a8e904d6517a3946402ef27710a5e2460ebe748b3ad7b78d5092748a563f7ed4f6c734a9839e0781c2923d62425aa65f3d7469d7083861264f831cf1 gst-plugins-ugly-1.14.4.tar.xz"