diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-11 03:04:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-11 03:04:37 -0500 |
| commit | ba90b749802640220d8dabc00ab63881741a230e (patch) | |
| tree | 181a6ca9c09dc17e70de01dee8ffce26d60609e3 /games-util | |
| parent | 1160c54c5acbfd332d8757e926627ae58c982459 (diff) | |
| download | baldeagleos-repo-ba90b749802640220d8dabc00ab63881741a230e.tar.gz baldeagleos-repo-ba90b749802640220d8dabc00ab63881741a230e.tar.xz baldeagleos-repo-ba90b749802640220d8dabc00ab63881741a230e.zip | |
Adding metadata
Diffstat (limited to 'games-util')
| -rw-r--r-- | games-util/heroic-bin/Manifest | 3 | ||||
| -rw-r--r-- | games-util/heroic-bin/heroic-bin-2.22.1.ebuild | 141 |
2 files changed, 144 insertions, 0 deletions
diff --git a/games-util/heroic-bin/Manifest b/games-util/heroic-bin/Manifest index 45308eeffd08..e2150a352315 100644 --- a/games-util/heroic-bin/Manifest +++ b/games-util/heroic-bin/Manifest @@ -4,6 +4,9 @@ DIST com.heroicgameslauncher.hgl.2.21.0.desktop 502 BLAKE2B b3f22921bde1c26b9cd9 DIST com.heroicgameslauncher.hgl.2.21.0.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3 DIST com.heroicgameslauncher.hgl.2.22.0.desktop 502 BLAKE2B b3f22921bde1c26b9cd97fa6f3bfadf225e0a011f2ba569d1caf2fcc81b21ecb80e0f61e01e56305de3ca8060860e0291149b4148a744dc55cca574530221f7b SHA512 76b7ba92f473cd55013f89e81e34a53e8ec85a9a6792f0f2e6a31ec1e305d96fba8e54a32606d460095cfa211cb763ab0fda55b6679fe17c36f26a4ff78bd368 DIST com.heroicgameslauncher.hgl.2.22.0.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3 +DIST com.heroicgameslauncher.hgl.2.22.1.desktop 502 BLAKE2B b3f22921bde1c26b9cd97fa6f3bfadf225e0a011f2ba569d1caf2fcc81b21ecb80e0f61e01e56305de3ca8060860e0291149b4148a744dc55cca574530221f7b SHA512 76b7ba92f473cd55013f89e81e34a53e8ec85a9a6792f0f2e6a31ec1e305d96fba8e54a32606d460095cfa211cb763ab0fda55b6679fe17c36f26a4ff78bd368 +DIST com.heroicgameslauncher.hgl.2.22.1.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3 DIST heroic-bin-2.20.1.tar.xz 122450760 BLAKE2B 4c7f8140d937ca483ee3e788b8cbde64b24aacd6c0776daf75a5d9eb237a512849be5cb8c9ef1da0fedadc9855cedf00c38ac8a0ee98c37a2e8f3731c86a6843 SHA512 f4bd6f1cf388d4049ce018054a96bf9499d42c8a4966833315513bb81c04c3dfe1216221d5ba4b2e1b5610a8948ed6a77097aeb12d5b458b8ac7f72085d213ce DIST heroic-bin-2.21.0.tar.xz 128111552 BLAKE2B c9ece954e756351db59d9177902522a397036f957d7f7f580edbb802932b99ae467c626f2bc75d9d7956e2e383b34727d498c1035fac79596da242f57099d70c SHA512 a173d65df9f4732db9512b2f2a98593f9eb6f1a5f87b0a5559c64e778e70c5a693ef81c24a2e68652781c88993c4c613e46ed750f7600aeae897e4ff0205cb27 DIST heroic-bin-2.22.0.tar.xz 128256032 BLAKE2B e9afda53545aedb81cc449161f71b73965ad25254570606d227e29440596d146076063665bbd81966e25e1c517a9738b68675a8531c66dca7b6a74b7feeaf5df SHA512 648505146cb46fc8963a01fd1aa72461ed585c79a3de1e2842f8d3f138475b90886eb90f05b0da02df384c1b07cdd690c5140ec96e53f76a17b10750c403e1c0 +DIST heroic-bin-2.22.1.tar.xz 133888028 BLAKE2B 9cde9d5bc3805f1b6e6608660f93253bfa121568f2b883d734b0f690e0a4a97ded2d2941ceb5153d40f6da5b7df27df8aa8e342980b62f3831e1ded03b11dc31 SHA512 32bfe1f1afd81f8b7a4aac9ad1a425fe5916826219dac4ea3003a4abd4519876f69818a37c03ed0aa41502828514188e70892fd5ef8bb6f8d7ad9955d953bdef diff --git a/games-util/heroic-bin/heroic-bin-2.22.1.ebuild b/games-util/heroic-bin/heroic-bin-2.22.1.ebuild new file mode 100644 index 000000000000..941267ca6a40 --- /dev/null +++ b/games-util/heroic-bin/heroic-bin-2.22.1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2026 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_{13..14} ) + +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 + virtual/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 +} |
