aboutsummaryrefslogtreecommitdiffstats
path: root/games-util
diff options
context:
space:
mode:
Diffstat (limited to 'games-util')
-rw-r--r--games-util/grapejuice/Manifest5
-rw-r--r--games-util/grapejuice/files/no-build-isolation.patch12
-rw-r--r--games-util/grapejuice/grapejuice-7.7.2.ebuild64
-rw-r--r--games-util/grapejuice/grapejuice-7.8.3.ebuild2
4 files changed, 16 insertions, 67 deletions
diff --git a/games-util/grapejuice/Manifest b/games-util/grapejuice/Manifest
index af85bcc..d6b3059 100644
--- a/games-util/grapejuice/Manifest
+++ b/games-util/grapejuice/Manifest
@@ -1,5 +1,4 @@
-DIST grapejuice-v7.7.2.tar.bz2 326884 BLAKE2B 54fa25e1c0cd885cd8acfac476fd3fbf53a5a07073e3a8c2731f73df0579987222e3d81430f5557fd7e61275e9a04988f677193c73327cdbe3d93f385231448e SHA512 e8e2ac76a6f46a914e3d5f18d8385047acddd568c3f3ef852575da51c58dc5ef6c583c77699c5875d0b2e74cfd3e555f927317fdc2fedbb0750aa7f1f38674ed
+AUX no-build-isolation.patch 595 BLAKE2B d39fe3e9c03631825df81b1939f901ea6ea72b728f523e18e72f866acfceb688d844b254f5e94add692f662d9de47350bda17f3196a940bf2d7d9667d514b77e SHA512 0012b75f90a90fcf2957a7c2243e84a0124741068bffc927a6cacd964549a9f6c6c214af936c1fc1c4381384665a7dff388b051aa4236a0eface2e25e2c8f929
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
+EBUILD grapejuice-7.8.3.ebuild 1614 BLAKE2B 9df2d9fe6658e9940cc3e8b2dc3cd68c6270079e0c977977c123a8ac3b275d4e38ce851373b3e7dccf746f06516442750f638380b948566de3f20864a334a580 SHA512 03c9d9f08b0f9b162dedca2799440fa6fe07de33074dfd51fbfbaf4b86c1c4fb0c7713ad980a00f6234460d7cf52853179e2b912bcd6bc695d4efe9944103c29
MISC metadata.xml 361 BLAKE2B a6155a8bee6ab7fbd3802e9a9bd103ec77f5758f14a4ef29e5f1cb42e558a848999b22acdbcd60a2ec42dd4f6eda7ad0c427e585d2d7a0d4e4d803a66e6631b7 SHA512 92d1a97a20f88ed119aae7fda45537bc5321b860b8372626d63b354bdb56f223ab11c700933c525aef68e185454f266eae6364501b8840d41bebebc6a5d407ce
diff --git a/games-util/grapejuice/files/no-build-isolation.patch b/games-util/grapejuice/files/no-build-isolation.patch
new file mode 100644
index 0000000..35e7292
--- /dev/null
+++ b/games-util/grapejuice/files/no-build-isolation.patch
@@ -0,0 +1,12 @@
+diff --git a/src/grapejuice_packaging/builders/linux_package_builder.py b/src/grapejuice_packaging/builders/linux_package_builder.py
+index ca3cf89..e3ca667 100644
+--- a/src/grapejuice_packaging/builders/linux_package_builder.py
++++ b/src/grapejuice_packaging/builders/linux_package_builder.py
+@@ -58,6 +58,7 @@ def _build_package(configuration: LinuxPackageConfiguration):
+ sys.executable, "-m", "pip",
+ "install", ".",
+ "--no-dependencies",
++ "--no-build-isolation",
+ "--target", str(python_site)
+ ])
+
diff --git a/games-util/grapejuice/grapejuice-7.7.2.ebuild b/games-util/grapejuice/grapejuice-7.7.2.ebuild
deleted file mode 100644
index 4b96e25..0000000
--- a/games-util/grapejuice/grapejuice-7.7.2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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
-}
diff --git a/games-util/grapejuice/grapejuice-7.8.3.ebuild b/games-util/grapejuice/grapejuice-7.8.3.ebuild
index 4b96e25..c1aafc0 100644
--- a/games-util/grapejuice/grapejuice-7.8.3.ebuild
+++ b/games-util/grapejuice/grapejuice-7.8.3.ebuild
@@ -40,6 +40,8 @@ RDEPEND="
${DEPEND}
virtual/wine"
+PATCHES="${FILESDIR}/no-build-isolation.patch"
+
src_unpack() {
default
mv "${WORKDIR}/grapejuice-v${PV}" "${S}" || die