aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-utils/APKBUILD
blob: 8399946b2eeb8c1e54c00ae6c9e9ada90eec99ab (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
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=libva-utils
pkgver="1.8.2"
pkgrel=0
pkgdesc="Intel VA-API Media Applications and Scripts for libva"
url="https://github.com/01org/libva-utils"
arch="all"
license="custom"
makedepends="mesa-dev libva-dev autoconf automake libtool"
source="${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
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="e6d1e025d1c27112bf61869fa097a27c81bff9fb1ed5226842f3c7685852b4cc8903b0a29204d3c85bc4513dab9331b327de0f93c9493a411ab15e7e577ce616  libva-utils-1.8.2.tar.gz"