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

Signed-off-by: Gurov <gurov@disroot.org>
This commit is contained in:
Gurov
2026-03-29 18:36:23 +03:00
parent 7c082a8152
commit bd23f427f8
2 changed files with 77 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ DIST hydralauncher-3.9.0.x86_64.rpm 160565205 BLAKE2B 6817a9d07ffb3a6eb35178ffa2
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
DIST hydralauncher-3.9.5.x86_64.rpm 145053385 BLAKE2B 5e7b3a382f49a7cfa3cac467a3502e6008996c43287d9b211149359f19e08ec657656074eb4e22a876f6a6f2a813bd29e5c3447bb7c005b1de12ae52e27ff173 SHA512 db4354bacb66ecb3b26e157c39d7a6789107cdb4217512a5c5f8e1d785a899b1b7382e855e83ea757be9da88be63fa5111b0b6b8a756df1e5d0b1aed2307fae0

View File

@@ -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
}