summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-05-18 11:59:20 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-05-18 11:59:20 +0000
commitab0664b6da300bca0a9792004e4ec3e2820e192f (patch)
treea2f2ec06b5f3758b7540c7ab6f926711e813f8a5 /games-strategy
parentSync with 2006.0 (diff)
downloadgentoo-2-ab0664b6da300bca0a9792004e4ec3e2820e192f.tar.gz
gentoo-2-ab0664b6da300bca0a9792004e4ec3e2820e192f.tar.bz2
gentoo-2-ab0664b6da300bca0a9792004e4ec3e2820e192f.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and modified by me. Closing bug #132286.
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/x2-demo/ChangeLog11
-rw-r--r--games-strategy/x2-demo/Manifest16
-rw-r--r--games-strategy/x2-demo/files/digest-x2-demo-1.4.013
-rw-r--r--games-strategy/x2-demo/metadata.xml9
-rw-r--r--games-strategy/x2-demo/x2-demo-1.4.01.ebuild82
5 files changed, 121 insertions, 0 deletions
diff --git a/games-strategy/x2-demo/ChangeLog b/games-strategy/x2-demo/ChangeLog
new file mode 100644
index 000000000000..13cdfc95aa37
--- /dev/null
+++ b/games-strategy/x2-demo/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2006/05/18 11:59:20 wolf31o2 Exp $
+
+*x2-demo-1.4.01 (18 May 2006)
+
+ 18 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +x2-demo-1.4.01.ebuild:
+ Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and modified by me.
+ Closing bug #132286.
+
diff --git a/games-strategy/x2-demo/Manifest b/games-strategy/x2-demo/Manifest
new file mode 100644
index 000000000000..9c8634ac9cc1
--- /dev/null
+++ b/games-strategy/x2-demo/Manifest
@@ -0,0 +1,16 @@
+DIST x2-demo.run 188296419 RMD160 9fe95d4d3b0782de8709eb0893488824a78dbb0c SHA256 36b969221f936a40c0480348a67688336db77bf8e6db9c1c742ba113a54076f8 size 188296419
+EBUILD x2-demo-1.4.01.ebuild 2103 RMD160 9844a2f2ec724af9c7e108295bcd22cdbdfec7e6 SHA1 5ff73f941b36df789fba4f16d16431cff4bd080a SHA256 c2285d030c9777db0cc89e7b0d7df3ec7b1904ab571d075637cb333322ce3123 size 2103
+MD5 c581a5474bb16dc9aeef9f8e8cda5383 x2-demo-1.4.01.ebuild 2103
+RMD160 9844a2f2ec724af9c7e108295bcd22cdbdfec7e6 x2-demo-1.4.01.ebuild 2103
+SHA256 c2285d030c9777db0cc89e7b0d7df3ec7b1904ab571d075637cb333322ce3123 x2-demo-1.4.01.ebuild 2103
+MISC ChangeLog 352 RMD160 36e4ee318c5602ffa7ce69d24a7464bc5118202a SHA1 7f42417a8661a8ba24209375a8efcf190c878b2a SHA256 d4c399947aefbe356f334aee7a6ddcfcd7b5f80f1bcb150cea41137b8b35aafb size 352
+MD5 3553677c169a38b67241b689da09ed96 ChangeLog 352
+RMD160 36e4ee318c5602ffa7ce69d24a7464bc5118202a ChangeLog 352
+SHA256 d4c399947aefbe356f334aee7a6ddcfcd7b5f80f1bcb150cea41137b8b35aafb ChangeLog 352
+MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 size 254
+MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254
+RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254
+SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254
+MD5 8c7414011b1da3174bb74b3c731f02b5 files/digest-x2-demo-1.4.01 223
+RMD160 12061e75c47b446c42151a34f20d0e08aa688b68 files/digest-x2-demo-1.4.01 223
+SHA256 39ce90c2fb63aa493e9648577552c3f8efdbe5974becc307b735a7aefc41873a files/digest-x2-demo-1.4.01 223
diff --git a/games-strategy/x2-demo/files/digest-x2-demo-1.4.01 b/games-strategy/x2-demo/files/digest-x2-demo-1.4.01
new file mode 100644
index 000000000000..3ff6191be43b
--- /dev/null
+++ b/games-strategy/x2-demo/files/digest-x2-demo-1.4.01
@@ -0,0 +1,3 @@
+MD5 a6d6e04d331900f92c2fee58e1aa86c1 x2-demo.run 188296419
+RMD160 9fe95d4d3b0782de8709eb0893488824a78dbb0c x2-demo.run 188296419
+SHA256 36b969221f936a40c0480348a67688336db77bf8e6db9c1c742ba113a54076f8 x2-demo.run 188296419
diff --git a/games-strategy/x2-demo/metadata.xml b/games-strategy/x2-demo/metadata.xml
new file mode 100644
index 000000000000..fe08918e6837
--- /dev/null
+++ b/games-strategy/x2-demo/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-strategy/x2-demo/x2-demo-1.4.01.ebuild b/games-strategy/x2-demo/x2-demo-1.4.01.ebuild
new file mode 100644
index 000000000000..6e359e22724f
--- /dev/null
+++ b/games-strategy/x2-demo/x2-demo-1.4.01.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2006 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.01.ebuild,v 1.1 2006/05/18 11:59:20 wolf31o2 Exp $
+
+# The comments are in this ebuild in case upstream ever decides to make another
+# patch, we already have all the code. Blame Paul Bredbury <brebs@sent.com> for
+# writing it all. *grin*
+
+#inherit eutils versionator games
+inherit eutils games
+
+#PV_MAJOR=$(get_version_component_range 1-2)
+#MY_P=${PN}-${PV_MAJOR}-${PV}
+
+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/
+SRC_URI="http://demofiles.linuxgamepublishing.com/x2/${PN}.run"
+# http://updatefiles.linuxgamepublishing.com/${PN}/${MY_P}-x86.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="primaryuri 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 )
+ virtual/x11 ) )
+ amd64? (
+ app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-soundlibs
+ app-emulation/emul-linux-x86-sdl
+ app-emulation/emul-linux-x86-gtklibs )"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+src_unpack() {
+ unpack_makeself ${PN}.run
+# unpack_makeself ${MY_P}-x86.run
+ unpack ./data.tar.gz
+ rm -r data.tar.gz lgp_* setup*
+}
+
+src_install() {
+ exeinto "${dir}"
+ doexe bin/Linux/x86/x2* || die "doins exes"
+
+ insinto "${dir}"
+ doins -r * || die "doins -r failed"
+
+# bin/Linux/x86/loki_patch patch.dat ${Ddir} || die "loki_patch failed"
+# loki_patch patch.dat ${Ddir} || die "loki_patch failed"
+
+ keepdir "${dir}"/database
+ rm -f "${Ddir}"/bin
+
+ # x2_demo.dynamic continually moans about "SIGABRT caught",
+ # so let's use the static binary instead.
+ games_make_wrapper ${PN} ./x2_demo "${dir}" "${dir}"
+ newicon icon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "X2 - The Threat (Demo)" ${PN}.xpm
+
+ prepgamesdirs
+}