app-emulation/dxvk: Version bump 1.6.
This commit is contained in:
parent
6b09b292e1
commit
45362b695d
|
@ -1,7 +1,20 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 1.5.4-fix_compilation_with_wine-5.2.patch 9870 BLAKE2B 8ca66ed96bc2a62a28c9dc1dc3539363904521a052c9f5ea9aa0682537a289baef48eeba8780affa9e8f3fff6e79fa591adcbbfdebdb6aa0528e7b79865638ef SHA512 d65b2379731635bd2265556b6a02fc8f0bb94b94d4746e8a402d3cdfc5c88c97af5d427b19e4de2046b34e4849b84c0045f0422f8d8f63403dd47ddb0fdb62ab
|
||||
AUX 1.6-fix-setEvent-error.patch 621 BLAKE2B c751a08dcd4a7bf14c5f049dbc0787b373f7de6f79379f4993459b9b0762f6a13334bae2b25e802d0013f943f449f24145d58ebee342694943489bb24e6e2d96 SHA512 01f0c0458b72e433988445be80f7f8e4407a8cffe9c79f7a21c7657de2b775949a8d11b6a9f4197fc2d59ef79b8fe431bb653ef3467fc451fa5c8a161b223908
|
||||
DIST dxvk-1.5.4.tar.gz 885827 BLAKE2B c42bcd3720593159336acc9999791e6c9772bc3ef6dd97353ccd249dea6c23ef8830c80d4552a75b5d9d93b19c62cf61f9a4601a552c30454621bc60c07f2727 SHA512 3c870e906228d400c476c44e98d4f2a00fa2acbd660f23e6ae05ba323839452755c7650127630b381c73dddbb7900bf338165a1fd5da45cddb8072d2f2e20598
|
||||
DIST dxvk-1.5.5.tar.gz 889000 BLAKE2B 52878a5fdd060e8a6f771a9247f141a10f11d33633240cb7aebd8421a16b0d7456989412c6b80a49e037721c12b4737a9f02949a432b2b0ea22613a47ba8bd5b SHA512 b0a71dc6383aadfe55d30d73c3aefa63785882056d53d484e6d81b4bd85d40a1cf1840b61ecb03e21a3e8ed4e9a2c2d3d8ccbbadb956752f0356fe7e1a59ab10
|
||||
DIST dxvk-1.6.tar.gz 892463 BLAKE2B 84d1ca0b42b9b63c5efa15d284ffedd76d4f5c09a1ca3e51971d36d68f0a5346f4bf3e5ee119a90fdbf489a3e21137e9d981710cb2b33b4b6a195f941baefa15 SHA512 5b1ba21515e5f7a75baba1e182a0b15285712c2a6e8946fcc0eadb82b64d43122e1c211304af2c890e368098fd2a69d174f86c05f9b0de0b417b0f2390d4a0ca
|
||||
EBUILD dxvk-1.5.4-r1.ebuild 2364 BLAKE2B 1d84be5718f76e88f8ce458dc39c44e26a9099b731acfaa7669302ee2ecf553d1dfb1f3c68d82c0948d82ac20ef6446a7a3c9b4e657efa5ca64242d729bf8fe2 SHA512 1216016e3c5cd1ce2c342da248053f2e891c39961f5c509bf7f4b89afdcec6e6a4a0dfb6182ea8e0d2182124639a2ca71b1e792399b32ccbb1fc7c329e6926c6
|
||||
EBUILD dxvk-1.5.5.ebuild 2294 BLAKE2B 1233671bd8b41fb47b150b92dcfd482222d20a61a37df4bc729b5696532ad35c250ab69387034a554184c9d19fe8fcc55640817dbc1501a2c0e8d3ad863f0d77 SHA512 9a877d40167da1fd6e3f5313282658b120dbd7010cd6f2e9bcae08fd38d5b23fdf946f9f76f09ff4f674e5538e5d5491182ba8b1e346de917204fe8ffdb80454
|
||||
EBUILD dxvk-9999-r2.ebuild 2327 BLAKE2B d664fdafd5dc9987ec640c98602fe5a466d23245626d98fc8ead7ff16bbab363dfb60160c549477fcc52d2dd80db0eb682a6efc8bc9d719faf7d7c1188a5ebe1 SHA512 298b1b82b04e4f5060356f93607bab7a766cf8dbf3ba215a35722a08ca7d9ea083e15d0a53d682366cac0193a45fee84d098fcc9b271e0bff474d34739807e1b
|
||||
EBUILD dxvk-1.6.ebuild 2351 BLAKE2B 7e5b44da0fb2234fb09093277a0f503df4e37d72eac191b903912e6b5717723f09b738446ac386d2adaa250a5e5b01dfb87b193298117d829dd031da7bab0e96 SHA512 d6c4f5aef27a680302f805a8c88379e2dacc0074bc9758a9464ca452e79685b47f89d7cc789c03785e50a14040d3690b0dec6b4d05cc78bc2d18ee6ebd597778
|
||||
MISC metadata.xml 339 BLAKE2B 2c3c82d9b14bca7f4b3b2d01aadad24d534c74201952505d3d579d636c6053cb8fdc3a91c269d500876af972015d48756c7ea4b5cec089c4a7c5c4fbfdc63d70 SHA512 f2694f77e348ae5cc9053b7380b0efe41dc4a82a4fd100e2a8c87a15c11452400581145938ed80816a2c9ec86e5cd4444b99b713c2404efa7225a0e39025c7be
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXnT0xgAKCRDPw5SX8bJu
|
||||
B50TAP9eY5qTyK5cZUjffvfAiBKd5Dfey1N15+Nxutz+pWprjgD/dPiobY/hQiBS
|
||||
i/gZ4IgUf1dmz2a3FX0MAriyNBilfTY=
|
||||
=wULN
|
||||
-----END PGP SIGNATURE-----
|
||||
|
|
102
app-emulation/dxvk/dxvk-1.6.ebuild
Normal file
102
app-emulation/dxvk/dxvk-1.6.ebuild
Normal file
|
@ -0,0 +1,102 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit meson multilib-minimal ninja-utils
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vulkan-based D3D11 and D3D10 implementation for Linux / Wine"
|
||||
HOMEPAGE="https://github.com/doitsujin/dxvk"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/doitsujin/dxvk.git"
|
||||
else
|
||||
SRC_URI="https://github.com/doitsujin/dxvk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
IUSE="video_cards_nvidia"
|
||||
|
||||
DEPEND="
|
||||
dev-util/vulkan-headers
|
||||
dev-util/glslang
|
||||
"
|
||||
BDEPEND="
|
||||
|| (
|
||||
>=app-emulation/wine-staging-4.5[${MULTILIB_USEDEP}]
|
||||
>=app-emulation/wine-vanilla-4.5[${MULTILIB_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-440.31 )
|
||||
>=media-libs/mesa-19.2
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.6-fix-setEvent-error.patch"
|
||||
)
|
||||
|
||||
pkg_pretend () {
|
||||
if ! use abi_x86_64 && ! use abi_x86_32; then
|
||||
eerror "You need to enable at least one of abi_x86_32 and abi_x86_64."
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i "s|^basedir=.*$|basedir=\"${EPREFIX}\"|" setup_dxvk.sh || die
|
||||
sed -i "s|\"x64\"|\"usr/${LIBDIR_amd64}/dxvk\"|" setup_dxvk.sh || die
|
||||
sed -i "s|\"x32\"|\"usr/${LIBDIR_x86}/dxvk\"|" setup_dxvk.sh || die
|
||||
|
||||
if ! use abi_x86_64; then
|
||||
sed -i '/installFile "$win64_sys_path"/d' setup_dxvk.sh || die
|
||||
fi
|
||||
|
||||
if ! use abi_x86_32; then
|
||||
sed -i '/installFile "$win32_sys_path"/d' setup_dxvk.sh || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local bit="${MULTILIB_ABI_FLAG:8:2}"
|
||||
|
||||
local emesonargs=(
|
||||
--libdir=$(get_libdir)/dxvk
|
||||
--bindir=$(get_libdir)/dxvk/bin
|
||||
--cross-file=../${P}/build-wine${bit}.txt
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
EMESON_SOURCE="${S}"
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dobin setup_dxvk.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "dxvk is installed, but not activated. You have to create DLL overrides"
|
||||
elog "in order to make use of it. To do so, set WINEPREFIX and execute"
|
||||
elog "setup_dxvk.sh install --symlink."
|
||||
|
||||
elog "D9VK is part of DXVK since 1.5. If use symlinks, don't forget to link the new libraries."
|
||||
}
|
23
app-emulation/dxvk/files/1.6-fix-setEvent-error.patch
Normal file
23
app-emulation/dxvk/files/1.6-fix-setEvent-error.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
From 3104192af717f309068d2c20fd51b339511f6552 Mon Sep 17 00:00:00 2001
|
||||
From: Philip Rebohle <philip.rebohle@tu-dortmund.de>
|
||||
Date: Fri, 20 Mar 2020 17:01:46 +0100
|
||||
Subject: [PATCH] [d3d11] Fix winelib build
|
||||
|
||||
Closes #1521.
|
||||
---
|
||||
src/util/sync/sync_signal_win32.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/util/sync/sync_signal_win32.h b/src/util/sync/sync_signal_win32.h
|
||||
index e89bec86a..8ddc5aa6b 100644
|
||||
--- a/src/util/sync/sync_signal_win32.h
|
||||
+++ b/src/util/sync/sync_signal_win32.h
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <list>
|
||||
|
||||
+#include "../com/com_include.h"
|
||||
+
|
||||
#include "sync_signal.h"
|
||||
|
||||
namespace dxvk::sync {
|
Reference in New Issue
Block a user