commit:     165faac892fc1bd81232961c134037c666a34e44
Author:     Gurov <gurov <AT> disroot <DOT> org>
AuthorDate: Wed Feb 25 13:44:32 2026 +0000
Commit:     Arthur <gurov <AT> disroot <DOT> org>
CommitDate: Wed Feb 25 13:44:32 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=165faac8

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

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

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

diff --git a/games-util/hydra-launcher-bin/Manifest 
b/games-util/hydra-launcher-bin/Manifest
index f49f4107df..c4de360136 100644
--- a/games-util/hydra-launcher-bin/Manifest
+++ b/games-util/hydra-launcher-bin/Manifest
@@ -1,2 +1,3 @@
 DIST hydralauncher-3.8.1.x86_64.rpm 145921813 BLAKE2B 
86c118e86105ce6541dfcbd2b7a3d1b563fdd132fd33e9dcd2d6b0540c8c6f4298825b89af6baa7fecba074231654d56a43804c9af3a9f4a82635803a9b055b3
 SHA512 
7941292f934d297cb8f17b99aa34daa68c2f1318fdae200620d1d4b19d78186d18dd41d74e3745521f3a2755c225e47dd47bdf9c9250c380c2ca3366ee8cb7ea
 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

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