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 E2935158043 for ; Sun, 7 Apr 2024 15:22:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BC54E2ABA; Sun, 7 Apr 2024 15:22:45 +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 111E0E2ABA for ; Sun, 7 Apr 2024 15:22:45 +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 49D21343331 for ; Sun, 7 Apr 2024 15:22:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAB9A1691 for ; Sun, 7 Apr 2024 15:22:42 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1712503345.5f841a0b8c211a95952047b751da1daa2a63f1c8.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/protontricks/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/protontricks/Manifest app-emulation/protontricks/protontricks-1.11.1.ebuild X-VCS-Directories: app-emulation/protontricks/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 5f841a0b8c211a95952047b751da1daa2a63f1c8 X-VCS-Branch: master Date: Sun, 7 Apr 2024 15:22:42 +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: a74b9af9-3557-4d58-b9e9-006418537f7e X-Archives-Hash: 40fad47daba8e15b5c7c143b70ba4347 commit: 5f841a0b8c211a95952047b751da1daa2a63f1c8 Author: Marek Szuba gentoo org> AuthorDate: Sun Apr 7 15:00:12 2024 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Apr 7 15:22:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f841a0b app-emulation/protontricks: add 1.11.1 Signed-off-by: Marek Szuba gentoo.org> app-emulation/protontricks/Manifest | 1 + .../protontricks/protontricks-1.11.1.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-emulation/protontricks/Manifest b/app-emulation/protontricks/Manifest index 7dfaf4ba944e..792b86075eb6 100644 --- a/app-emulation/protontricks/Manifest +++ b/app-emulation/protontricks/Manifest @@ -1 +1,2 @@ DIST protontricks-1.10.5.tar.gz 163931 BLAKE2B 299fd6c77460de3d2fa1b585a1ad3dae857e4b78898c753007b358cc25b82918d33cb31c2028a4b1b562ee6c20b95ebafc532d97e2bc1fa5358464c6a4c1da5c SHA512 305b27ceaf428946a0ed09994173c861da1097c0bd21eebcc8b255bed3c4c50a920f0cc422601fbd44e0af373b71e928096fdd6f4cc2aa05c88126212fb4401f +DIST protontricks-1.11.1.tar.gz 166843 BLAKE2B af6692b081d1d819bef39fd69c2108454b6dfcc29b004415a73aa0c0463e3887ddffe0e10864799f665f81fc90e5365accab1722af046f50a08bb7ba221f7e23 SHA512 eb0233180ba41c91ba78072ea2aabe9e8fea5b452fba0fd56aaf17e0282b0ee04e81d3665a7be546e3112382e0b574bb077af6b6be6ad2156dabc3112a1b831b diff --git a/app-emulation/protontricks/protontricks-1.11.1.ebuild b/app-emulation/protontricks/protontricks-1.11.1.ebuild new file mode 100644 index 000000000000..fc9689a51050 --- /dev/null +++ b/app-emulation/protontricks/protontricks-1.11.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games" +HOMEPAGE="https://github.com/Matoking/protontricks" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+gui" + +RDEPEND="app-emulation/winetricks + $(python_gen_cond_dep ' + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/vdf[${PYTHON_USEDEP}] + ') + gui? ( gnome-extra/zenity + || ( + app-emulation/winetricks[gtk] + app-emulation/winetricks[kde] + ) + )" +BDEPEND="$(python_gen_cond_dep ' + dev-python/setuptools-scm[${PYTHON_USEDEP}] +')" + +DOCS=( CHANGELOG.md README.md ) + +distutils_enable_tests pytest + +pkg_postinst() { + xdg_desktop_database_update + + elog + + if ! use gui; then + ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option," + ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed." + ewarn + fi + + elog "Protontricks can only find games for which a Proton prefix already exists." + elog "Make sure to run a Proton game at least once before trying to use protontricks on it." + elog +} + +pkg_postrm() { + xdg_desktop_database_update +}