mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
games-util/HeroicGamesLauncher-bin: treeclean
* in favor of gentoo version * https://github.com/gentoo/gentoo/pull/36056 Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg
|
||||
SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/heroic-${PV}.tar.xz"
|
||||
DESCRIPTION="A Native GOG and Epic Games Launcher for Linux, Windows and Mac."
|
||||
HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="gamescope? ( gui-wm/gamescope )"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/heroic-${PV}"
|
||||
|
||||
IUSE="gamescope"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/heroic/chrome-sandbox
|
||||
opt/heroic/chrome_crashpad_handler
|
||||
opt/heroic/heroic
|
||||
opt/heroic/libEGL.so
|
||||
opt/heroic/libGLESv2.so
|
||||
opt/heroic/libffmpeg.so
|
||||
opt/heroic/libvk_swiftshader.so
|
||||
opt/heroic/libvulkan.so.1
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/vulkan-helper
|
||||
opt/heroic/resources/app.asar.unpacked/node_modules/register-scheme/build/Release/register-protocol-handler.node
|
||||
opt/heroic/resources/app.asar.unpacked/node_modules/register-scheme/build/Release/node-addon-api/src/nothing.a
|
||||
opt/heroic/resources/app.asar.unpacked/node_modules/register-scheme/build/Release/nothing.a
|
||||
"
|
||||
|
||||
src_install() {
|
||||
mv "${S}" "${WORKDIR}/heroic"
|
||||
insinto /opt
|
||||
doins -r "${WORKDIR}/heroic"
|
||||
insinto /opt/bin
|
||||
doins "${FILESDIR}/heroic"
|
||||
fperms +x /opt/heroic/heroic /opt/bin/heroic
|
||||
|
||||
#fix login error both EPIC and GOG
|
||||
fperms +x /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary \
|
||||
/opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl \
|
||||
/opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile
|
||||
|
||||
domenu "${FILESDIR}/HeroicGamesLauncher.desktop"
|
||||
newicon "${WORKDIR}/heroic/resources/app.asar.unpacked/build/icon.png" heroic.png
|
||||
if use gamescope; then
|
||||
#Start Heroic as gamescope window
|
||||
domenu "${FILESDIR}/HeroicGamesLauncher-gamescope.desktop"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST heroic-2.14.0.tar.xz 106276280 BLAKE2B 9080cdad47214da2c5049b77b5f96533a823c6103fa6fe8e8866a5e16ec6a3d1ce9c5b4fdc36182c6ebca899772340e25a38661d4043e5f8c65b79b5bae5e7aa SHA512 4b71d83d708ac5f0e8699c4492cb6d9dbe787721de991b18cc6132fb93215cceec3038c0e1a518bb9bcd45b94ad9ddcc988785c7c858b10eb383c61e07a01ed9
|
||||
@@ -1,11 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Heroic Games Launcher (Gamescope)
|
||||
Exec=env GDK_BACKEND=wayland gamescope -w 1920 -h 1080 -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --nested-unfocused-refresh 30 -- /opt/heroic/heroic --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=heroic
|
||||
StartupWMClass=Heroic
|
||||
Comment=An Open Source GOG and Epic Games launcher
|
||||
Comment[de]=Ein Open Source Spielelauncher for GOG und Epic Games
|
||||
MimeType=x-scheme-handler/heroic;
|
||||
Categories=Game;
|
||||
@@ -1,11 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Heroic Games Launcher
|
||||
Exec=/opt/heroic/heroic %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=heroic
|
||||
StartupWMClass=Heroic
|
||||
Comment=An Open Source GOG and Epic Games launcher
|
||||
Comment[de]=Ein Open Source Spielelauncher for GOG und Epic Games
|
||||
MimeType=x-scheme-handler/heroic;
|
||||
Categories=Game;
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
/opt/heroic/heroic %U
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<use>
|
||||
<flag name="gamescope">Efficient micro-compositor for running games</flag>
|
||||
</use>
|
||||
<maintainer type="person">
|
||||
<email>gonegrier.duarte@gmail.com</email>
|
||||
<name>Gonçalo Negrier Duarte</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Heroic-Games-Launcher/HeroicGamesLauncher</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user