commit:     b4fad8ff5d89cab7f818352250e59b84bc3d16d3
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 23:08:11 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 23:08:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4fad8ff

app-emulation/protontricks: Version bump to 1.12.1

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-emulation/protontricks/Manifest                |  1 +
 .../protontricks/protontricks-1.12.1.ebuild        | 59 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/protontricks/Manifest 
b/app-emulation/protontricks/Manifest
index ffd7cef58a7a..416e9857a17d 100644
--- a/app-emulation/protontricks/Manifest
+++ b/app-emulation/protontricks/Manifest
@@ -1,2 +1,3 @@
 DIST protontricks-1.10.5.tar.gz 163931 BLAKE2B 
299fd6c77460de3d2fa1b585a1ad3dae857e4b78898c753007b358cc25b82918d33cb31c2028a4b1b562ee6c20b95ebafc532d97e2bc1fa5358464c6a4c1da5c
 SHA512 
305b27ceaf428946a0ed09994173c861da1097c0bd21eebcc8b255bed3c4c50a920f0cc422601fbd44e0af373b71e928096fdd6f4cc2aa05c88126212fb4401f
 DIST protontricks-1.12.0.tar.gz 177554 BLAKE2B 
e9f2d38af1480eb70495b8a15e6c293800a16a5d797e539315ad071856860ef287f406bd9426796a0b121334e24357cbfc19e9b09d51675010fad4f738f2897c
 SHA512 
3671ada90edcca4ea658c6df349ee50d10bcc68013c11b2a0c87cb402514a2f71a8d83f76066d4d9e512e61179cc8c64d0077cd2dc59b7e6648c29aae1695de5
+DIST protontricks-1.12.1.tar.gz 178969 BLAKE2B 
a7734f6afc1cbddb4a0311d3afb0c89c92a86122cde6ff11e3874ffc5c993a6b21df1eec8772b3afe422e600afc82cfcd09c77047bd34a250df268c64fafbe8c
 SHA512 
83b08df73efb33d60d3d89315a28fb8ed169e09a46d397221b83c4e5c24bdc3a58d66582aade15db7e2bdfc617a235550673fd2f1ec1713bd7c3681c6bf3008a

diff --git a/app-emulation/protontricks/protontricks-1.12.1.ebuild 
b/app-emulation/protontricks/protontricks-1.12.1.ebuild
new file mode 100644
index 000000000000..00b66953382b
--- /dev/null
+++ b/app-emulation/protontricks/protontricks-1.12.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+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[gui?]
+       $(python_gen_cond_dep '
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/setuptools[${PYTHON_USEDEP}]
+               >=dev-python/vdf-3.4_p20240630[${PYTHON_USEDEP}]
+       ')
+       gui? ( gnome-extra/zenity )"
+BDEPEND="$(python_gen_cond_dep '
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+')"
+
+DOCS=( CHANGELOG.md README.md )
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       default
+       sed -i "/^from /s/\._vdf/vdf/g" src/protontricks/steam.py || die
+       rm -r src/protontricks/_vdf || die
+}
+
+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
+}

Reply via email to