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.
This commit is contained in:
parent
9c7c87d2bf
commit
441feca68e
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'libva'
|
# Template file for 'libva'
|
||||||
pkgname=libva
|
pkgname=libva
|
||||||
version=2.6.0
|
version=2.6.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dwith_glx=no $(vopt_if wayland -Dwith_wayland=yes)
|
configure_args="-Dwith_glx=no $(vopt_if wayland -Dwith_wayland=yes)
|
||||||
-Dwith_egl=yes"
|
-Dwith_egl=yes"
|
||||||
@ -19,6 +19,10 @@ checksum=5566755739503ef53beafad7fd7e155e68039e9af78e051e27f1715a420a0952
|
|||||||
build_options="wayland"
|
build_options="wayland"
|
||||||
build_options_default="wayland"
|
build_options_default="wayland"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*) configure_args+=" -Ddriverdir=/usr/lib32/dri";;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user