app-emulation/dxvk: Version bump 1.5.4.
This commit is contained in:
parent
7dd059ffc4
commit
f64fc93833
|
@ -1,6 +1,8 @@
|
|||
DIST dxvk-1.5.2.tar.gz 884051 BLAKE2B 8fa6e95c8f498f4ca878245cce4b4ff80d023bf06c76ad783a7f8383e00c77c47dc3ea6b36ec7bdb7649923af9267a665728eb03891beec52412a5e66cfdf45e SHA512 8253add08ba690bd192f4a5f3d55e268b1ed594597662a85bbbb1e729641c014a4de9c70172fc3e533f84ad142a47de047f39db5302acdc1195ea0374ebaee78
|
||||
DIST dxvk-1.5.3.tar.gz 885490 BLAKE2B dcdb7d763fab65b5d038ef440d2b934086abaf53f2f4991c9c68cce16ba3452ff8b64b127b030396925f4b3db18a0aad5392b5bc3c14608e96ef29fbb409a3bd SHA512 41ac7f31b2c4925c30be2849b5fbca1df696b6df63978030cd9bca1c02fbdeec4523cbfe654fdb88b07df5ec42fd64294c87f07578cf7393bc5ed21b126f5bde
|
||||
DIST dxvk-1.5.4.tar.gz 885827 BLAKE2B c42bcd3720593159336acc9999791e6c9772bc3ef6dd97353ccd249dea6c23ef8830c80d4552a75b5d9d93b19c62cf61f9a4601a552c30454621bc60c07f2727 SHA512 3c870e906228d400c476c44e98d4f2a00fa2acbd660f23e6ae05ba323839452755c7650127630b381c73dddbb7900bf338165a1fd5da45cddb8072d2f2e20598
|
||||
EBUILD dxvk-1.5.2.ebuild 2327 BLAKE2B d664fdafd5dc9987ec640c98602fe5a466d23245626d98fc8ead7ff16bbab363dfb60160c549477fcc52d2dd80db0eb682a6efc8bc9d719faf7d7c1188a5ebe1 SHA512 298b1b82b04e4f5060356f93607bab7a766cf8dbf3ba215a35722a08ca7d9ea083e15d0a53d682366cac0193a45fee84d098fcc9b271e0bff474d34739807e1b
|
||||
EBUILD dxvk-1.5.3.ebuild 2327 BLAKE2B d664fdafd5dc9987ec640c98602fe5a466d23245626d98fc8ead7ff16bbab363dfb60160c549477fcc52d2dd80db0eb682a6efc8bc9d719faf7d7c1188a5ebe1 SHA512 298b1b82b04e4f5060356f93607bab7a766cf8dbf3ba215a35722a08ca7d9ea083e15d0a53d682366cac0193a45fee84d098fcc9b271e0bff474d34739807e1b
|
||||
EBUILD dxvk-1.5.4.ebuild 2327 BLAKE2B d664fdafd5dc9987ec640c98602fe5a466d23245626d98fc8ead7ff16bbab363dfb60160c549477fcc52d2dd80db0eb682a6efc8bc9d719faf7d7c1188a5ebe1 SHA512 298b1b82b04e4f5060356f93607bab7a766cf8dbf3ba215a35722a08ca7d9ea083e15d0a53d682366cac0193a45fee84d098fcc9b271e0bff474d34739807e1b
|
||||
EBUILD dxvk-9999-r2.ebuild 2327 BLAKE2B d664fdafd5dc9987ec640c98602fe5a466d23245626d98fc8ead7ff16bbab363dfb60160c549477fcc52d2dd80db0eb682a6efc8bc9d719faf7d7c1188a5ebe1 SHA512 298b1b82b04e4f5060356f93607bab7a766cf8dbf3ba215a35722a08ca7d9ea083e15d0a53d682366cac0193a45fee84d098fcc9b271e0bff474d34739807e1b
|
||||
MISC metadata.xml 339 BLAKE2B 2c3c82d9b14bca7f4b3b2d01aadad24d534c74201952505d3d579d636c6053cb8fdc3a91c269d500876af972015d48756c7ea4b5cec089c4a7c5c4fbfdc63d70 SHA512 f2694f77e348ae5cc9053b7380b0efe41dc4a82a4fd100e2a8c87a15c11452400581145938ed80816a2c9ec86e5cd4444b99b713c2404efa7225a0e39025c7be
|
||||
|
|
99
app-emulation/dxvk/dxvk-1.5.4.ebuild
Normal file
99
app-emulation/dxvk/dxvk-1.5.4.ebuild
Normal file
|
@ -0,0 +1,99 @@
|
|||
# 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"
|
||||
|
||||
COMMON_DEPEND="virtual/wine[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-util/vulkan-headers
|
||||
dev-util/glslang
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=app-emulation/wine-staging-4.5
|
||||
>=app-emulation/wine-vanilla-4.5
|
||||
)
|
||||
|| (
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-440.31 )
|
||||
>=media-libs/mesa-19.2
|
||||
)
|
||||
"
|
||||
|
||||
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."
|
||||
}
|
Reference in New Issue
Block a user