* [PR PATCH] libva: set driver dir to /usr/lib32/dri on i686
@ 2019-12-26 23:05 voidlinux-github
2019-12-27 4:43 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-12-26 23:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
There is a new pull request by wangp against master on the void-packages repository
https://github.com/wangp/void-packages libva-multilib
https://github.com/void-linux/void-packages/pull/17806
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.
A patch file from https://github.com/void-linux/void-packages/pull/17806.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libva-multilib-17806.patch --]
[-- Type: text/x-diff, Size: 1095 bytes --]
From 491c6e95998cc77a27bda30bedd79cd443ea437a Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
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
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: libva: set driver dir to /usr/lib32/dri on i686
2019-12-26 23:05 [PR PATCH] libva: set driver dir to /usr/lib32/dri on i686 voidlinux-github
@ 2019-12-27 4:43 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-12-27 4:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
There's a merged pull request on the void-packages repository
libva: set driver dir to /usr/lib32/dri on i686
https://github.com/void-linux/void-packages/pull/17806
Description:
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-27 4:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 23:05 [PR PATCH] libva: set driver dir to /usr/lib32/dri on i686 voidlinux-github
2019-12-27 4:43 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).