summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-09-06 15:38:52 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-09-06 15:38:52 +0000
commitae4681fc07fc40aa0be40a8a355eaaacc07573b4 (patch)
tree7fc9e7b768f906cf6626f3babc4221b8cba5e8a9 /games-fps
parentrm (diff)
downloadgentoo-2-ae4681fc07fc40aa0be40a8a355eaaacc07573b4.tar.gz
gentoo-2-ae4681fc07fc40aa0be40a8a355eaaacc07573b4.tar.bz2
gentoo-2-ae4681fc07fc40aa0be40a8a355eaaacc07573b4.zip
Initial commit, bug #198078
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/etqw-data/ChangeLog10
-rw-r--r--games-fps/etqw-data/Manifest3
-rw-r--r--games-fps/etqw-data/etqw-data-1.0.ebuild68
-rw-r--r--games-fps/etqw-data/metadata.xml9
4 files changed, 90 insertions, 0 deletions
diff --git a/games-fps/etqw-data/ChangeLog b/games-fps/etqw-data/ChangeLog
new file mode 100644
index 000000000000..dbce309f7083
--- /dev/null
+++ b/games-fps/etqw-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/etqw-data
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-data/ChangeLog,v 1.1 2008/09/06 15:38:52 nyhm Exp $
+
+*etqw-data-1.0 (06 Sep 2008)
+
+ 06 Sep 2008; Tristan Heaven <nyhm@gentoo.org> +metadata.xml,
+ +etqw-data-1.0.ebuild:
+ Initial commit, bug #198078
+
diff --git a/games-fps/etqw-data/Manifest b/games-fps/etqw-data/Manifest
new file mode 100644
index 000000000000..41dfdf076270
--- /dev/null
+++ b/games-fps/etqw-data/Manifest
@@ -0,0 +1,3 @@
+EBUILD etqw-data-1.0.ebuild 1344 RMD160 b2eeedb96b21565cbb106a46a3ae99b7f1984001 SHA1 dc71579196d783d98b1bbf6e10719d061c49f74c SHA256 d52f57dea6d0be35ec23522e99fe6b3b8f17c12ded11ddd492acc0f0b09fdbcf
+MISC ChangeLog 269 RMD160 3dc8ff9a9c698a634edd211004c55e2ec0a927ca SHA1 8e91aad90c69fde59d92d7dddfad435fe01cefdc SHA256 0a0a79bb40e062aecf599243e5f5a8f3154acca99e7f976029a9c9efc3f60454
+MISC metadata.xml 251 RMD160 06f6da1d444a200da939f3a66efda69e106d437a SHA1 33620e22c3208afee5b6c4641a7fcfe30bfc2009 SHA256 1ee2ce2802a2ce864b396d3300b3a8f7bea466b1280840097c29265e2ad4a7b2
diff --git a/games-fps/etqw-data/etqw-data-1.0.ebuild b/games-fps/etqw-data/etqw-data-1.0.ebuild
new file mode 100644
index 000000000000..b4b84aa8cff7
--- /dev/null
+++ b/games-fps/etqw-data/etqw-data-1.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-data/etqw-data-1.0.ebuild,v 1.1 2008/09/06 15:38:52 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Enemy Territory: Quake Wars data files"
+HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
+SRC_URI=""
+
+LICENSE="ETQW"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="videos"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+
+src_unpack() {
+ cdrom_get_cds Setup/Data/base/DEU:Setup/Data/base/POL:Setup/Data/base
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/etqw
+
+ cd "${CDROM_ROOT}"/Setup/Data/base
+ insinto "${dir}"/base
+ doins pak00{0..4}.pk4 || die "doins pak failed"
+ doins -r megatextures || die "doins megatextures failed"
+
+ case ${CDROM_SET} in
+ 0)
+ doins \
+ zpak_english000.pk4 \
+ DEU/zpak_german000.pk4 \
+ ESP/zpak_spanish000.pk4 \
+ FRA/zpak_french000.pk4 \
+ || die "doins zpak failed"
+ ;;
+ 1)
+ doins \
+ POL/zpak_polish000.pk4 \
+ RUS/zpak_russian000.pk4 \
+ || die "doins zpak failed"
+ ;;
+ 2)
+ doins zpak_english000.pk4 || die "doins zpak failed"
+ ;;
+ esac
+
+ if use videos ; then
+ case ${CDROM_SET} in
+ 0|2)
+ doins -r video || die "doins video failed"
+ ;;
+ esac
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ elog "This is just the data portion of the game. You will need to install"
+ elog "games-fps/etqw-bin to play it."
+}
diff --git a/games-fps/etqw-data/metadata.xml b/games-fps/etqw-data/metadata.xml
new file mode 100644
index 000000000000..2f55aed2d76d
--- /dev/null
+++ b/games-fps/etqw-data/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>nyhm@gentoo.org</email>
+ <name>Tristan Heaven</name>
+ </maintainer>
+</pkgmetadata>