commit:     2caf39cbf900aa0fb00d6317d6606b425d27f904
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 22:32:16 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 22:34:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2caf39cb

app-emulation/protontricks: add 1.10.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

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

diff --git a/app-emulation/protontricks/Manifest 
b/app-emulation/protontricks/Manifest
index 38bb9eb0a247..f56b92b2d44e 100644
--- a/app-emulation/protontricks/Manifest
+++ b/app-emulation/protontricks/Manifest
@@ -1 +1,2 @@
+DIST protontricks-1.10.1.tar.gz 160943 BLAKE2B 
12361ce009a62bdba8c420069f87879bf22e047df8bd6d843fb8672222fe6ab04d61f03a44c43a147729461a2f872e2239ee97d737aba28ffdbb273e797be218
 SHA512 
0b6e3277ea8a106d2bc52cc805b0c3a023733f0a6554fabfe9f32ff27d1bdf04058a419a719c7ca81dc45759a803a83b03408806e4b9328664e572655a3c4df0
 DIST protontricks-1.9.2.tar.gz 158505 BLAKE2B 
ea4bc39d835d28c3f1ba50fa64d9a646ec9ef535b7369517b77bccaceb62cb922bed8844a8a4ea1d4561e248e302628379326a4760b25ac24411e679d018cee0
 SHA512 
75158c5a8a86edaafcb5be1b01053db91e45754488db0febe026ef0cbfbbb67fa6f3f17d60fec997c6dd19a73245ee408bd2220e09a3983ccd253e6e4c10457d

diff --git a/app-emulation/protontricks/protontricks-1.10.1.ebuild 
b/app-emulation/protontricks/protontricks-1.10.1.ebuild
new file mode 100644
index 000000000000..f71d6217d58d
--- /dev/null
+++ b/app-emulation/protontricks/protontricks-1.10.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
+HOMEPAGE="https://github.com/Matoking/protontricks";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+gui"
+
+RDEPEND="app-emulation/winetricks
+       $(python_gen_cond_dep '
+               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
+}

Reply via email to