Review: enroll keeps foreign db keys, configurable paths, on-demand eac-run, launcher ebuild, db dedupe tool

This commit is contained in:
2026-12-04 08:35:52 +01:00
parent dec92adb08
commit 7cf69ae701
18 changed files with 509 additions and 122 deletions
@@ -0,0 +1 @@
DIST epic-games-launcher-bin-0.127.0.deb 71836680 BLAKE2B 59670ac2f267f155e54988a4d6d5bf013a163b024b97fd26d652fa22a5c5e078cfe2b704bd0e1a4d03d585e34b4c51f3510543b557756e40fe68189267061e49 SHA512 ebaeb89eb677ae92c8e3e559564d0f565f8a3588d6c3eda1bbbe363a9eaed8b776681f59aef62c70df5766f590c2787ca9b8503e7da8e6d8f45aab572a435a4a
@@ -0,0 +1,54 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
# Epic's build id; the version alone does not name a download.
EGL_BUILD=gc5cf008
DESCRIPTION="Epic Games Launcher (official Linux preview)"
HOMEPAGE="https://store.epicgames.com/"
SRC_URI="https://content-download-egs.distro.on.epicgames.com/Builds/EGLv2/${PV}%2B${EGL_BUILD}/Linux/EpicGamesLauncher-x86_64.deb -> ${P}.deb"
S=${WORKDIR}
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror strip"
QA_PREBUILT="*"
RDEPEND="
dev-libs/glib:2
dev-libs/libayatana-appindicator
net-libs/libsoup:3.0
net-libs/webkit-gtk:4.1
sys-apps/dbus
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-misc/xdg-utils
"
src_install() {
local dir=/opt/epic-games-launcher
# The binary's RUNPATH is $ORIGIN/../lib/epic-games-launcher: keep the .deb layout.
exeinto ${dir}/bin
doexe usr/bin/EpicGamesLauncher
exeinto ${dir}/lib/epic-games-launcher
doexe usr/lib/epic-games-launcher/libEOSSDK-Linux-Shipping.so
insinto ${dir}/lib/epic-games-launcher/resources
doins usr/lib/epic-games-launcher/resources/ThirdPartyNotices.txt
dobin "${FILESDIR}"/EpicGamesLauncher
dosym EpicGamesLauncher /usr/bin/epic-games-launcher
domenu usr/share/applications/epic-games-launcher.desktop
local size
for size in 32 128 256; do
doicon -s ${size} usr/share/icons/hicolor/${size}x${size}/apps/EpicGamesLauncher.png
done
}
@@ -0,0 +1,7 @@
#!/bin/sh
# The package manager installs updates, so the launcher's self-update is off.
export EGL_DISABLE_SELF_UPDATE="${EGL_DISABLE_SELF_UPDATE:-1}"
egl=/opt/epic-games-launcher/bin/EpicGamesLauncher
# On OpenRC, eac-run (sys-apps/eac-openrc-compat) provides what Easy Anti-Cheat needs while the launcher runs.
command -v eac-run >/dev/null 2>&1 && exec eac-run "$egl" "$@"
exec "$egl" "$@"