aboutsummaryrefslogtreecommitdiffstats
path: root/community/vdpauinfo/APKBUILD
blob: c45b33a77aa0030ee5e06e0368554d0e53729a7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=vdpauinfo
pkgver=1.4
pkgrel=1
pkgdesc="Command line utility for querying the capabilities of a VDPAU device"
options="!check" # no test suite
url="https://cgit.freedesktop.org/vdpau/vdpauinfo"
arch="all"
license="MIT"
makedepends="autoconf automake libx11-dev libvdpau-dev"
source="https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/1.4/vdpauinfo-$pkgver.tar.gz"

prepare() {
	autoreconf -fiv
	default_prepare
}

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

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

sha512sums="2d884981e4f96d210f0a8ad014b7477b575a531555c56d6a81d6805311bb239584d81f30300ba4932da7ec46ae4121cdaf7a5b400fc6a12afbd55ca188a22ee6  vdpauinfo-1.4.tar.gz"