# Maintainer: Natanael Copa pkgname=gst-libav1 pkgver=1.12.0 pkgrel=0 pkgdesc="Gstreamer libav Plugin" url="http://www.gstreamer.net" arch="all !armhf" license="GPL" makedepends=" coreutils ffmpeg-dev>=2.7.1-r1 gstreamer1-dev gst-plugins-base1-dev liboil-dev orc-dev" source="http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz" 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 \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="16c8862e5b2305215f01ac0c1514aa48d11359a1a06e6edbf7b9da60ab90bd8a154ddbb84b70fb05fde1eae503a91a18226f4d70c713f428334a7a8eb580a4c7 gst-libav-1.12.0.tar.xz"