commit:     b435cb4d914918a7bb43a94e78f991be9919efec
Author:     Gurov <gurov <AT> disroot <DOT> org>
AuthorDate: Sun Mar 15 21:47:08 2026 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Sun Mar 15 21:47:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b435cb4d

games-util/hydra-launcher-bin: add 3.9.4

Signed-off-by: Gurov <gurov <AT> disroot.org>

 games-util/hydra-launcher-bin/Manifest             |  1 +
 .../hydra-launcher-bin-3.9.4.ebuild                | 76 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/games-util/hydra-launcher-bin/Manifest 
b/games-util/hydra-launcher-bin/Manifest
index 1f1c55f583..7df629a16e 100644
--- a/games-util/hydra-launcher-bin/Manifest
+++ b/games-util/hydra-launcher-bin/Manifest
@@ -3,3 +3,4 @@ DIST hydralauncher-3.8.3.x86_64.rpm 160044397 BLAKE2B 
d14f3109711cedb586f9f6fce3
 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
+DIST hydralauncher-3.9.4.x86_64.rpm 160659329 BLAKE2B 
9cbe8316aca9f53de74548b5af9c231bff96bd6a6ec4c9249ca6bf65197dca28f5fdd487ab5da1d0348a8fe9c3cf11f5b9c82f2435bb38a3d7dc249765433142
 SHA512 
8932df91c0dffa5439fe0ca0c101452a4bd81da6c151f37ccf4490864eeca6cc04df6ae3d380e2051c1fbdab5da14b0762ef9cbdb1aa0a08b6d47932a90d90b6

diff --git a/games-util/hydra-launcher-bin/hydra-launcher-bin-3.9.4.ebuild 
b/games-util/hydra-launcher-bin/hydra-launcher-bin-3.9.4.ebuild
new file mode 100644
index 0000000000..c8d151da49
--- /dev/null
+++ b/games-util/hydra-launcher-bin/hydra-launcher-bin-3.9.4.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
+}

Reply via email to