blob: 6713d770a1cd2b34f2f544350a59e3f71c3e7f08 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva-intel-driver
pkgver=2.3.0
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() {
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"
|