# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libva pkgver=2.0.0 pkgrel=0 pkgdesc="Video Acceleration (VA) API for Linux" url="http://freedesktop.org/wiki/Software/vaapi" arch="all" options="!check" # No test suite. license="MIT" depends="" depends_dev="mesa-dev" makedepends="$depends_dev autoconf automake libtool" install="" subpackages="$pkgname-dev" source="https://github.com/01org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2" prepare() { cd "$builddir" default_prepare # we need to regen the configure script which will unconditionally # depend on wayland scanner otherwise libtoolize --force && aclocal -I m4 && autoconf \ && automake --add-missing } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-x11 \ --disable-wayland \ --disable-static \ --enable-shared make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="72e0aba7808d541c4d54c2628c372d765e444bcdd266b9ef7a1aec2c9c8732efda6fb525befbf39ba2f8f3c845c2d647bef6678875d7b78fa2db5eaa05442bf3 libva-2.0.0.tar.bz2"