summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-02-27 18:05:41 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-02-27 18:05:41 +0000
commit4e3c8145e5f0cb7956a0d52858b555c7137eb736 (patch)
tree611c7f8693f3f72717c6a8da20e7e4f8e36956cb /games-fps/etqw-demo
parentAdded ~ppc wrt bug 207764 (diff)
downloadhistorical-4e3c8145e5f0cb7956a0d52858b555c7137eb736.tar.gz
historical-4e3c8145e5f0cb7956a0d52858b555c7137eb736.tar.bz2
historical-4e3c8145e5f0cb7956a0d52858b555c7137eb736.zip
Initial import. Original ebuild by Paul Bredbury <brebs@sent.com> and modified by me. Closing bug #195999.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-fps/etqw-demo')
-rw-r--r--games-fps/etqw-demo/ChangeLog11
-rw-r--r--games-fps/etqw-demo/Manifest14
-rw-r--r--games-fps/etqw-demo/etqw-demo-1.1_p5.ebuild75
-rw-r--r--games-fps/etqw-demo/metadata.xml9
4 files changed, 109 insertions, 0 deletions
diff --git a/games-fps/etqw-demo/ChangeLog b/games-fps/etqw-demo/ChangeLog
new file mode 100644
index 000000000000..504b68698984
--- /dev/null
+++ b/games-fps/etqw-demo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-fps/etqw-demo
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-demo/ChangeLog,v 1.1 2008/02/27 18:05:41 wolf31o2 Exp $
+
+*etqw-demo-1.1_p5 (27 Feb 2008)
+
+ 27 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +etqw-demo-1.1_p5.ebuild:
+ Initial import. Original ebuild by Paul Bredbury <brebs@sent.com> and
+ modified by me. Closing bug #195999.
+
diff --git a/games-fps/etqw-demo/Manifest b/games-fps/etqw-demo/Manifest
new file mode 100644
index 000000000000..2f952282fd80
--- /dev/null
+++ b/games-fps/etqw-demo/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ETQW-demo-client-1.1-full.r5.x86.run 674511145 RMD160 18dd8418ee998a886ea637fdf61c41d26be6a39a SHA1 fa46b64c24fde58807e2c9628ba9318241212f5b SHA256 389c72ffb6ff554bb6958142aadca3abc3417e0bd54a2811be3bfe26b5cc6f18
+EBUILD etqw-demo-1.1_p5.ebuild 2010 RMD160 0da08a7def1f66b21549e0b6b869d601a77a2817 SHA1 c1bafb765d77a4e8627baf5df4910253ffd04a11 SHA256 31a0230596898f627176ec3b988dc6e3b415287d70359d425cf75b9b0f560d6e
+MISC ChangeLog 455 RMD160 2b586ebb9429756c6f7475feec026e10c9fd09c7 SHA1 f8e00e1ad3fb85c0563542ff7cbca4b2d2afdbb1 SHA256 a6bee24c549f797071123243e2a1f285759e04d9331c578b2c79f8b83e0c9825
+MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHxaXVkT4lNIS36YERAoOsAJwODIUZWq/GLfx0g79udb6J4PZ9lgCgkB0i
+QnCdsjqBfWINGLhIIslE05M=
+=w7Je
+-----END PGP SIGNATURE-----
diff --git a/games-fps/etqw-demo/etqw-demo-1.1_p5.ebuild b/games-fps/etqw-demo/etqw-demo-1.1_p5.ebuild
new file mode 100644
index 000000000000..6badfecf2ed3
--- /dev/null
+++ b/games-fps/etqw-demo/etqw-demo-1.1_p5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-demo/etqw-demo-1.1_p5.ebuild,v 1.1 2008/02/27 18:05:41 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_PV="${PV/_p/-full.r}"
+MY_BODY="ETQW-demo-client-${MY_PV}.x86"
+
+DESCRIPTION="Enemy Territory: Quake Wars demo"
+HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
+SRC_URI="mirror://idsoftware/etqw/${MY_BODY}.run"
+
+# See copyrights.txt
+LICENSE="ETQW"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="app-arch/unzip"
+RDEPEND="virtual/opengl
+ x86? (
+ media-libs/libsdl
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext )
+ amd64? ( >=app-emulation/emul-linux-x86-sdl-10.1 )"
+
+S=${WORKDIR}
+dir=${GAMES_PREFIX_OPT}/${PN}
+
+QA_TEXTRELS="${dir:1}/data/pb/pbsv.so
+ ${dir:1}/data/pb/pbag.so
+ ${dir:1}/data/pb/pbcls.so
+ ${dir:1}/data/pb/pbcl.so
+ ${dir:1}/data/pb/pbags.so
+ ${dir:1}/guis/libmojosetupgui_ncurses.so"
+
+QA_EXECSTACK="${dir:1}/data/libstdc++.so.6
+ ${dir:1}/data/etqwded.x86
+ ${dir:1}/data/libgcc_s.so.1
+ ${dir:1}/data/etqw.x86
+ ${dir:1}/guis/libmojosetupgui_ncurses.so"
+
+src_unpack() {
+ # unpack_makeself cannot detect the version
+ tail -c +677092 "${DISTDIR}/${MY_BODY}.run" > ${PN}.zip || die "tail"
+ unpack ./${PN}.zip
+
+ rm -f ${PN}.zip || die
+}
+
+src_install() {
+ insinto "${dir}"
+ doins -r * || die "doins"
+
+ cd data
+ exeinto "${dir}"/data
+ doexe et* lib* *.sh || die "doexe"
+
+ # From http://www.customxp.net/images/PngFactory/9734_22603_ET%20Quake%20Wars%2001_dacaid.html
+ # Inappropriate licence for official Portage tree, though.
+# newicon "${FILESDIR}"/9734-EL1TE-ETQuakeWars01.png ${PN}.png \
+# || die "newicon"
+
+ games_make_wrapper ${PN} ./etqw.x86 "${dir}"/data "${dir}"/data
+ # Matches with desktop entry for enemy-territory-truecombat
+ make_desktop_entry ${PN} "Enemy Territory: Quake Wars (Demo)" ${PN}.png
+
+ games_make_wrapper ${PN}-ded ./etqwded.x86 "${dir}"/data "${dir}"/data
+
+ prepgamesdirs
+}
diff --git a/games-fps/etqw-demo/metadata.xml b/games-fps/etqw-demo/metadata.xml
new file mode 100644
index 000000000000..fe08918e6837
--- /dev/null
+++ b/games-fps/etqw-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>