# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=vdpauinfo
pkgver="1.0"
pkgrel=0
pkgdesc="Command line utility for querying the capabilities of a VDPAU device."
url="https://cgit.freedesktop.org/vdpau/vdpauinfo"
arch="all"
license="custom"
makedepends="libx11-dev libvdpau-dev"
source="https://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz"
options="!check"

build() {
	cd "$builddir"
	 ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="54c177424bdae65374a13c0546ecda0e25e7357f9e779fb48dc018a9c11593039f87715ea18b320684dca22455df9b41a4eea6b0f977956efb6ab85b8b99297e  vdpauinfo-1.0.tar.gz"
