1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-03-13 23:05:50 +01:00

Bump heroic version

This commit is contained in:
2022-10-01 11:34:38 +02:00
parent 68f6fd9ca6
commit 04cf4615bb
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop linux-info unpacker xdg
DESCRIPTION="a Native alternative Linux Launcher for Epic Games and GOG"
HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/${PN}-${PV}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
DEPEND="
net-misc/curl
sys-apps/gawk
virtual/wine"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}"
QA_PREBUILT="
opt/heroic/chrome-sandbox
opt/heroic/libEGL.so
opt/heroic/${PN}
opt/heroic/libvulkan.so.1
opt/heroic/libffmpeg.so
opt/heroic/libGLESv2.so
opt/heroic/swiftshader/libEGL.so
opt/heroic/swiftshader/libGLESv2.so
opt/heroic/libvk_swiftshader.so
opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
"
CONFIG_CHECK="~USER_NS"
src_install() {
insinto /opt
doins -r .
mv ../image/opt/${P} ../image/opt/${PN}
fperms +x /opt/${PN}/${PN}
fperms +x /opt/${PN}/resources/app.asar.unpacked/build/bin/linux/legendary
fperms +x /opt/${PN}/resources/app.asar.unpacked/build/bin/linux/gogdl
mkdir -p opt/bin
dosym ../../opt/${PN}/${PN} opt/bin/${PN}
}