From 67a9bdd66ae9c04812cfbe1cdcbebc4f20a4c180 Mon Sep 17 00:00:00 2001 From: turret Date: Fri, 24 Mar 2023 22:07:48 -0500 Subject: grapejuice --- games-util/grapejuice/Manifest | 2 + games-util/grapejuice/grapejuice-7.8.3.ebuild | 62 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 games-util/grapejuice/grapejuice-7.8.3.ebuild diff --git a/games-util/grapejuice/Manifest b/games-util/grapejuice/Manifest index d3ea20c..755475f 100644 --- a/games-util/grapejuice/Manifest +++ b/games-util/grapejuice/Manifest @@ -2,7 +2,9 @@ DIST grapejuice-v5.3.3.zip 420886 BLAKE2B 4ae54e2701d52daf84c16629e29e1800f4149e DIST grapejuice-v5.5.4.zip 434211 BLAKE2B 6bd18dd3702eb3ac738e012508b6ed0dd686ca75a4913fa5a694cf74d00c5ae59a4e5e924436654058acd7deeab7b637f010cdc11ada4126094b0e8bc50e50ad SHA512 4244173e1edcae8c8b58cdd78e08daa860260086052aba3d2c49292291d5199b515acfc4a12fb4f7662812dd20e6f8eedfb48f1c52fee66367d89064d2fa5533 DIST grapejuice-v7.2.0.zip 443134 BLAKE2B 66526c0ac375dc0ef456a1c344343274754e21d48bf069265fc952af4f862b19baef472cae43162ba22bed20168176a18c2f9634f19abb62a1809099dc796f78 SHA512 1d7bb46805db08ddafdec40fe37664c2f8fd6f7f2068e9ea2c2488b846daf3998761158fd02983e586c1e21c0fc0870ddc8de76e77cccc15b7bef24949dea81a DIST grapejuice-v7.2.1.zip 443275 BLAKE2B 37847d197fbe86572e11d710b3a5ed0b44f7cfc6e8b7d74223d2a0ff6c2577755d7293db0feebe8683a759693fcb2b3fdda8a3d31ecc04039c19ab0ef597a61e SHA512 e4b35288a990787b21c49b406bd6876676784507a46e80c736a72878e02f9fa676389e6b1c89a64f706229369f52a30508e608d39476a5fc6db84ec1f016166c +DIST grapejuice-v7.8.3.zip 445205 BLAKE2B 832fa4f6a1a35b106d41ff18449edc7f3ee5b2b84c9b499a7f86baececf13d8e3768efa6360c5fcd0aa59573b4645c1fc7a30301276a6a51240e6106777e21be SHA512 4572662e451d45b66b0a5d3bf7988d22ac869eb87f6ff3d33af4b0ae553eddd8c10fb61f8d7dda9498fe67f0038485ea4e0915726b0d53842510fbe155f4fc4b 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 EBUILD grapejuice-7.2.1.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55 +EBUILD grapejuice-7.8.3.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55 diff --git a/games-util/grapejuice/grapejuice-7.8.3.ebuild b/games-util/grapejuice/grapejuice-7.8.3.ebuild new file mode 100644 index 0000000..c490dec --- /dev/null +++ b/games-util/grapejuice/grapejuice-7.8.3.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 +} -- cgit v1.2.3