# Maintainer: David Heidelberg pkgname=libvdpau-tegra pkgver=0_git20200423 pkgrel=0 pkgdesc="VDPAU backend driver for NVIDIA Tegra 20/30 SoC's" url="https://github.com/grate-driver/libvdpau-tegra" arch="armhf armv7" license="GPL-2.0-or-later" depends="libdrm" makedepends=" autoconf automake bison flex gettext-dev libdrm-dev libtool libvdpau-dev libx11-dev libxext-dev libxfixes-dev libxrandr-dev libxv-dev m4 pixman-dev util-macros xorgproto " _commit="0e0f8c55e807370421d9b8b805f0a4f029e74268" source="$pkgname-$_commit.tar.gz::https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz" builddir="$srcdir/$pkgname-$_commit" prepare() { ./autogen.sh \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr } build() { make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="2e40e5c8a51b9a40e41c39524161530cad612001d8dfda0927351f1f8f34ebb99544df7f85cc8c998676c4fea688be3a01db4ccef1f20b317abba8c13c374799 libvdpau-tegra-0e0f8c55e807370421d9b8b805f0a4f029e74268.tar.gz"