public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/heroic-bin/
Date: Sat,  1 Jul 2023 16:13:52 +0000 (UTC)	[thread overview]
Message-ID: <1688227978.3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c.xgqt@gentoo> (raw)

commit:     3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 16:12:58 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 16:12:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4cd25d

games-util/heroic-bin: link python3 exe

Closes: https://bugs.gentoo.org/909443
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-util/heroic-bin/heroic-bin-2.8.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/games-util/heroic-bin/heroic-bin-2.8.0.ebuild b/games-util/heroic-bin/heroic-bin-2.8.0.ebuild
index 986384bbf90f..2f2a822eceb2 100644
--- a/games-util/heroic-bin/heroic-bin-2.8.0.ebuild
+++ b/games-util/heroic-bin/heroic-bin-2.8.0.ebuild
@@ -12,8 +12,9 @@ CHROMIUM_LANGS="
 	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
 	sw ta te th tr uk ur vi zh-CN zh-TW
 "
+PYTHON_COMPAT=( python3_{10..12} )
 
-inherit chromium-2 desktop xdg
+inherit chromium-2 desktop python-single-r1 xdg
 
 DESCRIPTION="GOG and Epic Games Launcher for Linux"
 HOMEPAGE="https://heroicgameslauncher.com/
@@ -33,8 +34,10 @@ S="${WORKDIR}"/${APP_NAME}
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
+	${PYTHON_DEPS}
 	app-accessibility/at-spi2-core
 	app-arch/brotli
 	app-arch/bzip2
@@ -120,6 +123,9 @@ src_install() {
 	fowners root "${app_root}"/chrome-sandbox
 	fperms 4711 "${app_root}"/chrome-sandbox
 
+	dosym -r "${PYTHON}"	\
+		  "${app_root}"/resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins/python3
+
 	find "${app_dest}" -type f -name "*.a" -exec rm {} + || die
 
 	dosym -r "${app_root}"/heroic /usr/bin/heroic-run


             reply	other threads:[~2023-07-01 16:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-01 16:13 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-25  8:02 [gentoo-commits] repo/gentoo:master commit in: games-util/heroic-bin/ Bernard Cafarelli
2024-09-25  8:02 Bernard Cafarelli
2024-08-13  9:38 Bernard Cafarelli
2024-04-11 21:50 Bernard Cafarelli
2024-04-09  7:24 Bernard Cafarelli
2024-04-09  7:24 Bernard Cafarelli
2024-04-09  7:24 Bernard Cafarelli
2024-04-08 11:24 Bernard Cafarelli
2024-04-03  8:14 Bernard Cafarelli
2024-04-03  8:14 Bernard Cafarelli
2024-03-11 11:21 Maciej Barć
2024-03-11 11:21 Maciej Barć
2024-02-19 15:30 Maciej Barć
2024-02-19 15:30 Maciej Barć
2024-02-03 13:00 Maciej Barć
2024-02-03 13:00 Maciej Barć
2024-01-08 19:22 Maciej Barć
2023-12-27  1:20 Maciej Barć
2023-12-04  8:43 Maciej Barć
2023-11-07 18:50 Maciej Barć
2023-10-18 17:00 Maciej Barć
2023-07-01 13:57 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1688227978.3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox