1 |
commit: 314fd7aaa1d8225c95860f9a462d3d541f7df501 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 07:26:42 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 07:42:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314fd7aa |
7 |
|
8 |
app-emulation/vkd3d-proton: change bits check method |
9 |
|
10 |
Unlikely, but old could fail if "amd64=86" is in the environment. |
11 |
Plus vkd3d-proton wants 86 (not 32 unlike dxvk), so can just get |
12 |
it from ABI. |
13 |
|
14 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
15 |
|
16 |
app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild | 2 +- |
17 |
app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild | 2 +- |
18 |
2 files changed, 2 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild |
21 |
index 14ead4c9f1e1..664241e57d2e 100644 |
22 |
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild |
23 |
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild |
24 |
@@ -123,7 +123,7 @@ multilib_src_configure() { |
25 |
|
26 |
local emesonargs=( |
27 |
--prefix="${EPREFIX}"/usr/lib/${PN} |
28 |
- --{bin,lib}dir=x$((${ABI#x}==86?86:64)) |
29 |
+ --{bin,lib}dir=x${ABI: -2} |
30 |
--{cross,native}-file="${T}"/widl.${ABI}.ini |
31 |
$(meson_use {,enable_}extras) |
32 |
$(meson_use debug enable_trace) |
33 |
|
34 |
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild |
35 |
index 14ead4c9f1e1..664241e57d2e 100644 |
36 |
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild |
37 |
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild |
38 |
@@ -123,7 +123,7 @@ multilib_src_configure() { |
39 |
|
40 |
local emesonargs=( |
41 |
--prefix="${EPREFIX}"/usr/lib/${PN} |
42 |
- --{bin,lib}dir=x$((${ABI#x}==86?86:64)) |
43 |
+ --{bin,lib}dir=x${ABI: -2} |
44 |
--{cross,native}-file="${T}"/widl.${ABI}.ini |
45 |
$(meson_use {,enable_}extras) |
46 |
$(meson_use debug enable_trace) |