Added geforcenow-electron.

This commit is contained in:
Ronald Farrer 2022-08-29 18:42:51 -07:00
parent 1dfb2526eb
commit 7c7850c365
2 changed files with 34 additions and 0 deletions

View file

@ -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

View file

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