Remove app-emulation/dxvk and use tastytea overlay instead
This commit is contained in:
parent
f3e8729ede
commit
14cbb20a93
@ -1,2 +0,0 @@
|
|||||||
DIST dxvk-1.3.4.tar.gz 648556 BLAKE2B 06106fbfac2c0a849ccdb611c5969fd60c328b6428658a87afbd0e42c780b4132b39a82fdab0887cf37957796503fcaf0ca54a1e54d273e4ddce537d99a99eb6 SHA512 4d13857f429725ec51034e05f00720a5bc2d1860acd9dbe9f0b4e77bfd219d301039ab92339c57834d90015f8f6bb40f593badfa02aaa81931c5ffd15bee65e3
|
|
||||||
EBUILD dxvk-1.3.4.ebuild 2128 BLAKE2B 767f4daae863e87e3cf881e841ac3b7907264f86fd3aafb293ceca8fad6ae26d2d0754aa9dbbee0d2588b6be505b37abb35e6a6d77f297540a630296edbdc9c6 SHA512 414f8981d0b17af25be050281732f2d89e92bd32e24f427f39b8cb4b539b0ad442b64116612506e47181c39bd341868b29c13e850c85b3e1bb393e78c5e820d2
|
|
@ -1,92 +0,0 @@
|
|||||||
# 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-418.74 )
|
|
||||||
>=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
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use abi_x86_32; then
|
|
||||||
sed -i '|installFile "$win32_sys_path"|d' setup_dxvk.sh
|
|
||||||
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."
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user