summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/x2-demo')
-rw-r--r--games-strategy/x2-demo/ChangeLog10
-rw-r--r--games-strategy/x2-demo/files/digest-x2-demo-1.4.053
-rw-r--r--games-strategy/x2-demo/x2-demo-1.4.05.ebuild66
3 files changed, 77 insertions, 2 deletions
diff --git a/games-strategy/x2-demo/ChangeLog b/games-strategy/x2-demo/ChangeLog
index 975c5819c5e5..5c2be2bc1d8f 100644
--- a/games-strategy/x2-demo/ChangeLog
+++ b/games-strategy/x2-demo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/x2-demo
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2-demo/ChangeLog,v 1.3 2006/12/12 18:24:13 wolf31o2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2-demo/ChangeLog,v 1.4 2007/09/15 01:32:09 wolf31o2 Exp $
+
+*x2-demo-1.4.05 (15 Sep 2007)
+
+ 15 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ +x2-demo-1.4.05.ebuild:
+ Version bump to 1.4.05 and closing bug #181265.
*x2-demo-1.4.03 (12 Dec 2006)
diff --git a/games-strategy/x2-demo/files/digest-x2-demo-1.4.05 b/games-strategy/x2-demo/files/digest-x2-demo-1.4.05
new file mode 100644
index 000000000000..ca038659b766
--- /dev/null
+++ b/games-strategy/x2-demo/files/digest-x2-demo-1.4.05
@@ -0,0 +1,3 @@
+MD5 213778634530420e452035d6f0aff87c x2_demo.run 188272758
+RMD160 2aca85cdede12bbb7a75d61c93dcf447344913cf x2_demo.run 188272758
+SHA256 185590eb67c56e862d57f97761276e37a5f3bb2a312c8eb7ab17c094a93a0859 x2_demo.run 188272758
diff --git a/games-strategy/x2-demo/x2-demo-1.4.05.ebuild b/games-strategy/x2-demo/x2-demo-1.4.05.ebuild
new file mode 100644
index 000000000000..1eec4dedba1b
--- /dev/null
+++ b/games-strategy/x2-demo/x2-demo-1.4.05.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2-demo/x2-demo-1.4.05.ebuild,v 1.1 2007/09/15 01:32:09 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_PN=${PN/-/_}
+
+DESCRIPTION="Open-ended space opera with trading, building & fighting"
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=x2"
+
+# Patches are in http://updatefiles.linuxgamepublishing.com/x2-demo/
+# Unversioned filename, grrr (is pre-patched).
+SRC_URI="http://demofiles.linuxgamepublishing.com/x2/${MY_PN}.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+
+RDEPEND="media-libs/alsa-lib
+ sys-libs/glibc
+ x86? (
+ media-libs/libsdl
+ media-libs/openal
+ sys-libs/zlib
+ x11-libs/gtk+
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi )
+ amd64? (
+ app-emulation/emul-linux-x86-gtklibs
+ app-emulation/emul-linux-x86-sdl )"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+src_unpack() {
+ unpack_makeself ${MY_PN}.run
+ unpack ./data.tar.gz
+ rm -rf data.tar.gz lgp_* setup*
+
+ mv bin "${T}" || die "mv bin"
+}
+
+src_install() {
+ exeinto "${dir}"
+ doexe "${T}"/bin/Linux/x86/x2_demo{,.dynamic} || die "doexe x2"
+
+ insinto "${dir}"
+ doins -r * || die "doins -r"
+
+ keepdir "${dir}"/database
+
+ # We don't support the dynamic version, even though we install it.
+ games_make_wrapper ${PN} ./x2_demo "${dir}" "${dir}"
+ newicon icon.xpm ${PN}.xpm || die "newicon failed"
+ make_desktop_entry ${PN} "X2 - The Threat (Demo)" ${PN}.xpm
+
+ prepgamesdirs
+}