aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-utils/APKBUILD
blob: 410f6d1991625aa06e3740bd594b75cf70581440 (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.5.0
pkgrel=0
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=release \
		-Ddrm=true \
		-Dx11=true \
		-Dwayland=true \
		-Dtests=false \
		. output
	ninja -C output
}

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

sha512sums="02f1310b4e9ed384e02671520fc7df326cf5366a59d786bda00d6a9ceda620e38eada3bfdf4610c4e686960ef494a6323b7c04f70a3a5326639121471bfb566a  libva-utils-2.5.0.tar.gz"