blob: 96bee79dfb6cdb6291e0dcaa802cc4eda10fad42 (
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@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva-intel-driver
pkgver=2.4.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.pre1.tar.gz"
builddir="$srcdir"/intel-vaapi-driver-$pkgver.pre1
build() {
meson builddir \
--prefix=/usr \
-Dwith_wayland=yes \
-Dwith_x11=yes
ninja -C builddir
}
check() {
ninja -C builddir test
}
package() {
DESTDIR="$pkgdir" ninja -C builddir install
}
sha512sums="de4840a0e999defbccf4965b02fb0787b777795e5134894a4f30f67ec11fd1c99b765cd4a79802972671d38b3d20b443e76f75d34c03112a8fcb9b345a8640b5 libva-intel-driver-2.4.0.tar.gz"
|