aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-utils/APKBUILD
blob: 6e11a0843d30fd8fdde0f2dd54f5d749f856c66b (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
40
41
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=libva-utils
pkgver=2.6.0
pkgrel=2
pkgdesc="Intel VA-API Media Applications and Scripts for libva"
options="!check" # Most tests fail
url="https://github.com/01org/libva-utils"
arch="all"
license="MIT"
makedepends="
	meson
	libva-dev
	libdrm-dev
	libx11-dev
	libxext-dev
	libxfixes-dev
	wayland-dev
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/intel/libva-utils/archive/$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libdir=/usr/lib \
		--buildtype=plain \
		-Ddrm=true \
		-Dx11=true \
		-Dwayland=true \
		-Dtests=false \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="2722504861d09e049495ffaa07cfb5fb23720770e19d6d5e03b10592e20d99c87d9e401e8db26edd00cb7edb7e85438ca721c8c323b23664bd5a1e094bbed8d4  libva-utils-2.6.0.tar.gz"