# Maintainer: Natanael Copa pkgname=gst-libav pkgver=1.14.1 pkgrel=0 pkgdesc="Gstreamer libav Plugin" url="https://gstreamer.freedesktop.org" arch="all" license="GPL-2.0-or-later LGPL-2.0-or-later" makedepends="coreutils ffmpeg-dev>=2.7.1-r1 gstreamer-dev gst-plugins-base-dev orc-dev" source="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz" replaces="gst-libav1" builddir="$srcdir"/gst-libav-$pkgver build() { cd "$builddir" export CFLAGS="$CFLAGS -fno-strict-aliasing -D_XOPEN_SOURCE" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-orc \ --disable-fatal-warnings \ --with-system-libav make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc replaces="${pkgname}1-doc" } sha512sums="368d794d88b20fc879178c1984186a9dda7f8717e2e6bc17bd2dcd67be6d9dd55220da617f9872c40a63f5c9b3d11713ff96c8dbb0e4ffffb196f9464aae43d2 gst-libav-1.14.1.tar.xz"