app-emulation/dxvk: Version bump 1.5.1.

Package-Manager: Portage-2.3.84, Repoman-2.3.16
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2020-01-09 21:49:33 +01:00
parent 6da0819c76
commit 30a7b06f82
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 112 additions and 0 deletions

View File

@ -1,6 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST dxvk-1.4.6.tar.gz 687440 BLAKE2B e79a677f9f21f14bc3822750287a4f966ebeecc36d0d56bc14dcac34585df77fc078d7285b8927be8a83d3615292c2586baaf77172442d1cc4135b7ccac34d4c SHA512 e82d65c625e9ae621747c0784ae26c10ec963289a6ad9d7790d9380c03a3b7b28234e72728a8d7bfbe5ca701c62f205176976830684d342a74f5d383120dde2b
DIST dxvk-1.5.1.tar.gz 880560 BLAKE2B 26f113fc3eaba561467ec67425a6d8d59d0f5876f463e302c6ec31d34c3dd4a02353e2e45cd6560266d3f62ef91654695e7751f0f881a4bda04fb45481f3aa1b SHA512 a7c4947fca56d81185971c47a804c5d9863d71dce84a5252800ff5d592c86aeb2114ac163f2dc2c2ee6cc08857504c8dbf75a26df1224c2a19c6f7874e19107a
DIST dxvk-1.5.tar.gz 878203 BLAKE2B fb9bbc03db82e3fe6ff97484e35cdd125672bcea090cfd85e17be776ef704c888d375ecd5f72d334602f22c825b6e2dcbcc114e4b3ac1054a91ae9bef2b5ef15 SHA512 11171fc880c3bbc63aed080bc81c5d9bad3c7100704ed8f8887b916803c85fb4063c82656777d84e48ea0fb90f51aaa57bfd5b2d412d55affa2feae0e9d26a11
EBUILD dxvk-1.4.6.ebuild 2261 BLAKE2B 422ef142949e6b290f8f93f46fc9431e8ea2f952cda5e5d8dc24a908390cd8bf06e9efb0f35432c19a3a33a8b465101a39fdfcc0c97d77e5c1fe529f45aa3a4f SHA512 2349a7ff9e5e7e17d7ee451199a29c224cdd56a85d5852fa3aa15e21e8b7ce71183d7fca970f1af81b04a3e07dd61b3e138069f104ff35cc7b3f1b9b3211d100
EBUILD dxvk-1.5.1.ebuild 2359 BLAKE2B c96045ac3f6cdad4801091d4f4cc5e16c89a0f3e912a44a7d4bfa9bbc6f6a98005e00d0fa71ba98dd0fd059140b01922d29a05bb8f654616e00e39f464124cba SHA512 2881c761cf4afbeb6bf9964e2ff69a49d1b444fbfbd8d961d88b97969cea80dabac541df8652a44d43d996d76ebcd71080ebc12ca2791581b98a72038652f55e
EBUILD dxvk-1.5.ebuild 2359 BLAKE2B 8ceedf648683c6be167bbe4a5d42f9da626d2c855b6d8d37b9b514e44b524a0502f6ee24eabeb25028abf863e9ce0401ac01d4fd0171bcccb123d593cf2ebc97 SHA512 95a125f39fdce062b5701ebf86d7ed9ea3833883e53bc549ea71645c439db9f7c2917111ac31a0b0b57369fd5d2d8ea477c23451e84e557325ea00cdbe36b7a7
EBUILD dxvk-9999-r2.ebuild 2359 BLAKE2B 8ceedf648683c6be167bbe4a5d42f9da626d2c855b6d8d37b9b514e44b524a0502f6ee24eabeb25028abf863e9ce0401ac01d4fd0171bcccb123d593cf2ebc97 SHA512 95a125f39fdce062b5701ebf86d7ed9ea3833883e53bc549ea71645c439db9f7c2917111ac31a0b0b57369fd5d2d8ea477c23451e84e557325ea00cdbe36b7a7
MISC metadata.xml 339 BLAKE2B 2c3c82d9b14bca7f4b3b2d01aadad24d534c74201952505d3d579d636c6053cb8fdc3a91c269d500876af972015d48756c7ea4b5cec089c4a7c5c4fbfdc63d70 SHA512 f2694f77e348ae5cc9053b7380b0efe41dc4a82a4fd100e2a8c87a15c11452400581145938ed80816a2c9ec86e5cd4444b99b713c2404efa7225a0e39025c7be
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXheR3AAKCRDPw5SX8bJu
BwigAP9Ymp17l/Odhf8hCfxkFRy5FcnCFVh2q0uNB0YQqxzhcAD+J8dpYH+ab3X/
N8T39VXQXlQAmuDQZPDLeQYEgUPuNeg=
=VKns
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,100 @@
# 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-d3d9-4.5
>=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."
}