diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-02-27 18:05:41 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2008-02-27 18:05:41 +0000 |
commit | 7d9e5508c0f77654363d97555a94b3a6294edff9 (patch) | |
tree | 28372203a4d8ff565c8a2dca3a96a955413a12bf /games-fps | |
parent | Added ~ppc wrt bug 207764 (diff) | |
download | gentoo-2-7d9e5508c0f77654363d97555a94b3a6294edff9.tar.gz gentoo-2-7d9e5508c0f77654363d97555a94b3a6294edff9.tar.bz2 gentoo-2-7d9e5508c0f77654363d97555a94b3a6294edff9.zip |
Initial import. Original ebuild by Paul Bredbury <brebs@sent.com> and modified by me. Closing bug #195999.
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/etqw-demo/ChangeLog | 11 | ||||
-rw-r--r-- | games-fps/etqw-demo/Manifest | 4 | ||||
-rw-r--r-- | games-fps/etqw-demo/etqw-demo-1.1_p5.ebuild | 75 | ||||
-rw-r--r-- | games-fps/etqw-demo/metadata.xml | 9 |
4 files changed, 99 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..c332c945c07d --- /dev/null +++ b/games-fps/etqw-demo/Manifest @@ -0,0 +1,4 @@ +DIST ETQW-demo-client-1.1-full.r5.x86.run 674511145 RMD160 18dd8418ee998a886ea637fdf61c41d26be6a39a SHA1 fa46b64c24fde58807e2c9628ba9318241212f5b SHA256 389c72ffb6ff554bb6958142aadca3abc3417e0bd54a2811be3bfe26b5cc6f18 +EBUILD etqw-demo-1.1_p5.ebuild 1903 RMD160 384e925800f6dbe539883bd9ac28a8093c1aa889 SHA1 b0e121a4ba4d63f17499d80330efbf0d574b1360 SHA256 f792e84d19ec9ed23dc1ebcd7fca23279a8b37d8c9b01dd930aa83dec9e685b7 +MISC ChangeLog 362 RMD160 227f3530528a8a6731e8fe627705dee34862e170 SHA1 cba0e5782ac01b5c7d2f18dacd5e3f50b4dacf20 SHA256 d67ca8faf4d556fe77e38d510956a55ddf289d1eccf3cf435ea0722bc9a65228 +MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 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> |