commit: 2abb97daf38ed8bae587de1984fbf26603a488a2 Author: Gurov <gurov <AT> disroot <DOT> org> AuthorDate: Wed Mar 11 16:26:38 2026 +0000 Commit: Arthur <gurov <AT> disroot <DOT> org> CommitDate: Wed Mar 11 16:26:55 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2abb97da
games-util/hydra-launcher-bin: add 3.9.3 Signed-off-by: Gurov <gurov <AT> disroot.org> games-util/hydra-launcher-bin/Manifest | 1 + .../hydra-launcher-bin-3.9.3.ebuild | 76 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/games-util/hydra-launcher-bin/Manifest b/games-util/hydra-launcher-bin/Manifest index e75a551a19..1f1c55f583 100644 --- a/games-util/hydra-launcher-bin/Manifest +++ b/games-util/hydra-launcher-bin/Manifest @@ -2,3 +2,4 @@ DIST hydralauncher-3.8.1.x86_64.rpm 145921813 BLAKE2B 86c118e86105ce6541dfcbd2b7 DIST hydralauncher-3.8.3.x86_64.rpm 160044397 BLAKE2B d14f3109711cedb586f9f6fce3947730425a9d6ce4bb27e705f15d03e75fa1d1c5684f678bb8226caa4dd5f1427c3f9ef66449a5f32a243d1487c76444fb7a02 SHA512 5fc78c6f200653f8439eca6167c3c3d79669e7d4e12789af8c7700f1f90a26845894dc6b8f66b1b7ef991c592da9f9f29f3e90b510ffed6ab18c707925b78047 DIST hydralauncher-3.9.0.x86_64.rpm 160565205 BLAKE2B 6817a9d07ffb3a6eb35178ffa200ef7e0267c98718c6d380f0b3a5e7bb6f36ccf99649faab1fb919e56f76486bdb5f9a6836cf4224925441767ac366c15b727c SHA512 54a2fa9d83b465aa5be85232415b35202c6aa22e5fbdcd59a7b5337bd3563079048671ba07ebb454d448d473c408f718f362f6ab6a4f53ec2c8a998079ad888a DIST hydralauncher-3.9.1.x86_64.rpm 160691241 BLAKE2B f421a05ba5fee0b186e7c3307eec08929dda5dbd678585dac0934bd1cccd39730a827f64f0eab5208cf21b890586a1c24dd40b2b3eaaf1be211764ac29e768a6 SHA512 c012908a5b27212892534ee322a1a9418b7b1254a13b9afca39d8cc9ff92fe18f3aeada9212d9948a60edb4b54eb3a6c446e6487308463037c7cd1d6032c06b9 +DIST hydralauncher-3.9.3.x86_64.rpm 160661857 BLAKE2B eb861ee31c5cd97c0bd1352bbb2e53bb60a223c4b3fa8d74a881a1a74fe4b4b673a64c0517165cdd9164a6b7b1884b45e47923aa0564612e465e1f3b17887412 SHA512 4b9b09bb4831c2388880fa47d9580c972e9f3ab6e880aefb9300216ce3dc97d50a0966665b35c001d1dcb4465de603e1bcc7c3126d5af5bf3cecf7eac1880081 diff --git a/games-util/hydra-launcher-bin/hydra-launcher-bin-3.9.3.ebuild b/games-util/hydra-launcher-bin/hydra-launcher-bin-3.9.3.ebuild new file mode 100644 index 0000000000..c8d151da49 --- /dev/null +++ b/games-util/hydra-launcher-bin/hydra-launcher-bin-3.9.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop rpm xdg + +DESCRIPTION="Open-source gaming platform and launcher" +HOMEPAGE="https://github.com/hydralauncher/hydra" +SRC_URI="amd64? ( https://github.com/hydralauncher/hydra/releases/download/v${PV}/hydralauncher-${PV}.x86_64.rpm )" + +S="${WORKDIR}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64" +QA_PREBUILT="*" +RESTRICT="bindist mirror strip" + +RDEPEND=" + app-accessibility/at-spi2-core + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa + net-misc/aria2 + net-print/cups + sys-apps/dbus + virtual/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/pango" + +src_prepare() { + default + + local pb=opt/Hydra/resources/app.asar.unpacked/node_modules/classic-level/prebuilds + find "${pb}" -mindepth 1 -maxdepth 1 -type d ! -name linux-x64 -exec rm -rf {} \; || die + rm -rf "${pb}"/linux-x64/*.musl.node || die + + local sharp_base=opt/Hydra/resources/app.asar.unpacked/node_modules/@img + rm -rf "${sharp_base}"/*-linuxmusl-x64 || die +} + +src_install() { + insinto /opt + doins -r opt/Hydra + + find opt/Hydra -type f -executable | while IFS= read -r exe; do + fperms +x "/${exe}" + done + + fowners root "/opt/Hydra/chrome-sandbox" + fperms 4711 "/opt/Hydra/chrome-sandbox" + + domenu usr/share/applications/hydralauncher.desktop + doicon -s 512 usr/share/icons/hicolor/512x512/apps/hydralauncher.png + + exeinto /usr/bin + newexe - hydralauncher <<-'EOF' + #!/bin/sh + export LD_LIBRARY_PATH="/opt/Hydra:\${LD_LIBRARY_PATH}" + exec /opt/Hydra/hydralauncher "\$@" + EOF +}
