From 7b594507ca4ba1702865c28103ee2235a918494e Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 8 May 2020 22:59:08 +0100 Subject: games-action/rive: New package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: James Le Cuirot --- games-action/rive/Manifest | 1 + games-action/rive/metadata.xml | 8 +++++++ games-action/rive/rive-1.15.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 games-action/rive/Manifest create mode 100644 games-action/rive/metadata.xml create mode 100644 games-action/rive/rive-1.15.ebuild (limited to 'games-action') diff --git a/games-action/rive/Manifest b/games-action/rive/Manifest new file mode 100644 index 000000000000..1bbdd715e715 --- /dev/null +++ b/games-action/rive/Manifest @@ -0,0 +1 @@ +DIST RIVE-Linux-2017-02-28.sh 836583560 BLAKE2B 2194d6174217a395e84f0defc336e741671f62b71cb15dad16fd9c3f1f23d844771e830858bbc8e8a26bd4ebf93e2f9b316c6a2a9c9de74d876a393b9911a806 SHA512 94d236421dc060b8e69552ee6bcbdc4b41caa4934ccf73f8d82dcd2ee14a9c334f43bc74e787a470b3103699c31b4f4ccf9272fbe69640e27df1fdbc2191447c diff --git a/games-action/rive/metadata.xml b/games-action/rive/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-action/rive/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/games-action/rive/rive-1.15.ebuild b/games-action/rive/rive-1.15.ebuild new file mode 100644 index 000000000000..6014bf696dec --- /dev/null +++ b/games-action/rive/rive-1.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop unpacker xdg + +DESCRIPTION="Metal wrecking, robot hacking 360-degree shooter/platformer hybrid" +HOMEPAGE="https://rivethegame.com/" +SRC_URI="${PN^^}-Linux-2017-02-28.sh" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + media-libs/libsdl2[opengl,video] + media-libs/openal +" + +S="${WORKDIR}/data" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR#/}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.humblebundle.com/store/${PN}" + einfo "and move it to your distfiles directory." +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + exeinto "${DIR}" + newexe x86_64/${PN^^}.bin.x86_64 ${PN^^}.bin + dosym "../..${DIR}"/${PN^^}.bin /usr/bin/${PN} + + insinto "${DIR}" + doins -r noarch/* + + newicon -s 256 noarch/app_icon.png ${PN}.png + make_desktop_entry ${PN} ${PN^^} +} -- cgit v1.2.3-65-gdbad