diff options
author | turret <turret@duck.com> | 2023-03-25 17:02:51 -0500 |
---|---|---|
committer | turret <turret@duck.com> | 2023-03-25 17:02:51 -0500 |
commit | 8f8d6a00599012882349ae6eb7f9cc86fcc6ab71 (patch) | |
tree | ae97e23cda53998ac01ffce28c39ae9817ba9327 /games-util/grapejuice/grapejuice-7.7.2.ebuild | |
parent | 67a9bdd66ae9c04812cfbe1cdcbebc4f20a4c180 (diff) | |
download | portage-overlay-8f8d6a00599012882349ae6eb7f9cc86fcc6ab71.tar.gz portage-overlay-8f8d6a00599012882349ae6eb7f9cc86fcc6ab71.tar.bz2 portage-overlay-8f8d6a00599012882349ae6eb7f9cc86fcc6ab71.zip |
grapes
Diffstat (limited to 'games-util/grapejuice/grapejuice-7.7.2.ebuild')
-rw-r--r-- | games-util/grapejuice/grapejuice-7.7.2.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/games-util/grapejuice/grapejuice-7.7.2.ebuild b/games-util/grapejuice/grapejuice-7.7.2.ebuild new file mode 100644 index 0000000..c490dec --- /dev/null +++ b/games-util/grapejuice/grapejuice-7.7.2.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 +} |