From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5FFF15808B for ; Sat, 26 Mar 2022 22:06:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41E08E0858; Sat, 26 Mar 2022 22:06:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A031AE083D for ; Sat, 26 Mar 2022 22:06:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87624342DFF for ; Sat, 26 Mar 2022 22:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F184E339 for ; Sat, 26 Mar 2022 22:06:49 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1648332167.3ef5c34f506305d28473f4dcc08c7abcd54efd2b.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/crosscode/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/crosscode/Manifest games-rpg/crosscode/crosscode-1.4.2.ebuild games-rpg/crosscode/metadata.xml X-VCS-Directories: games-rpg/crosscode/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 3ef5c34f506305d28473f4dcc08c7abcd54efd2b X-VCS-Branch: master Date: Sat, 26 Mar 2022 22:06:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fdfcb8ce-cfa1-4ca4-b7db-3c99e7409fef X-Archives-Hash: 1740b7ab1b24c5b1968036f5caffb298 commit: 3ef5c34f506305d28473f4dcc08c7abcd54efd2b Author: James Le Cuirot gentoo org> AuthorDate: Sat Mar 26 22:02:47 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sat Mar 26 22:02:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef5c34f games-rpg/crosscode: New package at version 1.4.2 Despite the arch-specific filename, this game will run under any platform that NW.js supports. We're only supporting amd64 for now though. Signed-off-by: James Le Cuirot gentoo.org> games-rpg/crosscode/Manifest | 1 + games-rpg/crosscode/crosscode-1.4.2.ebuild | 49 ++++++++++++++++++++++++++++++ games-rpg/crosscode/metadata.xml | 8 +++++ 3 files changed, 58 insertions(+) diff --git a/games-rpg/crosscode/Manifest b/games-rpg/crosscode/Manifest new file mode 100644 index 000000000000..df0d0771a9dc --- /dev/null +++ b/games-rpg/crosscode/Manifest @@ -0,0 +1 @@ +DIST crosscode-new-linux64.zip 562370653 BLAKE2B 5e114e3618615604fe255e1e1a9817714af4bdf43aae1001f0416c78ab379e047fd5bef4e015f239fbead54aa9726531081ea9164e6bd3504eaa30c982b1feb1 SHA512 eae7d0bcdab3cb97dfa03f877bc8849118839aac762d69781d62efadfac8cc87c87e5a0d491d500161dbc8c9bea29ec767e175b9d5f7e62e100050ddc84d61ca diff --git a/games-rpg/crosscode/crosscode-1.4.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.ebuild new file mode 100644 index 000000000000..016286137665 --- /dev/null +++ b/games-rpg/crosscode/crosscode-1.4.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="767M" +inherit check-reqs desktop wrapper xdg + +DESCRIPTION="Retro-inspired 2D Action RPG with a sci-fi story" +HOMEPAGE="https://radicalfishgames.itch.io/crosscode" +SRC_URI="crosscode-new-linux64.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + >=dev-libs/nwjs-0.62.1 +" + +BDEPEND=" + app-arch/unzip +" + +S="${WORKDIR}" +DIR="/usr/share/${PN}" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_prepare() { + default + + # Greenworks is only needed under Steam. + rm -r assets/modules/ || die +} + +src_install() { + insinto "${DIR}" + 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}'" + make_desktop_entry ${PN} CrossCode +} diff --git a/games-rpg/crosscode/metadata.xml b/games-rpg/crosscode/metadata.xml new file mode 100644 index 000000000000..7c730d47817a --- /dev/null +++ b/games-rpg/crosscode/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + +