diff options
Diffstat (limited to 'games-util/grapejuice')
-rw-r--r-- | games-util/grapejuice/Manifest | 2 | ||||
-rw-r--r-- | games-util/grapejuice/grapejuice-7.8.3.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/games-util/grapejuice/Manifest b/games-util/grapejuice/Manifest index cb7ac77..af85bcc 100644 --- a/games-util/grapejuice/Manifest +++ b/games-util/grapejuice/Manifest @@ -1,3 +1,5 @@ DIST grapejuice-v7.7.2.tar.bz2 326884 BLAKE2B 54fa25e1c0cd885cd8acfac476fd3fbf53a5a07073e3a8c2731f73df0579987222e3d81430f5557fd7e61275e9a04988f677193c73327cdbe3d93f385231448e SHA512 e8e2ac76a6f46a914e3d5f18d8385047acddd568c3f3ef852575da51c58dc5ef6c583c77699c5875d0b2e74cfd3e555f927317fdc2fedbb0750aa7f1f38674ed +DIST grapejuice-v7.8.3.tar.bz2 326242 BLAKE2B 88da8ee3063b0eb50496b44f57b087ee16f793338ad797309e46412a4e5831fd10710c74815836d9ec4f4b4c4f51dc8068caf445905bc30d4c6b534722ab3a86 SHA512 c99372ef177d3891b1ad12649191fbd1b39408bdcfefda5d457415cf1b65b64b819f39de6fbfc652e05529e2910a42c4df09f6b4e6193483c4fbda9f2ee49df8 EBUILD grapejuice-7.7.2.ebuild 1566 BLAKE2B da7b37241975681edc2fc0bf8ab0c987e472ff240557b427888e0052dcfb104a24f1a0d7f8266c416ceaf7ab8123ddbbe71f0ac8afb53d9abdd3706dc5dcdc94 SHA512 7378542cfeae4e7fdbb9e60a3138ebe13ee38dca0ad1e9a0ed968fb7e4ef75e207bce2dc65046d31fafbd4b44295859bfe8d7ec992b031802067a6e51017d123 +EBUILD grapejuice-7.8.3.ebuild 1566 BLAKE2B da7b37241975681edc2fc0bf8ab0c987e472ff240557b427888e0052dcfb104a24f1a0d7f8266c416ceaf7ab8123ddbbe71f0ac8afb53d9abdd3706dc5dcdc94 SHA512 7378542cfeae4e7fdbb9e60a3138ebe13ee38dca0ad1e9a0ed968fb7e4ef75e207bce2dc65046d31fafbd4b44295859bfe8d7ec992b031802067a6e51017d123 MISC metadata.xml 361 BLAKE2B a6155a8bee6ab7fbd3802e9a9bd103ec77f5758f14a4ef29e5f1cb42e558a848999b22acdbcd60a2ec42dd4f6eda7ad0c427e585d2d7a0d4e4d803a66e6631b7 SHA512 92d1a97a20f88ed119aae7fda45537bc5321b860b8372626d63b354bdb56f223ab11c700933c525aef68e185454f266eae6364501b8840d41bebebc6a5d407ce 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..4b96e25 --- /dev/null +++ b/games-util/grapejuice/grapejuice-7.8.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg optfeature + +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}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="mirror" + +DEPEND="sys-devel/gettext + dev-vcs/git + dev-python/pip + x11-libs/cairo + x11-libs/gtk+ + dev-libs/gobject-introspection + dev-util/desktop-file-utils + x11-misc/xdg-utils + x11-misc/xdg-user-dirs + dev-util/gtk-update-icon-cache + x11-misc/shared-mime-info + x11-apps/mesa-progs + + dev-python/psutil + dev-python/pygobject + dev-python/packaging + dev-python/wheel + dev-python/setuptools + dev-python/requests + dev-python/unidecode + dev-python/click + dev-python/pydantic" +RDEPEND=" + ${DEPEND} + virtual/wine" + +src_unpack() { + default + mv "${WORKDIR}/grapejuice-v${PV}" "${S}" || die +} + +src_compile() { + cd "${S}" + export PYTHONPATH="${S}/src" + python3 -m grapejuice_packaging linux_package || die +} + +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}" || die + mv "${D}/usr/lib/python3/dist-packages" "${D}/usr/lib/python${PYTHON_VERSION}" || die + rm -r "${D}/usr/lib/python3" || die + default +} + +pkg_postinst() { + optfeature "Required for PRIME systems running XOrg, where XRandR based profiling is desired" x11-apps/xrandr +} |