public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/darwinia/
Date: Sun,  9 Jun 2024 15:54:15 +0000 (UTC)	[thread overview]
Message-ID: <1717948447.84e12fe064689f6cf8b5733366ccc00a59b81541.chewi@gentoo> (raw)

commit:     84e12fe064689f6cf8b5733366ccc00a59b81541
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 15:47:01 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 15:54:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84e12fe0

games-strategy/darwinia: EAPI 8, various tweaks

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-strategy/darwinia/darwinia-1.43.ebuild | 44 ++++++++++++----------------
 1 file changed, 19 insertions(+), 25 deletions(-)

diff --git a/games-strategy/darwinia/darwinia-1.43.ebuild b/games-strategy/darwinia/darwinia-1.43.ebuild
index 2e4ac40f9cd6..166b98102578 100644
--- a/games-strategy/darwinia/darwinia-1.43.ebuild
+++ b/games-strategy/darwinia/darwinia-1.43.ebuild
@@ -1,64 +1,58 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop
 
 MY_P="${P/-/_}"
 
 DESCRIPTION="A digital dreamscape simulation game"
-HOMEPAGE="https://www.introversion.co.uk/darwinia/"
+HOMEPAGE="https://www.introversion.co.uk/introversion/"
 SRC_URI="
 	amd64? ( ${MY_P}_amd64.tar.gz )
 	x86? ( ${MY_P}_i386.tar.gz )
 "
-
+S="${WORKDIR}/${PN}"
 LICENSE="Introversion"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch mirror strip"
 
 RDEPEND="
+	media-libs/libglvnd[X]
 	media-libs/libogg
-	media-libs/libsdl
+	media-libs/libsdl[opengl,sound,video]
 	media-libs/libvorbis
 	virtual/glu
 "
 
-RESTRICT="bindist fetch mirror strip"
-
-S="${WORKDIR}/${PN}"
+QA_PREBUILT="opt/${PN}/${PN}"
 
-QA_PREBUILT="
-	opt/darwinia/darwinia.bin.x86
-	opt/darwinia/darwinia.bin.x86_64
-"
+pkg_nofetch() {
+		einfo "This was only available from The Humble Introversion Bundle in 2011."
+		einfo "If you bought that, then download ${A} and move"
+		einfo "it to your distfiles directory."
+}
 
 src_unpack() {
 	default
 
 	if use x86; then
-		mv Darwinia darwinia || die
+		mv ${PN^} ${PN} || die
 	fi
 }
 
-src_compile() {
-	:;
-}
-
 src_install() {
-	exeinto /opt/darwinia
-	doexe darwinia.bin.x86$(usex amd64 '_64' '')
+	exeinto /opt/${PN}
+	newexe ${PN}.bin.x86$(usex amd64 '_64' '') ${PN}
+	dosym ../../opt/${PN}/${PN} /usr/bin/${PN}
 
-	insinto /opt/darwinia
+	insinto /opt/${PN}
 	doins *.dat
 
-	dodir /opt/bin
-	dosym ../darwinia/darwinia.bin.x86$(usex amd64 '_64' '') /opt/bin/darwinia
-
 	doicon darwinian.png
-
-	make_desktop_entry "darwinia" "Darwinia" darwinian Game
+	make_desktop_entry ${PN} ${PN^} darwinian
 
 	dodoc {changes,readme-linux}.txt
 }


             reply	other threads:[~2024-06-09 15:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-09 15:54 James Le Cuirot [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
2022-10-08 17:59 Sam James
2021-08-23  4:06 Sam James
2021-04-06 23:00 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=1717948447.84e12fe064689f6cf8b5733366ccc00a59b81541.chewi@gentoo \
    --to=chewi@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