summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-11-22 00:33:14 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-11-22 00:33:14 +0000
commite64c098e0bbbbcbbd5ae852cc2ea142f7ac90a95 (patch)
treea1d6ca8a9bdab5e21882bb220d109e986bb741ec /games-strategy
parentChanged to use GAMES_CHECK_LICENSE and added proper RDEPEND entry. (diff)
downloadgentoo-2-e64c098e0bbbbcbbd5ae852cc2ea142f7ac90a95.tar.gz
gentoo-2-e64c098e0bbbbcbbd5ae852cc2ea142f7ac90a95.tar.bz2
gentoo-2-e64c098e0bbbbcbbd5ae852cc2ea142f7ac90a95.zip
Initial import. Ebuild submitted to bug #85836 by dkaloper@mjesec.ffzg.hr and modified by me. Closing bug #85836.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/darwinia/ChangeLog11
-rw-r--r--games-strategy/darwinia/Manifest2
-rw-r--r--games-strategy/darwinia/darwinia-1.3.0.ebuild65
-rw-r--r--games-strategy/darwinia/files/digest-darwinia-1.3.01
-rw-r--r--games-strategy/darwinia/metadata.xml5
5 files changed, 84 insertions, 0 deletions
diff --git a/games-strategy/darwinia/ChangeLog b/games-strategy/darwinia/ChangeLog
new file mode 100644
index 000000000000..43b9e17abd45
--- /dev/null
+++ b/games-strategy/darwinia/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-strategy/darwinia
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/ChangeLog,v 1.1 2005/11/22 00:33:14 wolf31o2 Exp $
+
+*darwinia-1.3.0 (22 Nov 2005)
+
+ 22 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +darwinia-1.3.0.ebuild:
+ Initial import. Ebuild submitted to bug #85836 by dkaloper@mjesec.ffzg.hr
+ and modified by me. Closing bug #85836.
+
diff --git a/games-strategy/darwinia/Manifest b/games-strategy/darwinia/Manifest
new file mode 100644
index 000000000000..b31fc11a699a
--- /dev/null
+++ b/games-strategy/darwinia/Manifest
@@ -0,0 +1,2 @@
+MD5 f61954300a7b38c7a9198a1b793a307b darwinia-1.3.0.ebuild 1579
+MD5 8eec85d3e84362191fdbb044ff8c1c20 files/digest-darwinia-1.3.0 68
diff --git a/games-strategy/darwinia/darwinia-1.3.0.ebuild b/games-strategy/darwinia/darwinia-1.3.0.ebuild
new file mode 100644
index 000000000000..15825889d576
--- /dev/null
+++ b/games-strategy/darwinia/darwinia-1.3.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/darwinia-1.3.0.ebuild,v 1.1 2005/11/22 00:33:14 wolf31o2 Exp $
+
+inherit eutils games
+
+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-${PV}.sh"
+
+LICENSE="Introversion"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="cdinstall"
+RESTRICT="nostrip"
+
+RDEPEND="sys-libs/glibc
+ virtual/opengl
+ amd64? ( app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-compat )"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ use cdinstall && cdrom_get_cds gamefiles/main.dat
+}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ insinto "${dir}"/lib
+ exeinto "${dir}"/lib
+ doins lib/{language,patch}.dat
+ doexe lib/lib{SDL-1.2,ogg,vorbis}.so.0 lib/lib{gcc_s.so.1,vorbisfile.so.3} \
+ lib/darwinia.bin.x86 lib/open-www.sh || die "copying libs/executables"
+
+ exeinto "${dir}"
+ doexe bin/Linux/x86/darwinia || die "couldn't do exe"
+
+ if use cdinstall; then
+ doins "${CDROM_ROOT}"/gamefiles/{main,sounds}.dat \
+ || die "couldn't copy data files"
+ fi
+
+ dodoc README || die "no reading"
+ newicon darwinian.png darwinia.png
+
+ games_make_wrapper darwinia ./darwinia "${dir}" "${dir}"
+ make_desktop_entry darwinia "Darwinia" darwinia.png
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ if ! use cdinstall; then
+ 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
+}
+
diff --git a/games-strategy/darwinia/files/digest-darwinia-1.3.0 b/games-strategy/darwinia/files/digest-darwinia-1.3.0
new file mode 100644
index 000000000000..80facf931136
--- /dev/null
+++ b/games-strategy/darwinia/files/digest-darwinia-1.3.0
@@ -0,0 +1 @@
+MD5 e8dbe3f3a2f58fd6890a022b66fc36ac darwinia-full-1.3.0.sh 4010019
diff --git a/games-strategy/darwinia/metadata.xml b/games-strategy/darwinia/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-strategy/darwinia/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>