blob: fd196ea6b00714d9b4326ea0782386fc78a5949a (
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: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva-intel-driver
pkgver=2.3.0
pkgrel=1
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
wayland.patch
"
builddir="$srcdir"/intel-vaapi-driver-$pkgver
build() {
cd "$builddir"
meson builddir \
--prefix=/usr \
-Dwith_wayland=yes \
-Dwith_x11=yes
ninja -C builddir
}
check() {
cd "$builddir"
ninja -C builddir test
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C builddir install
}
sha512sums="98cb6e6bdc22eefa0c7f245d3a2f1fc586d5066e9273c9031e76c30d96fc5902859119ddd4ef2ba39cd044aff57edae3a90ab2e5478c47e118132f8b2c28f1dc libva-intel-driver-2.3.0.tar.gz
dd5ac03413f8c2daca4a2c4a11ba5b74eecf5051a487ede7afba4b71feb9001aac8f0b47d65dc0c436e8222b34daa3ed8144dfa550cfd4f18f2b3c34f885cdec wayland.patch"
|