diff options
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/grapejuice/Manifest | 2 | ||||
-rw-r--r-- | games-util/grapejuice/grapejuice-7.2.0.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/games-util/grapejuice/Manifest b/games-util/grapejuice/Manifest index a346de7..75b93b1 100644 --- a/games-util/grapejuice/Manifest +++ b/games-util/grapejuice/Manifest @@ -1,4 +1,6 @@ DIST grapejuice-v5.3.3.zip 420886 BLAKE2B 4ae54e2701d52daf84c16629e29e1800f4149eece0a1fa585e5594f93f9dab47286858d181d7ebaacd19f78f8a1ac8d86996f1a5c1e6ba7693143d122cf9a9e4 SHA512 a7da38336ba73d3acd21493f343ef86f75943998dd32a9d4ca3b819aa641afe1c888607f229306751c5ccca03f1e51116130747e8aaec2b8d93b51d512f43907 DIST grapejuice-v5.5.4.zip 434211 BLAKE2B 6bd18dd3702eb3ac738e012508b6ed0dd686ca75a4913fa5a694cf74d00c5ae59a4e5e924436654058acd7deeab7b637f010cdc11ada4126094b0e8bc50e50ad SHA512 4244173e1edcae8c8b58cdd78e08daa860260086052aba3d2c49292291d5199b515acfc4a12fb4f7662812dd20e6f8eedfb48f1c52fee66367d89064d2fa5533 +DIST grapejuice-v7.2.0.zip 443134 BLAKE2B 66526c0ac375dc0ef456a1c344343274754e21d48bf069265fc952af4f862b19baef472cae43162ba22bed20168176a18c2f9634f19abb62a1809099dc796f78 SHA512 1d7bb46805db08ddafdec40fe37664c2f8fd6f7f2068e9ea2c2488b846daf3998761158fd02983e586c1e21c0fc0870ddc8de76e77cccc15b7bef24949dea81a EBUILD grapejuice-5.3.3.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55 EBUILD grapejuice-5.5.4.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55 +EBUILD grapejuice-7.2.0.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55 diff --git a/games-util/grapejuice/grapejuice-7.2.0.ebuild b/games-util/grapejuice/grapejuice-7.2.0.ebuild new file mode 100644 index 0000000..c490dec --- /dev/null +++ b/games-util/grapejuice/grapejuice-7.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="A Wine+Roblox management application" +HOMEPAGE="https://gitlab.com/brinkervii/grapejuice.git" +SRC_URI="https://gitlab.com/brinkervii/grapejuice/-/archive/v${PV}/grapejuice-v${PV}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" + +DEPEND="app-arch/unzip + dev-libs/gobject-introspection + dev-libs/openssl[abi_x86_32] + dev-python/click + dev-python/pygobject + dev-python/packaging + dev-python/pip + dev-python/psutil + dev-python/requests + dev-python/setuptools + dev-python/unidecode + dev-util/desktop-file-utils + dev-util/gtk-update-icon-cache + media-libs/libpulse[abi_x86_32] + media-libs/mesa + net-libs/gnutls[abi_x86_32] + x11-libs/cairo + x11-libs/gtk+ + x11-misc/shared-mime-info + x11-misc/xdg-user-dirs + x11-misc/xdg-utils" +RDEPEND="${DEPEND}" + +src_unpack() { + default + mv ${WORKDIR}/grapejuice-v${PV} ${S} +} + +src_compile() { + cd ${S} + export PYTHONPATH="${S}/src" + python3 -m grapejuice_packaging linux_package +} + +src_install() { + export PYTHON_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")') + tar -xf ${S}/dist/linux_package/*.tar.gz -C ${D} + mv "${D}/usr/lib/python3/dist-packages" "${D}/usr/lib/python${PYTHON_VERSION}" + rm -r "${D}/usr/lib/python3" + default +} + +pkg_postinst() { + optfeature "Wine is required to run Roblox, but left out of depends to let the user decide on custom builds" app-emulation/wine + optfeature "Required for PRIME systems running XOrg, where XRandR based profiling is desired" x11-apps/xrandr +} |