public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/darwinia/
Date: Tue,  6 Apr 2021 23:00:43 +0000 (UTC)	[thread overview]
Message-ID: <1617750036.a0ca50acf3ccbc6bcea29f5366a0ef8b37dc782c.sam@gentoo> (raw)

commit:     a0ca50acf3ccbc6bcea29f5366a0ef8b37dc782c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 22:59:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 23:00:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ca50ac

games-strategy/darwinia: port to EAPI 7, games.eclass--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...a9-r1.ebuild => darwinia-1.4.0_beta9-r2.ebuild} | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/games-strategy/darwinia/darwinia-1.4.0_beta9-r1.ebuild b/games-strategy/darwinia/darwinia-1.4.0_beta9-r2.ebuild
similarity index 77%
rename from games-strategy/darwinia/darwinia-1.4.0_beta9-r1.ebuild
rename to games-strategy/darwinia/darwinia-1.4.0_beta9-r2.ebuild
index d1f5e9d5f83..562267b62e4 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
 }


             reply	other threads:[~2021-04-06 23:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 23:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-09 15:54 [gentoo-commits] repo/gentoo:master commit in: games-strategy/darwinia/ James Le Cuirot
2024-06-09 15:54 James Le Cuirot
2024-06-09 15:54 James Le Cuirot
2022-10-08 17:59 Sam James
2021-08-23  4:06 Sam James
2020-06-21 10:25 Sergei Trofimovich
2019-09-23 17:16 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617750036.a0ca50acf3ccbc6bcea29f5366a0ef8b37dc782c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox