1 |
commit: 7638d9eda1b084e4e42279a2d71efcad76b59f2b |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 17 21:06:20 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 17 21:08:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7638d9ed |
7 |
|
8 |
app-emulation/protontricks: add 1.7.0 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
app-emulation/protontricks/Manifest | 1 + |
13 |
.../protontricks/protontricks-1.7.0.ebuild | 63 ++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/protontricks/Manifest b/app-emulation/protontricks/Manifest |
17 |
index 70e2fc268254..07d2be25f81c 100644 |
18 |
--- a/app-emulation/protontricks/Manifest |
19 |
+++ b/app-emulation/protontricks/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST protontricks-1.6.0.tar.gz 61220 BLAKE2B 8a9af6f8cc134ad0e74b4c5e6c35bc8344687e65cc9811ca54402b16f723264cef8def6e733a532fd412db51d0ec63533baec52699ae994a97ecad0a25ebe847 SHA512 7276d7de1f0c18afc5c67552290888e3851bd5f073bbbf684000be66c2e65abac84b079373b120ff0ab6e4f4919caf8ee1288a2320de6c37629cb1185dfbea29 |
22 |
DIST protontricks-1.6.2.tar.gz 137643 BLAKE2B 09e6c37291eb47224d8f7cfcb5e864c86f6ea7ddcbbd11d1d64fbd24b2eed35aacfacad72e8481d7a3c76a915727e7dd8a58e80af9d208892a434dafb4098c17 SHA512 d0acf685c0f4480360bdf9c4e6444d51262316710d1dc6b0ca612da26a56efca647e9cdc030639bcaaa929077062cfa04a024b657a9456677d751758fe7d8552 |
23 |
+DIST protontricks-1.7.0.tar.gz 139203 BLAKE2B d93bbb672286d32743da1473e132508084bae527159911367c51e88686c38d3bad0a2f72a2c0f0feb09412e31e6d5bb20dfe113b9e71e4e655693bfbe663a968 SHA512 c12f211051bc23c8eb03c5385e8245361d72dcce1e641a7da1f87f344db5fdc7d698bd7691e0855ae025c1d94944db89b380805664d87123b6252d06259480ff |
24 |
|
25 |
diff --git a/app-emulation/protontricks/protontricks-1.7.0.ebuild b/app-emulation/protontricks/protontricks-1.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..cfb253df8379 |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/protontricks/protontricks-1.7.0.ebuild |
30 |
@@ -0,0 +1,63 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+DISTUTILS_SINGLE_IMPL=1 |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+ |
40 |
+inherit distutils-r1 xdg-utils |
41 |
+ |
42 |
+DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games" |
43 |
+HOMEPAGE="https://github.com/Matoking/protontricks" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+IUSE="+gui" |
50 |
+ |
51 |
+RDEPEND="app-emulation/winetricks |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ dev-python/vdf[${PYTHON_USEDEP}] |
55 |
+ ') |
56 |
+ gui? ( gnome-extra/zenity |
57 |
+ || ( |
58 |
+ app-emulation/winetricks[gtk] |
59 |
+ app-emulation/winetricks[kde] |
60 |
+ ) |
61 |
+ )" |
62 |
+BDEPEND="$(python_gen_cond_dep ' |
63 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
64 |
+')" |
65 |
+ |
66 |
+DOCS=( CHANGELOG.md README.md ) |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+python_prepare_all() { |
71 |
+ distutils-r1_python_prepare_all |
72 |
+ echo "version = '${PV}'" > "${S}"/src/${PN}/_version.py || die "Failed to generate the version file" |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ xdg_desktop_database_update |
77 |
+ |
78 |
+ elog |
79 |
+ |
80 |
+ if ! use gui; then |
81 |
+ ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option," |
82 |
+ ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed." |
83 |
+ ewarn |
84 |
+ fi |
85 |
+ |
86 |
+ elog "Protontricks can only find games for which a Proton prefix already exists." |
87 |
+ elog "Make sure to run a Proton game at least once before trying to use protontricks on it." |
88 |
+ elog |
89 |
+} |
90 |
+ |
91 |
+pkg_postrm() { |
92 |
+ xdg_desktop_database_update |
93 |
+} |