Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libva: set driver dir to /usr/lib32/dri on i686
Date: Fri, 27 Dec 2019 00:05:25 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17806@inbox.vuxu.org> (raw)

[-- 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
 }

             reply	other threads:[~2019-12-26 23:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-26 23:05 voidlinux-github [this message]
2019-12-27  4:43 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17806@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).