# Contributor: Taner Tas # Maintainer: Taner Tas pkgname=libva-utils pkgver=2.1.0 pkgrel=0 pkgdesc="Intel VA-API Media Applications and Scripts for libva" url="https://github.com/01org/libva-utils" arch="all" license="MIT" makedepends="mesa-dev libva-dev autoconf automake libtool libva-dev" source="https://github.com/01org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2" options="!check" builddir="${srcdir}/${pkgname}-${pkgver}" build() { cd "$builddir" ./autogen.sh \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-wayland \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-nls make } check(){ cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="17517c09197a84d1c56b2da1b8af5cc17cfe5bf6a667eb78d80398d54a74e2f27d45808710d52a4348700fcd6cde9866140e9826b24ffa39e08e6400ec17a5f2 libva-utils-2.1.0.tar.bz2"