diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-01 18:12:58 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-01 18:12:58 +0200 |
commit | 3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c (patch) | |
tree | 2069c005d7e707bab17fb2003bf6faf13c0bb8fc /games-util | |
parent | www-client/chromium: Stabilize 114.0.5735.198 amd64, #909402 (diff) | |
download | gentoo-3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c.tar.gz gentoo-3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c.tar.bz2 gentoo-3f4cd25da1d5af5b35a3dc8320597b11b13d7f2c.zip |
games-util/heroic-bin: link python3 exe
Closes: https://bugs.gentoo.org/909443
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/heroic-bin/heroic-bin-2.8.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
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 |