summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-08-23 22:45:26 +0200
committerJames Le Cuirot <chewi@gentoo.org>2024-06-09 16:54:05 +0100
commit985eeb5a284c04d5f9f168b7fb47fade65c5d45d (patch)
treeb1e37933032c580c632b6b2261586a72eb8be670 /games-strategy/darwinia/darwinia-1.43.ebuild
parentx11-misc/xkeyboard-config: Version bump to 2.42 (diff)
downloadgentoo-985eeb5a284c04d5f9f168b7fb47fade65c5d45d.tar.gz
gentoo-985eeb5a284c04d5f9f168b7fb47fade65c5d45d.tar.bz2
gentoo-985eeb5a284c04d5f9f168b7fb47fade65c5d45d.zip
games-strategy/darwinia: bump to version 1.43
Newer versions are not anymore provided as update, instead, you need the full version from packages like GOG or Humble Bundle. Also bumped to EAPI=7. Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://bugs.gentoo.org/419427 Closes: https://github.com/gentoo/gentoo/pull/12775 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-strategy/darwinia/darwinia-1.43.ebuild')
-rw-r--r--games-strategy/darwinia/darwinia-1.43.ebuild64
1 files changed, 64 insertions, 0 deletions
diff --git a/games-strategy/darwinia/darwinia-1.43.ebuild b/games-strategy/darwinia/darwinia-1.43.ebuild
new file mode 100644
index 000000000000..2e4ac40f9cd6
--- /dev/null
+++ b/games-strategy/darwinia/darwinia-1.43.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop
+
+MY_P="${P/-/_}"
+
+DESCRIPTION="A digital dreamscape simulation game"
+HOMEPAGE="https://www.introversion.co.uk/darwinia/"
+SRC_URI="
+ amd64? ( ${MY_P}_amd64.tar.gz )
+ x86? ( ${MY_P}_i386.tar.gz )
+"
+
+LICENSE="Introversion"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libogg
+ media-libs/libsdl
+ media-libs/libvorbis
+ virtual/glu
+"
+
+RESTRICT="bindist fetch mirror strip"
+
+S="${WORKDIR}/${PN}"
+
+QA_PREBUILT="
+ opt/darwinia/darwinia.bin.x86
+ opt/darwinia/darwinia.bin.x86_64
+"
+
+src_unpack() {
+ default
+
+ if use x86; then
+ mv Darwinia darwinia || die
+ fi
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ exeinto /opt/darwinia
+ doexe darwinia.bin.x86$(usex amd64 '_64' '')
+
+ insinto /opt/darwinia
+ 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
+
+ dodoc {changes,readme-linux}.txt
+}