public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/dxvk-bin/
Date: Wed,  2 Dec 2020 16:48:10 +0000 (UTC)	[thread overview]
Message-ID: <1606927579.d7994168d4448e361dbe5b51e56de989f0e308c6.tastytea@gentoo> (raw)

commit:     d7994168d4448e361dbe5b51e56de989f0e308c6
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Dec  2 16:46:19 2020 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Dec  2 16:46:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7994168

app-emulation/dxvk-bin: Version bump 1.7.3.

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

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

diff --git a/app-emulation/dxvk-bin/Manifest b/app-emulation/dxvk-bin/Manifest
index 6f5ac59c..a19fbf1b 100644
--- a/app-emulation/dxvk-bin/Manifest
+++ b/app-emulation/dxvk-bin/Manifest
@@ -1,2 +1,3 @@
 DIST dxvk-bin-1.7.1.tar.gz 7863711 BLAKE2B f6302e254864fda8a6cac17917c41c77974eeeeb1e2bf0270b0faaa4449d709036ff065e48b5c20e9be92dc8be0b4dbfe87b03056e168f5f47ee54327bd8a513 SHA512 8fef547446d1305f70153f1168ea54f9fab461d32f2209fecf400074724a400ed495f21982e4d4c57cf7af1902a58104ab67c8aa4ca29f4c827fb2aac711a855
 DIST dxvk-bin-1.7.2.tar.gz 7881987 BLAKE2B 5f9a9bab7807b37cd56108a36c4c00f52897d07c4a5b50a61f97d3d5f6ea1f14d5b5effdbf2bc8faf78c965449b41d9792b6f20c2233e7ae6912dad5dc117ef3 SHA512 88ce06c3a37384341906b1f1082c4ddcfdcb13032909414f922600da2c9d1b6697f0fe0fcf1b8a46e60c30f2391f5a01d042606cf3cd161d5f0632de610ff929
+DIST dxvk-bin-1.7.3.tar.gz 7866514 BLAKE2B 3ac1427535dece18229d35dc44be75a4644e1252a7eba2eaccae3fb131d154412bc7a83ec33d0283374c21b70861652e5da50eea942b247ffdaa8a9b6fdd81a5 SHA512 11f66dda37419f54d78c7505d6aced2dc880c0f86f1eb91d0139ae9d3f0dbda149763670abeb953f5b073d8b705f922c3ff2b1f52cb87fab6f18e2a9f254f7a3

diff --git a/app-emulation/dxvk-bin/dxvk-bin-1.7.3.ebuild b/app-emulation/dxvk-bin/dxvk-bin-1.7.3.ebuild
new file mode 100644
index 00000000..ff390688
--- /dev/null
+++ b/app-emulation/dxvk-bin/dxvk-bin-1.7.3.ebuild
@@ -0,0 +1,73 @@
+# 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 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-19.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:[~2020-12-02 16:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02 16:48 Ronny Gutbrod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-14 17:03 [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/dxvk-bin/ Ronny Gutbrod
2022-07-14 17:03 Ronny Gutbrod
2022-03-29  0:23 [gentoo-commits] repo/proj/guru:master " 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-03-28 13:55 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-28 13:55 Ronny Gutbrod
2022-03-06  5:48 Ronny Gutbrod
2022-03-06  5:48 Ronny Gutbrod
2022-01-25 11:47 Ronny Gutbrod
2022-01-25 11:47 Ronny Gutbrod
2022-01-11 23:31 Ronny Gutbrod
2022-01-11 23:31 Ronny Gutbrod
2021-09-20 14:18 Ronny Gutbrod
2021-09-20 14:18 Ronny Gutbrod
2021-07-26 14:48 Ronny Gutbrod
2021-07-26 14:48 Ronny Gutbrod
2021-06-15 18:44 Ronny Gutbrod
2021-06-15 18:44 Ronny Gutbrod
2021-03-02  0:40 Ronny Gutbrod
2021-03-02  0:40 Ronny Gutbrod
2021-02-19 14:58 Ronny Gutbrod
2021-02-19 14:58 Ronny Gutbrod
2020-12-02 16:48 Ronny Gutbrod
2020-10-07 17:38 Ronny Gutbrod
2020-10-07 17:38 Ronny Gutbrod
2020-08-13 18:25 Ronny Gutbrod
2020-08-13 18:25 Ronny Gutbrod
2020-05-16 16:18 Ronny Gutbrod
2020-04-21 19:27 Ronny Gutbrod
2020-04-21 19:00 Ronny Gutbrod

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=1606927579.d7994168d4448e361dbe5b51e56de989f0e308c6.tastytea@gentoo \
    --to=gentoo@tastytea.de \
    --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