forked from tastytea/overlay
app-emulation/dxvk: Version bump 1.5.
This commit is contained in:
parent
dda2e91721
commit
0753d94fdf
@ -1,14 +1,6 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST dxvk-1.4.6.tar.gz 687440 BLAKE2B e79a677f9f21f14bc3822750287a4f966ebeecc36d0d56bc14dcac34585df77fc078d7285b8927be8a83d3615292c2586baaf77172442d1cc4135b7ccac34d4c SHA512 e82d65c625e9ae621747c0784ae26c10ec963289a6ad9d7790d9380c03a3b7b28234e72728a8d7bfbe5ca701c62f205176976830684d342a74f5d383120dde2b
|
||||
DIST dxvk-1.5.tar.gz 878203 BLAKE2B fb9bbc03db82e3fe6ff97484e35cdd125672bcea090cfd85e17be776ef704c888d375ecd5f72d334602f22c825b6e2dcbcc114e4b3ac1054a91ae9bef2b5ef15 SHA512 11171fc880c3bbc63aed080bc81c5d9bad3c7100704ed8f8887b916803c85fb4063c82656777d84e48ea0fb90f51aaa57bfd5b2d412d55affa2feae0e9d26a11
|
||||
EBUILD dxvk-1.4.6.ebuild 2128 BLAKE2B c93a4a495e8faac646d9ac2609511b578e20cba013ce80def0a03939dfbe5829e815bb757f4b87c081075bf0a0c260760dce72b0f52fe524b26f5ef6aa690743 SHA512 d9d933835a24d53c014f0d6117c513300647d8a8bb73a4154ac94fdd576cfb5ca4fe3cc087a38c30612d8e24b104cc988aa41163e5677cf93dce7d7a5d1c7f45
|
||||
EBUILD dxvk-1.5.ebuild 2226 BLAKE2B a604ea20e92f61d8bf6adb8059bd8807fdbd9ead1797c6d80ef143e5fbcc08a020a07109e3fd3422e1390790749b9e8bc4f7dc10dd3116b6ad77c91bea7cf549 SHA512 5ec5bb552fabe8815fc09d0639277de94f074f77eec26f50ce3f781bfad4e71bda80b3993b36034c3d69d1737cc91c32578059a9d99bf5648c44e38d65eb002f
|
||||
EBUILD dxvk-9999-r2.ebuild 2128 BLAKE2B 4f326490f5f12ce5e5a525d26d5fa27323adf77f0a45c91e6dcbde741c948aae9ff897765dd371bc598c43e32af848f40902e5489a0e534e5ae245fd75b95b55 SHA512 0138b9d2d5d26de52d15c29e1dbc80bdc3ee3f56fb3038c97b20a2d57e757e3b448f59a0b8943d0ed0cd45c7e007cb52991f6d9d95286ebd79135115207899e7
|
||||
MISC metadata.xml 339 BLAKE2B 2c3c82d9b14bca7f4b3b2d01aadad24d534c74201952505d3d579d636c6053cb8fdc3a91c269d500876af972015d48756c7ea4b5cec089c4a7c5c4fbfdc63d70 SHA512 f2694f77e348ae5cc9053b7380b0efe41dc4a82a4fd100e2a8c87a15c11452400581145938ed80816a2c9ec86e5cd4444b99b713c2404efa7225a0e39025c7be
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXeafIwAKCRDPw5SX8bJu
|
||||
B+qXAP4/l4j2mzasNi0+uy/nZg8k37Bo/LKBXC91MIpL97EaVwD/RYIqYSWGtGkW
|
||||
Q+xDY/ux1QEoxCZakhE1UHpRMp6QMds=
|
||||
=WHQD
|
||||
-----END PGP SIGNATURE-----
|
||||
|
94
app-emulation/dxvk/dxvk-1.5.ebuild
Normal file
94
app-emulation/dxvk/dxvk-1.5.ebuild
Normal file
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2019 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-any-4.5
|
||||
>=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
|
||||
)
|
||||
"
|
||||
|
||||
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."
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user