mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-emulation/dxvk-bin: Remove old ebuild
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST dxvk-bin-1.9.1.tar.gz 8130256 BLAKE2B 50e49c69f7f43df09098e9c65089826cc4bb92bab53aeb9e07c2876fa1c07c04b600ca0598c790fb4eab6b076cc61f815e8566f6c0adbd6fc5462862fee19324 SHA512 4ab2be529c295ace85ac5731053e894383f72cb1b601b74a6fcfb581fb61568657a7e7f6842f5af1339a58ab57e33e79209f63e659732bd9774f956be2d88b31
|
||||
DIST dxvk-bin-1.9.2.tar.gz 8141894 BLAKE2B 69fbecc6328e00aea6196144762dbbcac4d6c1b66b91ed11477a4f533977b950caf26f113f120a9c60d75ac91d974499ce24822862df394ded7f2e24c42f4448 SHA512 5f5fcba0b36270f9c5bb52ae62b3fa4acf0d865b63a1b48c05ab6901ccd716f8b71399773eb2d4fbf66e7606322de1598aebf4414138a73ee1063c77382dd444
|
||||
DIST dxvk-bin-1.9.tar.gz 8111449 BLAKE2B 3800f38b26ba72fa22b59ce94f64b5cbdacefcad3515fb0c769f672c6add7d8c040e871ec412d11637bf3cbfcd30930c5a6c47917a00ce8c90e1c1d6a23197d2 SHA512 d8fadd0e88ebc11e281b75b59bb980ac8908ea5ce1c7e5849c557cd7eb257ff125b54351adbc9b04241ff2a72705f3a5fa5a9598bf571503a5808b80708f16c5
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit multilib-minimal
|
||||
|
||||
MY_P="dxvk-${PV}"
|
||||
DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine"
|
||||
HOMEPAGE="https://github.com/doitsujin/dxvk"
|
||||
SRC_URI="https://github.com/doitsujin/dxvk/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="video_cards_nvidia"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
|| (
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-440.31 )
|
||||
>=media-libs/mesa-20.2
|
||||
)
|
||||
|| (
|
||||
>=app-emulation/wine-staging-4.5[${MULTILIB_USEDEP},vulkan]
|
||||
>=app-emulation/wine-vanilla-4.5[${MULTILIB_USEDEP},vulkan]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# NOTE: Various repos contain dxvk ebuilds that install into …/dxvk.
|
||||
# To not clash with them, this ebuild installs into …/dxvk-bin.
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s|^basedir=.*$|basedir=\"${EPREFIX}\"|" setup_dxvk.sh || die
|
||||
|
||||
# Delete installation instructions for unused ABIs.
|
||||
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
|
||||
|
||||
fix_install_dir() {
|
||||
local bits="${MULTILIB_ABI_FLAG:8:2}"
|
||||
# Fix installation directory.
|
||||
sed -i "s|\"x${bits}\"|\"usr/$(get_libdir)/dxvk-bin\"|" \
|
||||
setup_dxvk.sh || die
|
||||
}
|
||||
multilib_foreach_abi fix_install_dir
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local bits="${MULTILIB_ABI_FLAG:8:2}"
|
||||
insinto "usr/$(get_libdir)/dxvk-bin"
|
||||
insopts --mode=755
|
||||
doins "${S}/x${bits}/"*.dll
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
newbin setup_dxvk.sh setup_dxvk-bin.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "dxvk-bin 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-bin.sh install --symlink."
|
||||
}
|
||||
Reference in New Issue
Block a user