Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/dxvk-bin/
Date: Mon, 26 Jul 2021 14:48:55
Message-Id: 1627310900.3978b57a6784b6711522d179783da365c550f4bf.tastytea@gentoo
1 commit: 3978b57a6784b6711522d179783da365c550f4bf
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Mon Jul 26 14:48:20 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Mon Jul 26 14:48:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3978b57a
7
8 app-emulation/dxvk-bin: Remove old ebuild
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 app-emulation/dxvk-bin/Manifest | 1 -
13 app-emulation/dxvk-bin/dxvk-bin-1.8.1.ebuild | 73 ----------------------------
14 2 files changed, 74 deletions(-)
15
16 diff --git a/app-emulation/dxvk-bin/Manifest b/app-emulation/dxvk-bin/Manifest
17 index ed7572ff6..f7159ed89 100644
18 --- a/app-emulation/dxvk-bin/Manifest
19 +++ b/app-emulation/dxvk-bin/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST dxvk-bin-1.8.1.tar.gz 7942210 BLAKE2B 9c27d473037d28eb4999260f871c338e96ed08522ba9497e20eee9d5a951a73e5606ef684f67adad0f7a5ebb9559b43d42c589774666be66369ea6f605f5d8f7 SHA512 485a1fe584aa3607997d4405e61df7b67d87aec47d56bb645901b20ea6cbf2024e8ce135cd5bef6591587dc3d058650f2b6889b5cde321a8a4e4137a68cd541b
22 DIST dxvk-bin-1.9.1.tar.gz 8130256 BLAKE2B 50e49c69f7f43df09098e9c65089826cc4bb92bab53aeb9e07c2876fa1c07c04b600ca0598c790fb4eab6b076cc61f815e8566f6c0adbd6fc5462862fee19324 SHA512 4ab2be529c295ace85ac5731053e894383f72cb1b601b74a6fcfb581fb61568657a7e7f6842f5af1339a58ab57e33e79209f63e659732bd9774f956be2d88b31
23 DIST dxvk-bin-1.9.tar.gz 8111449 BLAKE2B 3800f38b26ba72fa22b59ce94f64b5cbdacefcad3515fb0c769f672c6add7d8c040e871ec412d11637bf3cbfcd30930c5a6c47917a00ce8c90e1c1d6a23197d2 SHA512 d8fadd0e88ebc11e281b75b59bb980ac8908ea5ce1c7e5849c557cd7eb257ff125b54351adbc9b04241ff2a72705f3a5fa5a9598bf571503a5808b80708f16c5
24
25 diff --git a/app-emulation/dxvk-bin/dxvk-bin-1.8.1.ebuild b/app-emulation/dxvk-bin/dxvk-bin-1.8.1.ebuild
26 deleted file mode 100644
27 index e705789d5..000000000
28 --- a/app-emulation/dxvk-bin/dxvk-bin-1.8.1.ebuild
29 +++ /dev/null
30 @@ -1,73 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -MULTILIB_COMPAT=( abi_x86_{32,64} )
37 -inherit multilib-minimal
38 -
39 -MY_P="dxvk-${PV}"
40 -DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine"
41 -HOMEPAGE="https://github.com/doitsujin/dxvk"
42 -SRC_URI="https://github.com/doitsujin/dxvk/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="ZLIB"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -IUSE="video_cards_nvidia"
48 -
49 -DEPEND=""
50 -RDEPEND="
51 - || (
52 - video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-440.31 )
53 - >=media-libs/mesa-19.2
54 - )
55 - || (
56 - >=app-emulation/wine-staging-4.5[${MULTILIB_USEDEP},vulkan]
57 - >=app-emulation/wine-vanilla-4.5[${MULTILIB_USEDEP},vulkan]
58 - )
59 -"
60 -
61 -S="${WORKDIR}/${MY_P}"
62 -
63 -# NOTE: Various repos contain dxvk ebuilds that install into …/dxvk.
64 -# To not clash with them, this ebuild installs into …/dxvk-bin.
65 -
66 -src_prepare() {
67 - default
68 -
69 - sed -i "s|^basedir=.*$|basedir=\"${EPREFIX}\"|" setup_dxvk.sh || die
70 -
71 - # Delete installation instructions for unused ABIs.
72 - if ! use abi_x86_64; then
73 - sed -i '/installFile "$win64_sys_path"/d' setup_dxvk.sh || die
74 - fi
75 - if ! use abi_x86_32; then
76 - sed -i '/installFile "$win32_sys_path"/d' setup_dxvk.sh || die
77 - fi
78 -
79 - fix_install_dir() {
80 - local bits="${MULTILIB_ABI_FLAG:8:2}"
81 - # Fix installation directory.
82 - sed -i "s|\"x${bits}\"|\"usr/$(get_libdir)/dxvk-bin\"|" \
83 - setup_dxvk.sh || die
84 - }
85 - multilib_foreach_abi fix_install_dir
86 -}
87 -
88 -multilib_src_install() {
89 - local bits="${MULTILIB_ABI_FLAG:8:2}"
90 - insinto "usr/$(get_libdir)/dxvk-bin"
91 - insopts --mode=755
92 - doins "${S}/x${bits}/"*.dll
93 -}
94 -
95 -multilib_src_install_all() {
96 - newbin setup_dxvk.sh setup_dxvk-bin.sh
97 -}
98 -
99 -pkg_postinst() {
100 - elog "dxvk-bin is installed, but not activated. You have to create DLL overrides"
101 - elog "in order to make use of it. To do so, set WINEPREFIX and execute"
102 - elog "setup_dxvk-bin.sh install --symlink."
103 -}