summaryrefslogtreecommitdiff
path: root/games-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-13 00:28:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-13 00:28:24 +0000
commitb3f96499c112618ec301a4852f24b8b8be123d3a (patch)
tree90d1f3a681c108834f888ca502d93702f101fbce /games-util
parentef0fedb39c21a343a3f316726f272bad9005b22c (diff)
gentoo auto-resync : 13:03:2025 - 00:28:24
Diffstat (limited to 'games-util')
-rw-r--r--games-util/Manifest.gzbin7890 -> 7889 bytes
-rw-r--r--games-util/heroic-bin/Manifest4
-rw-r--r--games-util/heroic-bin/heroic-bin-2.16.1.ebuild141
3 files changed, 145 insertions, 0 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz
index 43392868fcf1..0434c263abec 100644
--- a/games-util/Manifest.gz
+++ b/games-util/Manifest.gz
Binary files differ
diff --git a/games-util/heroic-bin/Manifest b/games-util/heroic-bin/Manifest
index aac5add6eedb..fe64bc58ab1c 100644
--- a/games-util/heroic-bin/Manifest
+++ b/games-util/heroic-bin/Manifest
@@ -2,8 +2,12 @@ DIST com.heroicgameslauncher.hgl.2.15.2.desktop 317 BLAKE2B e4c7cc834bc8688703b9
DIST com.heroicgameslauncher.hgl.2.15.2.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3
DIST com.heroicgameslauncher.hgl.2.16.0.desktop 529 BLAKE2B effd9f5d89cb8453e616650cd128fea795c65c2c2d2f6073f2d137fcb270aa02554a19e6e627ccc7aaf0c927f42cd86ca56beeba6478929eeb28b2dafcd572aa SHA512 e7af610d21013943c43539224a5dd2ea3994726ecc7ed14e9db3513543ab5c6796d66394eb63d90f90148259ef2928739cd346eb7c8fe7a73273984fe9b8e6a5
DIST com.heroicgameslauncher.hgl.2.16.0.png 9797 BLAKE2B c6f76df4ec2fd25323f5c37e03605647ede8f8c2ed48cfbb8af11aad22ae90182d3678b943633b46a2d8dfb0c1cbd1a275b6c62dde238b9b0f68cbafb4bf3697 SHA512 68e9881fb4f123008398409825aa8cf70cec34365a23adb1234f7c054a14f40d159e7d8912cfedac0bb2b12f1d3c3c980469c2fca9735d4bc06bd4074aecc7e3
+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 heroic-bin-2.15.2.tar.xz 106328176 BLAKE2B 2415d66a6e3b6dbd7381c4f095c9c55f8910b75c16dd6107dc9d64ee57538b19dba3d787e607d52414cb2ff6c056af13cd7e6d11dfb544722bda6ac236faa2ef SHA512 01ae55d84b5d76aa4292829bbfe1b9d976495e17b73cc2f1fb0aaf5847fdc84da27464bed53b1e7d3c74d0427119ebc535aafc6e2bd74f7468501129fea1cf3a
DIST heroic-bin-2.16.0.tar.xz 109739752 BLAKE2B 48019b7deb6bf28354ec29f9455ac922c224c779f137ee7bd66bc3bdfe3e7457f458449f0f77a15f7538aa3bd6d0c82f8858c11be133210bc6da78f549d59315 SHA512 a26ce8bd2473c1419b264622f0c750660716f60d945213796d32fcd237846ce72b7d6134f3ef17b0635ccd91c5a6b505a9c62e3658431cd9d67f8faf260ca545
+DIST heroic-bin-2.16.1.tar.xz 109845560 BLAKE2B 7317e8cb24a90fc31d6ce163830b3eb61bbc7d11f7aff02e2b5bc1c9d221c8904380434a076e8868b2b650de44d1aa24bb76195dd8412cd8b98e16af71350690 SHA512 d7df52c9db6167ce15d46926666f20a7e43041487a3dffaaeef4a23b75aa8d610739384b4dd3ab0e956b2a6a873f463c18a4dfdfc01265f5b53d166567607c94
EBUILD heroic-bin-2.15.2.ebuild 3840 BLAKE2B c3371d9ea4711fcd1cd5df03fe2368cedbd275c765aa5700a331e7ef485c40982520ac48d087bee1b9e9f65b087aad4eecdb85fdc22e4f0664cce78def33426f SHA512 8b3dc5ac84bf939166ef1ed7f1748b12405fe9f5832ef0ce6956357362f244f33a4b1b0f36c55212127fb4592cd612a925966764771e2b70fdd995a2855c9369
EBUILD heroic-bin-2.16.0.ebuild 3875 BLAKE2B d008575a854b3e7b3581d894a56e8385c930ffafcafeeca7869c2b3e9e1785be3c361803550a443b9eb791e9414ff19e2e4b5a77b7ea40c20fe1d26018a9eedc SHA512 eea3b0b21ca5131bbc2317202d4376c4eb73a747ad1f8b6d9ceb297fca006b4190766414cf4bdb957173b7bbf886985375e63b9ca5e6210a957dd73641f1ee09
+EBUILD heroic-bin-2.16.1.ebuild 3875 BLAKE2B d008575a854b3e7b3581d894a56e8385c930ffafcafeeca7869c2b3e9e1785be3c361803550a443b9eb791e9414ff19e2e4b5a77b7ea40c20fe1d26018a9eedc SHA512 eea3b0b21ca5131bbc2317202d4376c4eb73a747ad1f8b6d9ceb297fca006b4190766414cf4bdb957173b7bbf886985375e63b9ca5e6210a957dd73641f1ee09
MISC metadata.xml 1072 BLAKE2B 629aa00cb90467901da132375532f520cf2e9dd3720686487278056aa415d024e00a19249ef16af82adefabad698e381112a2d54d2335b62bfa26476f0763223 SHA512 794387073bbede506485de30babe902fc829ad955673173444bd450415c14a976236b967497253db9934f5a661bb11561ddc11550071b53faef9b2d9c434636e
diff --git a/games-util/heroic-bin/heroic-bin-2.16.1.ebuild b/games-util/heroic-bin/heroic-bin-2.16.1.ebuild
new file mode 100644
index 000000000000..c335108c576e
--- /dev/null
+++ b/games-util/heroic-bin/heroic-bin-2.16.1.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
+}