aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-utils/APKBUILD
blob: 081eb992e9ae5c20b239b3c0c643acb0cfef7aad (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
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=libva-utils
pkgver=2.1.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/${pkgname}/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="17517c09197a84d1c56b2da1b8af5cc17cfe5bf6a667eb78d80398d54a74e2f27d45808710d52a4348700fcd6cde9866140e9826b24ffa39e08e6400ec17a5f2  libva-utils-2.1.0.tar.bz2"