aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-utils/APKBUILD
blob: 64a50fd14a324f16e993fcee5199865415ff85d0 (plain)
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
34
35
36
37
38
39
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=libva-utils
pkgver=2.2.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/libva-utils/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="bd1a6e4fa72379b6b2ac44c00fb1813447a6b44b2bbb08df5158ddc9dc36b3cb774b3caf4e7e3813edbb01cbe4dab1683185d921fdfbc2a3f1cef0057912df80  libva-utils-2.2.0.tar.bz2"