diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template index 18ea845066..aaadba774b 100644 --- a/srcpkgs/libva-intel-driver/template +++ b/srcpkgs/libva-intel-driver/template @@ -1,19 +1,29 @@ # Template file for 'libva-intel-driver' pkgname=libva-intel-driver -version=1.8.3 +version=2.2.0 revision=1 wrksrc="intel-vaapi-driver-${version}" -build_style=gnu-configure +build_style=meson +configure_args="-Dwith_wayland=yes -Dwith_x11=yes" hostmakedepends="pkg-config" makedepends="libX11-devel libva-glx-devel libdrm-devel wayland-devel MesaLib-devel" short_desc="Video Acceleration (VA) API - Intel Graphics backend" maintainer="Juan RP " -homepage="https://01.org/linuxmedia" license="MIT" -distfiles="https://github.com/01org/intel-vaapi-driver/releases/download/${version}/intel-vaapi-driver-${version}.tar.bz2" -checksum=54411d9e579300ed63f8b9b06152a1a9ec95b7699507d7ffa014cd7b2aeaff6f +homepage="https://01.org/linuxmedia" +changelog="https://raw.githubusercontent.com/intel/intel-vaapi-driver/master/NEWS" +distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz" +checksum=13eb518bd168106a64d8e1c0f0a72e9b9937e6fd9a4c713a10f51e52508ea9b2 only_for_archs="i686 i686-musl x86_64 x86_64-musl" +pre_configure() { + # Only relevant if intel-gpu-tools is installed, + # since then the shaders will be recompiled + sed -i '1s/python$/&2/' src/shaders/gpp.py + # Fix undefined variable in src/meson.build + sed -i 's/2.2.0/2.2.0.0/' meson.build +} + post_install() { vlicense COPYING }