mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-rpg/crosscode: Fix for newer NW.js versions
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -44,6 +44,7 @@ src_install() {
|
||||
doins -r assets/ favicon.png natives_blob.bin package.json
|
||||
|
||||
newicon assets/media/face/lore/lea.png ${PN}.png
|
||||
make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}'"
|
||||
# --use-gl=egl is needed with recent NW.js versions.
|
||||
make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}' --use-gl=egl"
|
||||
make_desktop_entry ${PN} CrossCode
|
||||
}
|
||||
Reference in New Issue
Block a user