diff options
Diffstat (limited to 'app-emulation/protontricks')
-rw-r--r-- | app-emulation/protontricks/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/protontricks/protontricks-1.12.1.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-emulation/protontricks/Manifest b/app-emulation/protontricks/Manifest index 6f92d7c7e3db..e9431a865a3a 100644 --- a/app-emulation/protontricks/Manifest +++ b/app-emulation/protontricks/Manifest @@ -1,5 +1,7 @@ DIST protontricks-1.10.5.tar.gz 163931 BLAKE2B 299fd6c77460de3d2fa1b585a1ad3dae857e4b78898c753007b358cc25b82918d33cb31c2028a4b1b562ee6c20b95ebafc532d97e2bc1fa5358464c6a4c1da5c SHA512 305b27ceaf428946a0ed09994173c861da1097c0bd21eebcc8b255bed3c4c50a920f0cc422601fbd44e0af373b71e928096fdd6f4cc2aa05c88126212fb4401f DIST protontricks-1.12.0.tar.gz 177554 BLAKE2B e9f2d38af1480eb70495b8a15e6c293800a16a5d797e539315ad071856860ef287f406bd9426796a0b121334e24357cbfc19e9b09d51675010fad4f738f2897c SHA512 3671ada90edcca4ea658c6df349ee50d10bcc68013c11b2a0c87cb402514a2f71a8d83f76066d4d9e512e61179cc8c64d0077cd2dc59b7e6648c29aae1695de5 +DIST protontricks-1.12.1.tar.gz 178969 BLAKE2B a7734f6afc1cbddb4a0311d3afb0c89c92a86122cde6ff11e3874ffc5c993a6b21df1eec8772b3afe422e600afc82cfcd09c77047bd34a250df268c64fafbe8c SHA512 83b08df73efb33d60d3d89315a28fb8ed169e09a46d397221b83c4e5c24bdc3a58d66582aade15db7e2bdfc617a235550673fd2f1ec1713bd7c3681c6bf3008a EBUILD protontricks-1.10.5-r1.ebuild 1322 BLAKE2B 269c029122fae2822c7032c8b1fecd2ef6d64530ef24a8551c6a137f4e23c9e0b1c897b8c509281dc70fc88d1065f8805b3b4f479b57f067f954d36894d2f12b SHA512 08a62a4e1f0f9a7bd5b2f0c45c5c4df53844f46ee0b62027e863aa83a7f72c53d4aa4ce11f0a5b8eee9b72e966d5fff04a896656cf5001d6bfeba85602cbb094 EBUILD protontricks-1.12.0.ebuild 1477 BLAKE2B 350fd540aa9a10d9da27a7701534b0b316c1b5503d18d0899248aa4f842f145c7de0788d65c98c41478b4a4a1a3e5909efd5c5850347e18edeeb129e5f77ec9a SHA512 561d1511297e2c090a5bbb302989c95e819cce3403db84bc4d99309b898f9310ccf37cd3922c8e00a207a45a9b2655ad59840d8cf853ef260beeccfb673b57e9 +EBUILD protontricks-1.12.1.ebuild 1477 BLAKE2B 350fd540aa9a10d9da27a7701534b0b316c1b5503d18d0899248aa4f842f145c7de0788d65c98c41478b4a4a1a3e5909efd5c5850347e18edeeb129e5f77ec9a SHA512 561d1511297e2c090a5bbb302989c95e819cce3403db84bc4d99309b898f9310ccf37cd3922c8e00a207a45a9b2655ad59840d8cf853ef260beeccfb673b57e9 MISC metadata.xml 811 BLAKE2B 0a4d9ac3d1365370f8087df983a58c68dc2ad30fb8d92f5c65bf704680a6892dffe11b04c6405856673e7dcddf6a80fb690766e799d5086711baad676c812d57 SHA512 691f23176b1fbc48c3d00d0abcedb5b1eb208acdb5011d542f89a1ec2d604b9a5e4e2b6855de5b3285ca3118ed62b958082dd827a69ce07ad57a3e4342c6132c diff --git a/app-emulation/protontricks/protontricks-1.12.1.ebuild b/app-emulation/protontricks/protontricks-1.12.1.ebuild new file mode 100644 index 000000000000..00b66953382b --- /dev/null +++ b/app-emulation/protontricks/protontricks-1.12.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} 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/setuptools[${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 +} |