summaryrefslogtreecommitdiff
path: root/community/libva-intel-driver/APKBUILD
blob: c85832762e07565e40cea25bc638aa17be1b2435 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva-intel-driver
pkgver=2.4.1
pkgrel=0
pkgdesc="VA-API implementation for Intel GMA chipsets and Intel HD Graphics"
url="https://freedesktop.org/wiki/Software/vaapi"
arch="x86 x86_64"
license="MIT"
makedepends="libdrm-dev libva-dev wayland-dev meson"
install_if="libva xf86-video-intel"
source="$pkgname-$pkgver.tar.gz::https://github.com/intel/intel-vaapi-driver/archive/$pkgver.tar.gz"

builddir="$srcdir"/intel-vaapi-driver-$pkgver

build() {
	abuild-meson \
		-Dwith_wayland=yes \
		-Dwith_x11=yes \
		output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="6bdf2ab8d8cf5ae7d0d67e42d9faac405f4f4020e7b5f9a4e6695f39ac6f8951c770bf6b79494ebf241372b5d015a1571039e143d1e9075dc208322b0cebebf3  libva-intel-driver-2.4.1.tar.gz"