app-emulation/dxvk: Remove old ebuilds.

This commit is contained in:
tastytea 2020-04-21 18:30:18 +02:00
parent 25a00b36ba
commit eff81d6d42
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 4 additions and 127 deletions

View File

@ -7,13 +7,12 @@ AUX flags.patch 1400 BLAKE2B c69951eddea7b94836e9d64b39870395c4eb54dcfff31fb9ff9
DIST dxvk-1.6.1.tar.gz 894553 BLAKE2B a45f905f33b255beed65daebbb946b36c28d00dc4d3830e46de342f16d95541361a31243e6ce3e8cde3b2c7297dd2b1044aa61955f1803b8bfb34ec83367c2a9 SHA512 0f3cb7096643d1bcb1db51696824c8ca16720adfe6894392122b21f400cfa416e79eb74cdcc46d1a63a276697d324324d7657afb70b9490e22e6792643fc5805
EBUILD dxvk-1.6.1-r1.ebuild 4925 BLAKE2B e1589d6a8df377d8be08f100bc02f150c2636f8c558d0b1846ec943a022827dd35fc77193715ce361b339f56b3a5eb57372a67f363e2399d3d6a643eb2871ac3 SHA512 a07b7e6791b3b29f836f4ef3863e78aeeae8bc074dedf37fbc0ddb432fc8b83bd51bddf70521d521c262918b2ca30cb62f082d23ebab1320ff00fafcc8fd168c
EBUILD dxvk-1.6.1.ebuild 2970 BLAKE2B 4eb3ed4de391e7bc3aea0b8f2789728f88f43cda7f4da00a6dc7f10308716418bab30c0f235ac4cf048ef887f2100eb4b131be02be0a46817b456a6e05c9db74 SHA512 2915110c781a80e70b1568868c03370804d50954885d7d0015d8bbd5517abcc1ec0bed8cb5f197a3f5d671c6cb5c282ce23fe33c4d179a6ee449b1aaf62ecec7
EBUILD dxvk-9999-r3.ebuild 2970 BLAKE2B 4eb3ed4de391e7bc3aea0b8f2789728f88f43cda7f4da00a6dc7f10308716418bab30c0f235ac4cf048ef887f2100eb4b131be02be0a46817b456a6e05c9db74 SHA512 2915110c781a80e70b1568868c03370804d50954885d7d0015d8bbd5517abcc1ec0bed8cb5f197a3f5d671c6cb5c282ce23fe33c4d179a6ee449b1aaf62ecec7
EBUILD dxvk-9999-r4.ebuild 4924 BLAKE2B 1c97a1625a03317922797a19b6a4ace73cc0c716fc0853f6b78dc5bc0ec8c7ee72b11f14f1aa2150a1211ed0182dc7e428f6d5e3ba5471efe90d6926e5ba57ae SHA512 bbb870d2f176632635b13eb41449ff95d292d14c6750d9e0d42466e6e8348df4ff30db94152dec1d19340cacdb1a5a81c061d5f21e857a22fbb22537bfee3e2c
MISC metadata.xml 643 BLAKE2B 0b5aa604f15a049ffce213c45e4731da24bc903d54dfce84692be92f106a271fde885ada19f5a44781452423178b1361e9fe2152cc4c689dbd4fe8e04f241ade SHA512 49f429099195f87d22cf8a5a549074b881aed6b7ff1f76427497f730137d002ee3d8b0a6d1cf4322588e8d3a4d61d9387d72e668eab8b9fa2e0cebb17f942802
-----BEGIN PGP SIGNATURE-----
iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXp8blQAKCRDPw5SX8bJu
B4bCAP9pvhIAtCUW1xgd7tUweyRyV9aVxhsa/xeFLCnbfAAomwD/W8P8e2gQihmF
EYgsSK1DwndjBEL4tPtraytebgAQxO8=
=bXyF
iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXp8fmwAKCRDPw5SX8bJu
BwHIAP93KJjSMxVr/X30Ur3NxZ0uMHfjYxVHQAv1NmxUdJbz/gD/Z/lVPxUxN2YR
FPqFkBEKExqlz0+eJHFbjvDBnl3vFwY=
=C8CX
-----END PGP SIGNATURE-----

View File

@ -1,122 +0,0 @@
# 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 flag-o-matic meson multilib-minimal ninja-utils
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
fi
DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 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"
fi
IUSE="+d3d9 +d3d10 +d3d11 +dxgi video_cards_nvidia"
DEPEND="
dev-util/vulkan-headers
dev-util/glslang
"
BDEPEND="
|| (
>=app-emulation/wine-staging-4.5[${MULTILIB_USEDEP},vulkan]
>=app-emulation/wine-vanilla-4.5[${MULTILIB_USEDEP},vulkan]
)
"
RDEPEND="
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|| (
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-440.31 )
>=media-libs/mesa-19.2
)
"
PATCHES=(
"${FILESDIR}/flags.patch"
)
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
# Filter -march flags as this has been causing issues.
filter-flags "-march=*"
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
add_flags() {
# Fix installation directory.
sed -i "s|\"x64\"|\"usr/$(get_libdir)/dxvk\"|" setup_dxvk.sh || die
# Add *FLAGS to cross-file.
local bits="${MULTILIB_ABI_FLAG:8:2}"
sed -i \
-e "s!@CFLAGS@!$(_meson_env_array "${CFLAGS}")!" \
-e "s!@CXXFLAGS@!$(_meson_env_array "${CXXFLAGS}")!" \
-e "s!@LDFLAGS@!$(_meson_env_array "${LDFLAGS}")!" \
build-wine${bits}.txt || die
}
multilib_foreach_abi add_flags
}
multilib_src_configure() {
local bits="${MULTILIB_ABI_FLAG:8:2}"
local emesonargs=(
--libdir="$(get_libdir)/dxvk"
--bindir="$(get_libdir)/dxvk/bin"
--cross-file="${S}/build-wine${bits}.txt"
$(meson_use d3d9 "enable_d3d9")
$(meson_use d3d10 "enable_d3d10")
$(meson_use d3d11 "enable_d3d11")
$(meson_use dxgi "enable_dxgi")
)
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 you use symlinks, don't forget to link the new libraries."
}