From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/heroic-bin/
Date: Mon, 26 May 2025 07:25:54 +0000 (UTC) [thread overview]
Message-ID: <1748243762.b7b108515dc766aa1817c2065833d42a299424f0.voyageur@gentoo> (raw)
commit: b7b108515dc766aa1817c2065833d42a299424f0
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon May 26 07:15:49 2025 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon May 26 07:16:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b10851
games-util/heroic-bin: add 2.17.0
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
games-util/heroic-bin/Manifest | 3 +
games-util/heroic-bin/heroic-bin-2.17.0.ebuild | 141 +++++++++++++++++++++++++
2 files changed, 144 insertions(+)
diff --git a/games-util/heroic-bin/Manifest b/games-util/heroic-bin/Manifest
index 15bae91251b3..bd39762d3cb0 100644
--- a/games-util/heroic-bin/Manifest
+++ b/games-util/heroic-bin/Manifest
@@ -1,3 +1,6 @@
DIST com.heroicgameslauncher.hgl.2.16.1.desktop 529 BLAKE2B effd9f5d89cb8453e616650cd128fea795c65c2c2d2f6073f2d137fcb270aa02554a19e6e627ccc7aaf0c927f42cd86ca56beeba6478929eeb28b2dafcd572aa SHA512 e7af610d21013943c43539224a5dd2ea3994726ecc7ed14e9db3513543ab5c6796d66394eb63d90f90148259ef2928739cd346eb7c8fe7a73273984fe9b8e6a5
DIST com.heroicgameslauncher.hgl.2.16.1.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3
+DIST com.heroicgameslauncher.hgl.2.17.0.desktop 529 BLAKE2B effd9f5d89cb8453e616650cd128fea795c65c2c2d2f6073f2d137fcb270aa02554a19e6e627ccc7aaf0c927f42cd86ca56beeba6478929eeb28b2dafcd572aa SHA512 e7af610d21013943c43539224a5dd2ea3994726ecc7ed14e9db3513543ab5c6796d66394eb63d90f90148259ef2928739cd346eb7c8fe7a73273984fe9b8e6a5
+DIST com.heroicgameslauncher.hgl.2.17.0.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3
DIST heroic-bin-2.16.1.tar.xz 109845560 BLAKE2B 7317e8cb24a90fc31d6ce163830b3eb61bbc7d11f7aff02e2b5bc1c9d221c8904380434a076e8868b2b650de44d1aa24bb76195dd8412cd8b98e16af71350690 SHA512 d7df52c9db6167ce15d46926666f20a7e43041487a3dffaaeef4a23b75aa8d610739384b4dd3ab0e956b2a6a873f463c18a4dfdfc01265f5b53d166567607c94
+DIST heroic-bin-2.17.0.tar.xz 119837948 BLAKE2B 76bbc7281998159cd7a375cd244f6cb5ddedfa2d118dd6a1be718008ca67a7fd30439e4f44ee2f0827f2e89182059336e985c7c1f0c99a3ad86651105bd56582 SHA512 1de1546f2e7461d4537c5a9c336d64bbe4192290932379ba87f8bdf4d2a9e5061b94d4f35c1cb3c83ac1a0ba38f14bd26088df9a05b77a34b1c2df994b90eb67
diff --git a/games-util/heroic-bin/heroic-bin-2.17.0.ebuild b/games-util/heroic-bin/heroic-bin-2.17.0.ebuild
new file mode 100644
index 000000000000..c335108c576e
--- /dev/null
+++ b/games-util/heroic-bin/heroic-bin-2.17.0.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="
+ af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+ 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..13} python3_13t )
+
+inherit chromium-2 desktop python-single-r1 xdg
+
+DESCRIPTION="GOG and Epic Games Launcher for Linux"
+HOMEPAGE="https://heroicgameslauncher.com/
+ https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/"
+SRC_URI="
+ https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/heroic-${PV}-linux-x64.tar.xz
+ -> ${P}.tar.xz
+ https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/raw/v${PV}/flatpak/com.heroicgameslauncher.hgl.desktop
+ -> com.heroicgameslauncher.hgl.${PV}.desktop
+ https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/raw/v${PV}/flatpak/com.heroicgameslauncher.hgl.png
+ -> com.heroicgameslauncher.hgl.${PV}.png
+"
+S="${WORKDIR}/Heroic-${PV}-linux-x64"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gamescope"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-accessibility/at-spi2-core
+ app-arch/brotli
+ app-arch/bzip2
+ dev-libs/expat
+ dev-libs/fribidi
+ dev-libs/glib
+ dev-libs/gmp
+ dev-libs/libffi
+ dev-libs/libpcre2
+ dev-libs/libtasn1
+ dev-libs/nettle
+ dev-libs/nspr
+ dev-libs/nss
+ dev-libs/wayland
+ media-fonts/freefont
+ media-gfx/graphite2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/harfbuzz
+ media-libs/libepoxy
+ media-libs/libjpeg-turbo
+ media-libs/libpng
+ media-libs/mesa
+ media-video/ffmpeg
+ net-dns/libidn2
+ net-libs/gnutls
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/glibc
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ x11-libs/pixman
+ gamescope? ( gui-wm/gamescope )
+"
+
+QA_PREBUILT=".*"
+
+src_configure() {
+ default
+
+ chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+ default
+
+ cd locales || die
+ chromium_remove_language_paks
+
+ # Create gamescope desktop file
+ if use gamescope; then
+ cp "${DISTDIR}"/com.heroicgameslauncher.hgl.${PV}.desktop \
+ "${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
+
+ sed -i 's/Name=Heroic Games Launcher/Name=Heroic Games Launcher (Gamescope)/g' \
+ "${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
+ sed -i 's/Exec=heroic-run %u/Exec=env GDK_BACKEND=wayland gamescope -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --nested-unfocused-refresh 30 -- heroic-run --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations/g' \
+ "${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
+ fi
+}
+
+src_install() {
+ local app_root=/opt/${P/-bin}
+ local app_dest="${ED}"/${app_root}
+
+ dodoc LICENSE.*
+ rm LICENSE.* || die
+
+ dodir "${app_root%/*}"
+ cp -r "${S}" "${app_dest}" || die
+
+ 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
+
+ # Install resources: desktop file and icon.
+ newmenu "${DISTDIR}"/com.heroicgameslauncher.hgl.${PV}.desktop \
+ com.heroicgameslauncher.hgl.desktop
+ if use gamescope; then
+ newmenu "${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop \
+ com.heroicgameslauncher.hgl.gamescope.desktop
+ fi
+ newicon "${DISTDIR}"/com.heroicgameslauncher.hgl.${PV}.png \
+ com.heroicgameslauncher.hgl.png
+}
next reply other threads:[~2025-05-26 7:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-26 7:25 Bernard Cafarelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-12 12:47 [gentoo-commits] repo/gentoo:master commit in: games-util/heroic-bin/ Bernard Cafarelli
2025-03-03 21:31 Bernard Cafarelli
2025-03-03 21:31 Bernard Cafarelli
2024-09-25 8:02 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 16:13 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=1748243762.b7b108515dc766aa1817c2065833d42a299424f0.voyageur@gentoo \
--to=voyageur@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