public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/dxvk-bin/
Date: Wed, 12 Jan 2022 15:20:40 +0000 (UTC)	[thread overview]
Message-ID: <1641943835.04385a32d01322355f7eeff24a95cc0f90b9d6bc.flow@gentoo> (raw)

commit:     04385a32d01322355f7eeff24a95cc0f90b9d6bc
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Jan 11 23:30:35 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 23:30:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04385a32

app-emulation/dxvk-bin: Version bump 1.9.3

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 app-emulation/dxvk-bin/Manifest              |  1 +
 app-emulation/dxvk-bin/dxvk-bin-1.9.3.ebuild | 73 ++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/app-emulation/dxvk-bin/Manifest b/app-emulation/dxvk-bin/Manifest
index 56dc4295b..d1ec10419 100644
--- a/app-emulation/dxvk-bin/Manifest
+++ b/app-emulation/dxvk-bin/Manifest
@@ -1,2 +1,3 @@
 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.3.tar.gz 8233946 BLAKE2B e58e8ff3b9ba8c54029b6b5588826697a2547571308364ec85480f4766d985fc06fa57b77fa89d2d2c988d722fc82296108a84075559f2b4a5fc968331b0fe31 SHA512 a88baa78b792575bc45d9a36831eab72a5c4fa93001cc96a109cbb42b5d922a1c8569784c0e40780f13b7200b6644e30443155cfcecd375f1c6ad0d980a20d25

diff --git a/app-emulation/dxvk-bin/dxvk-bin-1.9.3.ebuild b/app-emulation/dxvk-bin/dxvk-bin-1.9.3.ebuild
new file mode 100644
index 000000000..2db44fbf3
--- /dev/null
+++ b/app-emulation/dxvk-bin/dxvk-bin-1.9.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 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."
+}


             reply	other threads:[~2022-01-12 15:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 15:20 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-29  0:23 [gentoo-commits] repo/proj/guru:master commit in: app-emulation/dxvk-bin/ Ronny Gutbrod
2022-03-29  0:23 Ronny Gutbrod
2022-03-28 13:55 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-29  0:23 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-01-12 15:20 Florian Schmaus
2021-09-20 19:06 Arthur Zamarin
2021-09-20 19:06 Arthur Zamarin
2021-03-02  9:02 Theo Anderson
2021-03-02  9:02 Theo Anderson
2021-02-20 19:04 Andrew Ammerlaan
2021-02-20 19:04 Andrew Ammerlaan
2020-12-03 11:36 Andrew Ammerlaan
2020-12-03 11:36 Andrew Ammerlaan
2020-10-08 18:20 Andrew Ammerlaan
2020-10-08 18:20 Andrew Ammerlaan
2020-08-14 13:21 Andrew Ammerlaan
2020-08-14 13:21 Andrew Ammerlaan
2020-05-17 14:44 Andrew Ammerlaan
2020-04-21 19:50 Andrew Ammerlaan
2020-04-21 19:50 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641943835.04385a32d01322355f7eeff24a95cc0f90b9d6bc.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox