From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B988415800D for ; Sat, 1 Jul 2023 16:13:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE694E086F; Sat, 1 Jul 2023 16:13:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C44B2E086F for ; Sat, 1 Jul 2023 16:13:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1871335DB6 for ; Sat, 1 Jul 2023 16:13:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12ABFA7D for ; Sat, 1 Jul 2023 16:13:52 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1688227978.3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/heroic-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/heroic-bin/heroic-bin-2.8.0.ebuild X-VCS-Directories: games-util/heroic-bin/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c X-VCS-Branch: master Date: Sat, 1 Jul 2023 16:13:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d2185d05-ef3f-4b93-814e-2a52b6cb5f6a X-Archives-Hash: e0b89344902326ab7f31e6a92e6c7b86 commit: 3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c Author: Maciej Barć gentoo org> AuthorDate: Sat Jul 1 16:12:58 2023 +0000 Commit: Maciej Barć gentoo 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ć 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