From 88a0f1846b9bfcc4b4502e1a7d80b1230c2baa38 Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 30 Jun 2022 12:30:02 +0200 Subject: [PATCH] Added heroic - epic launcher for linux --- games-util/heroic/Manifest | 2 ++ games-util/heroic/heroic-2.3.9.ebuild | 50 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 games-util/heroic/Manifest create mode 100644 games-util/heroic/heroic-2.3.9.ebuild diff --git a/games-util/heroic/Manifest b/games-util/heroic/Manifest new file mode 100644 index 0000000..3b5e0de --- /dev/null +++ b/games-util/heroic/Manifest @@ -0,0 +1,2 @@ +DIST heroic-2.3.9.tar.xz 96048784 BLAKE2B c18018a619086ec262c983d97124f148037cf6109deac15d872934ba703f9d30e52ea733eef73e0b77486a8ecadec969efb421f2c3c976756dd9e96fc51a6299 SHA512 23eb1a6ae23dc41a35a8d747f74d72d541df30ae94cec359545facf80425d95eb63ea65bae92dfd7ca0854150a21613d6068eb90beadd812b3d72b053f56ed46 +EBUILD heroic-2.3.9.ebuild 1239 BLAKE2B 10458015cf223fef474df774bf9e2938380cdcd88b26545e7d0cd027dbb7793e32c6c4fc08fdcb91164ba248a7b87054fbda15c8dba2b494958efb28c9cab564 SHA512 6ef19974b4acb101c9e53e3bb0e8b8c8b6103fc6113b2af460e2bbcb9492d3d20fc828a6572877749ecb4e3b30cea1e50f60866eda1155bb7cc925a2c129d048 diff --git a/games-util/heroic/heroic-2.3.9.ebuild b/games-util/heroic/heroic-2.3.9.ebuild new file mode 100644 index 0000000..90bcb78 --- /dev/null +++ b/games-util/heroic/heroic-2.3.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop linux-info unpacker xdg + +DESCRIPTION="a Native alternative Linux Launcher for Epic Games" +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 + mkdir -p opt/bin + dosym ../../opt/${PN}/${PN} opt/bin/${PN} +}