1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
8 pkgdesc='Video Acceleration (VA) API for Linux'
10 url=https://01.org/linuxmedia/vaapi
27 'intel-media-driver: backend for Intel GPUs (>= Broadwell)'
28 'libva-intel-driver: backend for Intel GPUs (<= Haswell)'
29 'libva-mesa-driver: backend for AMD and Nvidia GPUs'
38 backup=(etc/libva.conf)
39 _tag=b06ccb323cd68bc5ce3fa9861c831766d6355d88
40 source=(git+https://github.com/intel/libva.git#tag=${_tag})
49 CFLAGS+=" -DENABLE_VA_MESSAGING" # Option missing
50 arch-meson libva build
51 meson compile -C build
55 meson install -C build --destdir "${pkgdir}"
56 install -Dm 644 libva/COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
57 install -Dm 644 /dev/stdin "${pkgdir}"/etc/libva.conf <<END
58 LIBVA_MESSAGING_LEVEL=1