From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE2D915808B for ; Mon, 28 Mar 2022 13:55:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41286E0938; Mon, 28 Mar 2022 13:55:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BD5DE0938 for ; Mon, 28 Mar 2022 13:55:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17E2D34119D for ; Mon, 28 Mar 2022 13:55:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71FBE250 for ; Mon, 28 Mar 2022 13:55:51 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1648475586.4800e6c27a138f3b704317813213601fc03b37a1.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/dxvk-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-emulation/dxvk-bin/Manifest app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild X-VCS-Directories: app-emulation/dxvk-bin/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 4800e6c27a138f3b704317813213601fc03b37a1 X-VCS-Branch: dev Date: Mon, 28 Mar 2022 13:55:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1e0b5ea9-a1bd-49c4-a368-b526b587b3fa X-Archives-Hash: 82b27f0febc75687ec3b7aa6d4a19df5 commit: 4800e6c27a138f3b704317813213601fc03b37a1 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Mon Mar 28 13:53:06 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Mon Mar 28 13:53:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4800e6c2 app-emulation/dxvk-bin: add 1.10.1 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> app-emulation/dxvk-bin/Manifest | 1 + app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild | 73 +++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-emulation/dxvk-bin/Manifest b/app-emulation/dxvk-bin/Manifest index b6953e76d..8422a8c95 100644 --- a/app-emulation/dxvk-bin/Manifest +++ b/app-emulation/dxvk-bin/Manifest @@ -1,2 +1,3 @@ +DIST dxvk-bin-1.10.1.tar.gz 8328595 BLAKE2B 28b7ba7190b44800d5656600fdc50d9d2c89669b1ec3053e4dd45bd5859271262e53c2016d0736611ce5904126b5a71a2f9dbee2c33feaea5d3dc986fef7f3a0 SHA512 5be4b34ec5f535a7ef6347b440fd7619a4bb6359919f4257dc71c84585d87362dbbce3c033c8b0eda0cbd6b6d08184aba0a2a1a12e195c82d776166536440e60 DIST dxvk-bin-1.10.tar.gz 8271267 BLAKE2B d8d17e95871462a0f39af903fc13b9e8f24e4f819e6427153ef26b1150f22a0fe5fba58fa1cfedca6db71f3b384c106ea92bf5e39bd3c92ed282b859e9095a06 SHA512 5bbdc2d05868f41cfa073d2ad3e57ca01dc570109b8513b4b8e04a198d44b75128a62e2029ef2b57edd1ebf286661072c34d741a78cf456cddf97dd2a60afc03 DIST dxvk-bin-1.9.4.tar.gz 8242967 BLAKE2B 166ecca8e636df8ccb607e4eb52c798a9da5c97233546498ab35f1cc74f0647f9b7a6120aa62ca9b5044d8797008bc40e94fbb83fc220000950512495d41512a SHA512 96182528d13c7e020545a25eb49ef7ca66ad7ccfd5942992be25757c92e2cd710beeb2450f44973d887ebae5d7346d6a4e3fc3fbcbbde338d7def83602604dc7 diff --git a/app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild b/app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild new file mode 100644 index 000000000..72f920257 --- /dev/null +++ b/app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild @@ -0,0 +1,73 @@ +# 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." +} From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF52C15808B for ; Tue, 29 Mar 2022 00:23:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD1C3E08FC; Tue, 29 Mar 2022 00:23:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EA9BE08FC for ; Tue, 29 Mar 2022 00:23:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9262B341464 for ; Tue, 29 Mar 2022 00:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DA0E36B for ; Tue, 29 Mar 2022 00:23:00 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1648475586.4800e6c27a138f3b704317813213601fc03b37a1.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/dxvk-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-emulation/dxvk-bin/Manifest app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild X-VCS-Directories: app-emulation/dxvk-bin/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 4800e6c27a138f3b704317813213601fc03b37a1 X-VCS-Branch: master Date: Tue, 29 Mar 2022 00:23:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5efca2d-571f-44e8-9321-82ad994c231d X-Archives-Hash: 2fe206a289d730e720cb129c1291994a Message-ID: <20220329002300.EShmE9lCXtF_58r9amI7_T2xFjinwnmhboJOMbAiNMA@z> commit: 4800e6c27a138f3b704317813213601fc03b37a1 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Mon Mar 28 13:53:06 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Mon Mar 28 13:53:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4800e6c2 app-emulation/dxvk-bin: add 1.10.1 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> app-emulation/dxvk-bin/Manifest | 1 + app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild | 73 +++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-emulation/dxvk-bin/Manifest b/app-emulation/dxvk-bin/Manifest index b6953e76d..8422a8c95 100644 --- a/app-emulation/dxvk-bin/Manifest +++ b/app-emulation/dxvk-bin/Manifest @@ -1,2 +1,3 @@ +DIST dxvk-bin-1.10.1.tar.gz 8328595 BLAKE2B 28b7ba7190b44800d5656600fdc50d9d2c89669b1ec3053e4dd45bd5859271262e53c2016d0736611ce5904126b5a71a2f9dbee2c33feaea5d3dc986fef7f3a0 SHA512 5be4b34ec5f535a7ef6347b440fd7619a4bb6359919f4257dc71c84585d87362dbbce3c033c8b0eda0cbd6b6d08184aba0a2a1a12e195c82d776166536440e60 DIST dxvk-bin-1.10.tar.gz 8271267 BLAKE2B d8d17e95871462a0f39af903fc13b9e8f24e4f819e6427153ef26b1150f22a0fe5fba58fa1cfedca6db71f3b384c106ea92bf5e39bd3c92ed282b859e9095a06 SHA512 5bbdc2d05868f41cfa073d2ad3e57ca01dc570109b8513b4b8e04a198d44b75128a62e2029ef2b57edd1ebf286661072c34d741a78cf456cddf97dd2a60afc03 DIST dxvk-bin-1.9.4.tar.gz 8242967 BLAKE2B 166ecca8e636df8ccb607e4eb52c798a9da5c97233546498ab35f1cc74f0647f9b7a6120aa62ca9b5044d8797008bc40e94fbb83fc220000950512495d41512a SHA512 96182528d13c7e020545a25eb49ef7ca66ad7ccfd5942992be25757c92e2cd710beeb2450f44973d887ebae5d7346d6a4e3fc3fbcbbde338d7def83602604dc7 diff --git a/app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild b/app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild new file mode 100644 index 000000000..72f920257 --- /dev/null +++ b/app-emulation/dxvk-bin/dxvk-bin-1.10.1.ebuild @@ -0,0 +1,73 @@ +# 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." +}