mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
app-emulation/dxvk-bin: treeclean
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST dxvk-bin-1.10.1.tar.gz 8328595 BLAKE2B 28b7ba7190b44800d5656600fdc50d9d2c89669b1ec3053e4dd45bd5859271262e53c2016d0736611ce5904126b5a71a2f9dbee2c33feaea5d3dc986fef7f3a0 SHA512 5be4b34ec5f535a7ef6347b440fd7619a4bb6359919f4257dc71c84585d87362dbbce3c033c8b0eda0cbd6b6d08184aba0a2a1a12e195c82d776166536440e60
|
||||
DIST dxvk-bin-1.10.2.tar.gz 8449051 BLAKE2B b90cf6b1a4f088e13166f111c4a7b7a780f01bccf5851e02119185a6d10eb230b62027c06f0d06f4f97ba45788c3c8c839a1b720aa429cebdfddb6472fa025ee SHA512 9fff03e1c884ffe860650b6d37de640e483efe83437451587c11a76ff78ca6b0183c27620c2992cff8335a1a92ddd956a6b2edfd1d50e44652f6eb818c1b8054
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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."
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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."
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>Ronny (tastytea) Gutbrod</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/doitsujin/dxvk/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -34,11 +34,6 @@ net-proxy/toxiproxy
|
||||
# depends on dev-python/PyQt6, which is currently masked with all of qt6
|
||||
>=net-misc/maestral-qt-1.6.0
|
||||
|
||||
# Ronny (tastytea) Gutbrod <gentoo@tastytea.de> (2022-07-26)
|
||||
# app-emulation/dxvk is in ::gentoo now and doesn't need crossdev setup,
|
||||
# making the reason for the binary package void. Removal on 2022-08-26.
|
||||
app-emulation/dxvk-bin
|
||||
|
||||
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2022-07-20)
|
||||
# Depends on removed llvm:12
|
||||
dev-vcs/mergestat
|
||||
|
||||
Reference in New Issue
Block a user