commit: a4a51e49b15beb4adefdc8a5ccdbde2338627fd3
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 22:57:33 2025 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 22:57:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a51e49
app-emulation/protontricks: Version bump to 1.13.1
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
app-emulation/protontricks/Manifest | 1 +
.../protontricks/protontricks-1.13.1.ebuild | 58 ++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/app-emulation/protontricks/Manifest
b/app-emulation/protontricks/Manifest
index 5410c477f5fe..8b2e0c9273f1 100644
--- a/app-emulation/protontricks/Manifest
+++ b/app-emulation/protontricks/Manifest
@@ -1,3 +1,4 @@
DIST protontricks-1.10.5.tar.gz 163931 BLAKE2B
299fd6c77460de3d2fa1b585a1ad3dae857e4b78898c753007b358cc25b82918d33cb31c2028a4b1b562ee6c20b95ebafc532d97e2bc1fa5358464c6a4c1da5c
SHA512
305b27ceaf428946a0ed09994173c861da1097c0bd21eebcc8b255bed3c4c50a920f0cc422601fbd44e0af373b71e928096fdd6f4cc2aa05c88126212fb4401f
DIST protontricks-1.12.1.tar.gz 178969 BLAKE2B
a7734f6afc1cbddb4a0311d3afb0c89c92a86122cde6ff11e3874ffc5c993a6b21df1eec8772b3afe422e600afc82cfcd09c77047bd34a250df268c64fafbe8c
SHA512
83b08df73efb33d60d3d89315a28fb8ed169e09a46d397221b83c4e5c24bdc3a58d66582aade15db7e2bdfc617a235550673fd2f1ec1713bd7c3681c6bf3008a
DIST protontricks-1.13.0.tar.gz 181370 BLAKE2B
e07ff851fafdd0b85ac04206f06ebb3b7dede1d4a2ad2d73029bd39d03299eae30dfdff0b726c8b7a4e403b0a5cfe7dd0a3216b0dcd2da0708f6032fa5d6c0d7
SHA512
c092e024166cfb139dd5966afb790e7773f02e73046cf197abc52d72fde8ef001db3c7730f9710e8c4204f4058abb780d934e3c1163f4143fd9cb27d8884df7a
+DIST protontricks-1.13.1.tar.gz 182965 BLAKE2B
61d80914b89e17cb2eade6265676dde35d85a18836467bf8c177c03c4935c50e9200bc41f50fc826e6a287b6c30d88c3dba597eb885ad9e1333c6140c4794309
SHA512
8f50ea609ffff37b82adbcbdd8ed5a2c305e25300b253fc072b0a22d10bd88c71e3756d215e7d462b59be1c251aa6220f9e9f1c5fc72a18f47edfd456a744ecc
diff --git a/app-emulation/protontricks/protontricks-1.13.1.ebuild
b/app-emulation/protontricks/protontricks-1.13.1.ebuild
new file mode 100644
index 000000000000..3487d9407c55
--- /dev/null
+++ b/app-emulation/protontricks/protontricks-1.13.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..14} 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/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
+}