From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/protontricks/
Date: Wed, 8 Jan 2020 13:36:38 +0000 (UTC) [thread overview]
Message-ID: <1578490587.8732d3ecff0b7662080cc7b1408055a72fdc41fe.marecki@gentoo> (raw)
commit: 8732d3ecff0b7662080cc7b1408055a72fdc41fe
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 13:34:17 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 13:36:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8732d3ec
app-emulation/protontricks: new package
Allows one to use winetricks on Proton (Steam Play) games without
having to manually mess with prefix and Proton configuration.
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-emulation/protontricks/Manifest | 1 +
app-emulation/protontricks/metadata.xml | 21 ++++++++++
.../protontricks/protontricks-1.3.1.ebuild | 46 ++++++++++++++++++++++
3 files changed, 68 insertions(+)
diff --git a/app-emulation/protontricks/Manifest b/app-emulation/protontricks/Manifest
new file mode 100644
index 00000000000..a4be8ea3ec9
--- /dev/null
+++ b/app-emulation/protontricks/Manifest
@@ -0,0 +1 @@
+DIST protontricks-1.3.1.tar.gz 57784 BLAKE2B ed013367a2cc2384e4340379e2c23999a556ed26920ad59dfd7a8f773e490ee76e253a5fe3216e651cdcdb3e225a2e394255500c611d24f6bf9029582d55bb1f SHA512 4e33334e219db2e6679b430ee42408529478834c80c7da3b9bece4756eb27b9331d49a6a884de8a7ced5ec29d78ce831fee4cfbf6d5adcd750666b7e7a1e5607
diff --git a/app-emulation/protontricks/metadata.xml b/app-emulation/protontricks/metadata.xml
new file mode 100644
index 00000000000..23f787ca2d3
--- /dev/null
+++ b/app-emulation/protontricks/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <longdescription lang="en">
+ A simple wrapper script that allows you to easily run Winetricks commands for Steam Play/Proton
+ games. This is often useful when a game requires closed-source runtime libraries that are not
+ included with Proton, or to activate Gallium Nine (native Direct3D 9 support) for a Proton game,
+ without all the tedious messing around with Wine prefixes.
+ </longdescription>
+ <use>
+ <flag name="gui">Enable the graphical user interface (requires <pkg>gnome-extra/zenity</pkg>)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Matoking/protontricks</remote-id>
+ <remote-id type="pypi">protontricks</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emulation/protontricks/protontricks-1.3.1.ebuild b/app-emulation/protontricks/protontricks-1.3.1.ebuild
new file mode 100644
index 00000000000..0b0e576d39a
--- /dev/null
+++ b/app-emulation/protontricks/protontricks-1.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
+HOMEPAGE="https://github.com/Matoking/protontricks"
+SRC_URI="https://codeload.github.com/Matoking/${PN}/tar.gz/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+gui"
+
+RDEPEND="${PYTHON_DEPS}
+ app-emulation/winetricks
+ dev-python/vdf[${PYTHON_USEDEP}]
+ gui? ( gnome-extra/zenity
+ || (
+ app-emulation/winetricks[gtk]
+ app-emulation/winetricks[kde]
+ )
+ )"
+
+DOCS=(CHANGELOG.md README.md)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ 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
+}
next reply other threads:[~2020-01-08 13:36 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 13:36 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-12 11:14 [gentoo-commits] repo/gentoo:master commit in: app-emulation/protontricks/ David Seifert
2020-02-28 16:14 Marek Szuba
2020-02-28 16:22 Marek Szuba
2020-03-18 17:14 Marek Szuba
2020-04-14 12:59 Agostino Sarubbo
2020-04-22 9:55 Marek Szuba
2020-07-01 12:43 Marek Szuba
2020-07-11 12:05 Marek Szuba
2020-09-21 20:09 Marek Szuba
2021-01-19 14:09 Marek Szuba
2021-03-12 15:25 Sam James
2021-03-15 12:49 Marek Szuba
2021-03-15 12:49 Marek Szuba
2021-03-15 12:49 Marek Szuba
2021-04-27 11:05 Marek Szuba
2021-05-13 19:50 Marek Szuba
2021-05-25 12:31 Marek Szuba
2021-05-25 16:55 Sam James
2021-06-13 20:07 Marek Szuba
2021-06-25 10:00 Marek Szuba
2021-07-17 7:42 Agostino Sarubbo
2021-07-17 21:19 Marek Szuba
2021-08-17 12:10 Marek Szuba
2021-09-20 9:31 Marek Szuba
2021-11-17 13:03 Marek Szuba
2021-12-18 11:43 Marek Szuba
2021-12-18 11:44 Marek Szuba
2021-12-29 0:01 Marek Szuba
2022-01-17 21:08 Marek Szuba
2022-01-28 14:45 Marek Szuba
2022-02-24 14:04 Sam James
2022-03-12 1:24 Marek Szuba
2022-04-06 23:29 Marek Szuba
2022-05-30 10:42 Marek Szuba
2022-07-05 17:54 Sam James
2022-07-08 8:13 Marek Szuba
2022-07-13 15:55 Marek Szuba
2022-08-15 9:26 Marek Szuba
2022-09-01 15:34 Marek Szuba
2022-09-01 15:34 Marek Szuba
2022-09-21 23:54 Marek Szuba
2022-10-04 0:53 Marek Szuba
2022-11-10 22:40 Marek Szuba
2022-11-10 22:40 Marek Szuba
2022-12-13 22:34 Marek Szuba
2023-02-01 22:41 Marek Szuba
2023-02-01 22:41 Marek Szuba
2023-03-08 13:22 Marek Szuba
2023-05-13 8:08 Marek Szuba
2023-05-13 8:08 Marek Szuba
2023-07-21 21:36 Marek Szuba
2023-07-21 21:36 Marek Szuba
2023-10-26 0:31 Marek Szuba
2023-12-27 18:09 Marek Szuba
2023-12-27 18:09 Marek Szuba
2023-12-27 18:19 Marek Szuba
2024-04-07 15:22 Marek Szuba
2024-09-07 18:16 Andreas Sturmlechner
2024-09-07 21:26 Andreas Sturmlechner
2024-09-07 21:26 Andreas Sturmlechner
2024-09-15 14:14 James Le Cuirot
2024-09-15 14:14 James Le Cuirot
2024-09-15 14:14 James Le Cuirot
2024-09-16 21:07 James Le Cuirot
2025-03-13 23:08 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1578490587.8732d3ecff0b7662080cc7b1408055a72fdc41fe.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox