From 491c6e95998cc77a27bda30bedd79cd443ea437a Mon Sep 17 00:00:00 2001 From: Peter Wang Date: Fri, 27 Dec 2019 09:33:29 +1100 Subject: [PATCH] libva: set driver dir to /usr/lib32/dri on i686 If the libva i686 package is installed as a multilib package on x86_64, it needs to load drivers from /usr/lib32/dri instead of /usr/lib/dri. --- srcpkgs/libva/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libva/template b/srcpkgs/libva/template index 79872b5505a..b298363d596 100644 --- a/srcpkgs/libva/template +++ b/srcpkgs/libva/template @@ -1,7 +1,7 @@ # Template file for 'libva' pkgname=libva version=2.6.0 -revision=1 +revision=2 build_style=meson configure_args="-Dwith_glx=no $(vopt_if wayland -Dwith_wayland=yes) -Dwith_egl=yes" @@ -19,6 +19,10 @@ checksum=5566755739503ef53beafad7fd7e155e68039e9af78e051e27f1715a420a0952 build_options="wayland" build_options_default="wayland" +case "$XBPS_TARGET_MACHINE" in + i686*) configure_args+=" -Ddriverdir=/usr/lib32/dri";; +esac + post_install() { vlicense COPYING }