From: Marek Szuba Date: Wed, 8 Jan 2020 13:34:17 +0000 (+0000) Subject: app-emulation/protontricks: new package X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8732d3ecff0b7662080cc7b1408055a72fdc41fe;p=gentoo.git 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 --- diff --git a/app-emulation/protontricks/Manifest b/app-emulation/protontricks/Manifest new file mode 100644 index 000000000000..a4be8ea3ec96 --- /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 000000000000..23f787ca2d36 --- /dev/null +++ b/app-emulation/protontricks/metadata.xml @@ -0,0 +1,21 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + 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. + + + Enable the graphical user interface (requires gnome-extra/zenity) + + + Matoking/protontricks + protontricks + + 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 000000000000..0b0e576d39a3 --- /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 +}