From 7c7850c365c1bbe808f5c44c4e6914d533aafab3 Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Mon, 29 Aug 2022 18:42:51 -0700 Subject: [PATCH] Added geforcenow-electron. --- games-util/geforcenow-electron/Manifest | 2 ++ .../geforcenow-electron-1.9.0.ebuild | 32 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 games-util/geforcenow-electron/Manifest create mode 100644 games-util/geforcenow-electron/geforcenow-electron-1.9.0.ebuild diff --git a/games-util/geforcenow-electron/Manifest b/games-util/geforcenow-electron/Manifest new file mode 100644 index 0000000..9570415 --- /dev/null +++ b/games-util/geforcenow-electron/Manifest @@ -0,0 +1,2 @@ +DIST geforcenow-electron_1.9.0_linux.zip 89729906 BLAKE2B e3fc8f095470359d5f6ae060a008cf281999415d4072e877bd28b9ead083c03c78f01b732a6b696549ec28490182b18e65204b5d835ad6b49cf1252a435e3a3d SHA512 26c7260caa66759800b9a0e4482c01e3ddef5e4da8a6ebe4348c626840fc76cc87ea8408e872b367367520c3992db46097f8120d509e765b83fb95dfcb912dbb +EBUILD geforcenow-electron-1.9.0.ebuild 794 BLAKE2B e3c97b133009fc10d269cb792105acf41db15987f64394fea479aa60e74552fbe60fa4a785dabdb98bc44fe87aa255e810cbd04a9dc83d753207cf79edb1cb7b SHA512 98d7c86ee87e99880ee1ea750fb5b7c8e9ce0dc1b466531f020c19e960665c7dfb8974446b145e83e6d5ae00ddaccb3fc511bf1220b8790307e274a5335992f8 diff --git a/games-util/geforcenow-electron/geforcenow-electron-1.9.0.ebuild b/games-util/geforcenow-electron/geforcenow-electron-1.9.0.ebuild new file mode 100644 index 0000000..2023c65 --- /dev/null +++ b/games-util/geforcenow-electron/geforcenow-electron-1.9.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="Linux desktop client for GeForce NOW, using Electron" +HOMEPAGE="https://github.com/hmlendea/gfn-electron" +SRC_URI="https://github.com/hmlendea/gfn-electron/releases/download/v${PV}/geforcenow-electron_${PV}_linux.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +DEPEND="x11-libs/libva" +RDEPEND="${DEPEND}" + +src_unpack() { + default + mkdir ${S} + mv ${WORKDIR}/* ${S} +} + +src_install() { + insinto /opt/${PN} + doins -r ${S}/* + insinto /usr/share/applications + doins ${S}/com.github.hmlendea.geforcenow-electron.desktop /usr/share/applications/ + fperms +x /opt/${PN}/geforcenow-electron + dosym -r /opt/${PN}/geforcenow-electron /usr/bin/geforcenow +}