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