summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-09-15 01:28:02 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-09-15 01:28:02 +0000
commit8206ba5491f1789c04ede1a6e8a516ac3332a28c (patch)
treefeed0a17fe96123379bb5069ffa92041215e2f78 /games-strategy
parentTweak testsuite when running on a uClibc setup #180637. (diff)
downloadgentoo-2-8206ba5491f1789c04ede1a6e8a516ac3332a28c.tar.gz
gentoo-2-8206ba5491f1789c04ede1a6e8a516ac3332a28c.tar.bz2
gentoo-2-8206ba5491f1789c04ede1a6e8a516ac3332a28c.zip
Version bump to 1.4.05 with an updated ebuild from Paul Bredbury <brebs@sent.com>. Closing bug #179297.
(Portage version: 2.1.3.7)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/x2/ChangeLog8
-rw-r--r--games-strategy/x2/files/digest-x2-1.4.0515
-rw-r--r--games-strategy/x2/x2-1.4.05.ebuild118
3 files changed, 140 insertions, 1 deletions
diff --git a/games-strategy/x2/ChangeLog b/games-strategy/x2/ChangeLog
index e8e9143fa992..7f20240552fd 100644
--- a/games-strategy/x2/ChangeLog
+++ b/games-strategy/x2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/x2
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/ChangeLog,v 1.2 2007/01/07 20:01:56 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/ChangeLog,v 1.3 2007/09/15 01:28:01 wolf31o2 Exp $
+
+*x2-1.4.05 (15 Sep 2007)
+
+ 15 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org> +x2-1.4.05.ebuild:
+ Version bump to 1.4.05 with an updated ebuild from Paul Bredbury
+ <brebs@sent.com>. Closing bug #179297.
*x2-1.4.03 (07 Jan 2007)
diff --git a/games-strategy/x2/files/digest-x2-1.4.05 b/games-strategy/x2/files/digest-x2-1.4.05
new file mode 100644
index 000000000000..cfb6ed9c7a08
--- /dev/null
+++ b/games-strategy/x2/files/digest-x2-1.4.05
@@ -0,0 +1,15 @@
+MD5 f3a4d7746c972eb4b945f2867ca053cf x2-1.4-1.4.01-x86.run 1030707
+RMD160 e11975ec3703b780aa9a5a83e6832129b7ab3868 x2-1.4-1.4.01-x86.run 1030707
+SHA256 0700dee701a2c630615dac16960672a7ceb97ebf147848566383e6caefbd52cd x2-1.4-1.4.01-x86.run 1030707
+MD5 ae20cff75f84d65f116ab8fadab20eb8 x2-1.4.01-1.4.02-x86.run 1219653
+RMD160 154550af595008c8849e75014d02e34d150b5f6c x2-1.4.01-1.4.02-x86.run 1219653
+SHA256 65a087b67248f05ad0fa0b513b1c5c6d2dc77d915914315758ac7549b55dd926 x2-1.4.01-1.4.02-x86.run 1219653
+MD5 c7fd14680a51ea9acae111e790a2408a x2-1.4.02-1.4.03-x86.run 534472
+RMD160 6f921d3e8b8b4260333e385f7339f184127bfaf8 x2-1.4.02-1.4.03-x86.run 534472
+SHA256 04eded4d3aa5ed04d736a15f0f836fe0bfd4186bb27e2d44f11b2d73851cb316 x2-1.4.02-1.4.03-x86.run 534472
+MD5 2b0817d62e15f7846851898f2a5dd235 x2-1.4.03-1.4.04-x86.run 995284
+RMD160 f2134383b23bdf8e0b53bcc74c1bf9f5d59af925 x2-1.4.03-1.4.04-x86.run 995284
+SHA256 8e2c8783e13d18cc8bef555a2953061058561a2f66f74efa1e57554c29a7a9c1 x2-1.4.03-1.4.04-x86.run 995284
+MD5 9cf389751449e2a3c1a19a6fe5ca3c5c x2-1.4.04-1.4.05-x86.run 885752
+RMD160 10c57dc8305058405a1dff0249aa2ac4e3b89e06 x2-1.4.04-1.4.05-x86.run 885752
+SHA256 2b47203d0565919ebca7f023d6832525bf37e4d1e8ca13a9c92fd79d0c13b307 x2-1.4.04-1.4.05-x86.run 885752
diff --git a/games-strategy/x2/x2-1.4.05.ebuild b/games-strategy/x2/x2-1.4.05.ebuild
new file mode 100644
index 000000000000..b88dbbda9030
--- /dev/null
+++ b/games-strategy/x2/x2-1.4.05.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/x2-1.4.05.ebuild,v 1.1 2007/09/15 01:28:01 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_PV="1.4.04-${PV}"
+MY_UPD="http://updatefiles.linuxgamepublishing.com/${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/
+SRC_URI="${MY_UPD}/${PN}-1.4-1.4.01-x86.run
+ ${MY_UPD}/${PN}-1.4.01-1.4.02-x86.run
+ ${MY_UPD}/${PN}-1.4.02-1.4.03-x86.run
+ ${MY_UPD}/${PN}-1.4.03-1.4.04-x86.run
+ ${MY_UPD}/${PN}-${MY_PV}-x86.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bonusscripts dynamic langpacks linguas_de modkit"
+RESTRICT="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 )"
+DEPEND=""
+
+S=${WORKDIR}
+
+unpackit() {
+ unpack "./cd/${1}.tar.gz"
+}
+
+src_unpack() {
+ cdrom_get_cds bin/Linux/x86/${PN}
+ ln -sfn "${CDROM_ROOT}"/data cd
+
+ unpackit data
+ use bonusscripts && unpackit bonusscripts
+ use linguas_de && unpackit german
+ use langpacks && unpackit langpacks
+ use modkit && unpackit modkit
+
+ rm -f cd
+
+ cp -rf "${CDROM_ROOT}"/bin/Linux/x86/* . || die "cp exes"
+ cp -f "${CDROM_ROOT}"/{READ*,icon*} . || die "cp READ*"
+
+ # Apply the patches
+ local p
+ for p in 1.4-1.4.01 1.4.01-1.4.02 1.4.02-1.4.03 1.4.03-1.4.04 \
+ "${MY_PV}" ; do
+ einfo "Applying patch ${p}"
+ mkdir patch
+ cd patch
+ unpack_makeself "${PN}-${p}-x86.run"
+ bin/Linux/x86/loki_patch patch.dat "${S}" \
+ || die "loki_patch ${p}"
+ cp -f README.txt "${S}/ChangeLog" || die "cp README.txt"
+ cd "${S}"
+ rm -rf patch
+ done
+
+ # These files do not get installed
+ [[ -e modkit ]] && rm -f modkit/x2*.debug
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ # Whether to use static (default) or dynamic binaries
+ local dyn
+ use dynamic && dyn=".dynamic"
+
+ insinto "${dir}"
+ doins -r * || die "doins -r"
+ keepdir "${dir}"/Database
+
+ exeinto "${dir}"
+ doexe x2{,.dynamic} || die "doexe x2"
+
+ if use modkit ; then
+ exeinto "${dir}"/modkit
+ doexe modkit/x2{build,tool}{,.dynamic} || die "doexe modkit"
+ local f
+ for f in build tool ; do
+ games_make_wrapper "x2${f}" "${dir}/modkit/x2${f}${dyn}"
+ done
+ fi
+
+ games_make_wrapper ${PN} "./${PN}${dyn}" "${dir}"
+ newicon "${CDROM_ROOT}"/icon.xpm ${PN}.xpm || die "newicon"
+ make_desktop_entry ${PN} "X2 - The Threat" ${PN}.xpm
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ if use dynamic ; then
+ elog "Please try without the 'dynamic' USE flag, before reporting bugs."
+ fi
+}