aboutsummaryrefslogtreecommitdiffstats
path: root/games-util/grapejuice
diff options
context:
space:
mode:
authorturret <turret@duck.com>2022-09-10 20:00:37 -0500
committerturret <turret@duck.com>2022-09-10 20:00:37 -0500
commitcb78b0d7369c5bae7e3021fa3d9af1f37738337a (patch)
treec3a41d72d03fbc648451dd1f3b31ba28eb2094a2 /games-util/grapejuice
downloadportage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.tar.gz
portage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.tar.bz2
portage-overlay-cb78b0d7369c5bae7e3021fa3d9af1f37738337a.zip
initial commit
Diffstat (limited to 'games-util/grapejuice')
-rw-r--r--games-util/grapejuice/Manifest4
-rw-r--r--games-util/grapejuice/grapejuice-5.3.3.ebuild62
-rw-r--r--games-util/grapejuice/grapejuice-5.5.4.ebuild62
3 files changed, 128 insertions, 0 deletions
diff --git a/games-util/grapejuice/Manifest b/games-util/grapejuice/Manifest
new file mode 100644
index 0000000..a346de7
--- /dev/null
+++ b/games-util/grapejuice/Manifest
@@ -0,0 +1,4 @@
+DIST grapejuice-v5.3.3.zip 420886 BLAKE2B 4ae54e2701d52daf84c16629e29e1800f4149eece0a1fa585e5594f93f9dab47286858d181d7ebaacd19f78f8a1ac8d86996f1a5c1e6ba7693143d122cf9a9e4 SHA512 a7da38336ba73d3acd21493f343ef86f75943998dd32a9d4ca3b819aa641afe1c888607f229306751c5ccca03f1e51116130747e8aaec2b8d93b51d512f43907
+DIST grapejuice-v5.5.4.zip 434211 BLAKE2B 6bd18dd3702eb3ac738e012508b6ed0dd686ca75a4913fa5a694cf74d00c5ae59a4e5e924436654058acd7deeab7b637f010cdc11ada4126094b0e8bc50e50ad SHA512 4244173e1edcae8c8b58cdd78e08daa860260086052aba3d2c49292291d5199b515acfc4a12fb4f7662812dd20e6f8eedfb48f1c52fee66367d89064d2fa5533
+EBUILD grapejuice-5.3.3.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55
+EBUILD grapejuice-5.5.4.ebuild 1626 BLAKE2B f6c81a0fb437cd4d1e7f68e25f1e24148ace8f12e6d005a7cfc435cd8725d59951623f72f4ecc1cd56a8d60c510204be7ab57d4795361b4db6598ae70451c23a SHA512 dd8b69437b6eb0b42f44ba801d21a9f3e200f46f8b4a5640aeb53553f3c3e221c4bdf1d3de10e9a82e1a133fc313fcde7b6c7d1ab7f85038baa02541b68fdd55
diff --git a/games-util/grapejuice/grapejuice-5.3.3.ebuild b/games-util/grapejuice/grapejuice-5.3.3.ebuild
new file mode 100644
index 0000000..c490dec
--- /dev/null
+++ b/games-util/grapejuice/grapejuice-5.3.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
+}
diff --git a/games-util/grapejuice/grapejuice-5.5.4.ebuild b/games-util/grapejuice/grapejuice-5.5.4.ebuild
new file mode 100644
index 0000000..c490dec
--- /dev/null
+++ b/games-util/grapejuice/grapejuice-5.5.4.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
+}