summaryrefslogtreecommitdiff
path: root/games-strategy/darwinia
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-strategy/darwinia
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-strategy/darwinia')
-rw-r--r--games-strategy/darwinia/Manifest2
-rw-r--r--games-strategy/darwinia/darwinia-1.4.0_beta9-r2.ebuild (renamed from games-strategy/darwinia/darwinia-1.4.0_beta9-r1.ebuild)22
2 files changed, 11 insertions, 13 deletions
diff --git a/games-strategy/darwinia/Manifest b/games-strategy/darwinia/Manifest
index 9f08f65a7085..49678acdeb37 100644
--- a/games-strategy/darwinia/Manifest
+++ b/games-strategy/darwinia/Manifest
@@ -1,3 +1,3 @@
DIST darwinia-full-1.4.0b9.sh 4228121 BLAKE2B f1cae61e3ad6802a1e04fc5306bfbb7194ad08df29a82a376dc7f1945ab8f1f99620653800bb2458941f2004488abf441c211bc3f6d7c65e4d3f47cb9155e5f6 SHA512 ed228943d4e70fc5799bbe7566b4fd862f2494f9d02bcd874f0d1b93d7bbc9a2c24a98fb5b8219fed20759bfe2af54d6ea33c60ddd8d8850e591a89822b41bb5
-EBUILD darwinia-1.4.0_beta9-r1.ebuild 1472 BLAKE2B 6c7c37ee5fb93272893daf7805668de3452ff76106b902f6e5977c08545029242d5281cccea912cfb43faa75e08eaad70501a8394beb406c140907dcfa088a4c SHA512 5de21a6d608cfcd2a1b8196abeb60563518162c33476320072799726eab614272943f1fd73a68cf289f761c1194f9ff72edec621c6cf76c92e305fc12afaa2ac
+EBUILD darwinia-1.4.0_beta9-r2.ebuild 1414 BLAKE2B 9b1aaa2591799c7beb3f72bd5b8eebe69c909e5dc6339d889063c9237e5cf8cb92123565f4da676007649e1cc589a4b125cfdf032a01c37f2b0a562e6b8fb3d8 SHA512 2ac79b583b5619d8183fdabf513b10a50e4fa11fdea59d13d5f9fc80e9ac426c7bd29544f37c0e19de16e56f008a4e9cb32c14b3bdb5f53dfe58838664c2636c
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-strategy/darwinia/darwinia-1.4.0_beta9-r1.ebuild b/games-strategy/darwinia/darwinia-1.4.0_beta9-r2.ebuild
index d1f5e9d5f83a..562267b62e43 100644
--- a/games-strategy/darwinia/darwinia-1.4.0_beta9-r1.ebuild
+++ b/games-strategy/darwinia/darwinia-1.4.0_beta9-r2.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
+
CDROM_OPTIONAL="yes"
-inherit eutils unpacker cdrom games
+inherit cdrom desktop unpacker wrapper
MY_PV=${PV/_beta/b}
-DESCRIPTION="the hyped indie game of the year. By the Uplink creators"
+DESCRIPTION="The hyped indie game of the year - by the Uplink creators"
HOMEPAGE="http://www.darwinia.co.uk/support/linux.html"
SRC_URI="http://www.introversion.co.uk/darwinia/downloads/${PN}-full-${MY_PV}.sh"
+S="${WORKDIR}"
LICENSE="Introversion"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
RESTRICT="bindist mirror strip"
RDEPEND="
@@ -21,11 +22,10 @@ RDEPEND="
media-libs/libsdl[abi_x86_32(-)]
media-libs/libvorbis[abi_x86_32(-)]
virtual/glu[abi_x86_32(-)]
- virtual/opengl[abi_x86_32(-)]"
-
-S=${WORKDIR}
+ virtual/opengl[abi_x86_32(-)]
+"
-dir=${GAMES_PREFIX_OPT}/${PN}
+dir=opt/${PN}
QA_PREBUILT="${dir:1}/lib/darwinia.bin.x86"
src_unpack() {
@@ -50,9 +50,8 @@ src_install() {
dodoc README
newicon darwinian.png darwinia.png
- games_make_wrapper darwinia ./darwinia "${dir}" "${dir}"
+ make_wrapper darwinia ./darwinia "${dir}" "${dir}"
make_desktop_entry darwinia "Darwinia"
- prepgamesdirs
}
pkg_postinst() {
@@ -60,5 +59,4 @@ pkg_postinst() {
ewarn "To play the game, you need to copy main.dat and sounds.dat"
ewarn "from gamefiles/ on the game CD to ${dir}/lib/."
fi
- games_pkg_postinst
}