diff options
author | 2008-03-12 01:41:35 +0000 | |
---|---|---|
committer | 2008-03-12 01:41:35 +0000 | |
commit | eb0237c54acdae504f581a5aae0708d3afe28662 (patch) | |
tree | 3536039659128713956b2c851e830b9c8bb2999f | |
download | games-eb0237c54acdae504f581a5aae0708d3afe28662.tar.gz games-eb0237c54acdae504f581a5aae0708d3afe28662.tar.bz2 games-eb0237c54acdae504f581a5aae0708d3afe28662.zip |
Initial import of etqw-bin and etqw-data from my personal developer overlay.
svn path=/; revision=1
-rw-r--r-- | games-fps/etqw-bin/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/etqw-bin/Manifest | 4 | ||||
-rw-r--r-- | games-fps/etqw-bin/etqw-bin-1.2.5.ebuild | 117 | ||||
-rw-r--r-- | games-fps/etqw-bin/metadata.xml | 9 | ||||
-rw-r--r-- | games-fps/etqw-data/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/etqw-data/Manifest | 3 | ||||
-rw-r--r-- | games-fps/etqw-data/etqw-data-1.0.ebuild | 58 | ||||
-rw-r--r-- | games-fps/etqw-data/metadata.xml | 9 | ||||
-rw-r--r-- | profiles/categories | 1 | ||||
-rw-r--r-- | profiles/repo_name | 1 |
10 files changed, 218 insertions, 0 deletions
diff --git a/games-fps/etqw-bin/ChangeLog b/games-fps/etqw-bin/ChangeLog new file mode 100644 index 0000000..8d13c2e --- /dev/null +++ b/games-fps/etqw-bin/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-fps/etqw-bin +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 12 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog: + Initial import. Original ebuild by Jon Roadley-Battin + <jon.roadleybattin@gmail.com> in bug #196452 and modified by me. + diff --git a/games-fps/etqw-bin/Manifest b/games-fps/etqw-bin/Manifest new file mode 100644 index 0000000..7fb8ab4 --- /dev/null +++ b/games-fps/etqw-bin/Manifest @@ -0,0 +1,4 @@ +DIST ETQW-client-1.2-full.r5.x86.run 286138270 RMD160 d898e0ef81e62d3ec68a60274974df762da70f4b SHA1 bc2abcdd7e773fe5234de305ca36e96fe467f686 SHA256 9cb1f1f4c9d60d5891a37dcfba711db0c3de6793a4a6017e6fc66e062620e7f0 +EBUILD etqw-bin-1.2.5.ebuild 3017 RMD160 4a4e5c2211f464d8f9eae9967d3c2c407123b7c6 SHA1 fcb0c2806447342b9ed5d191e81e8d84310e5db4 SHA256 3bfa0c0a8f699e12f8df2fd6683b0cd5c352f56afc25a1990954a2a95c41583d +MISC ChangeLog 308 RMD160 6ba6cc998e580357b26b64870ce059bc4a6a1a34 SHA1 5e963b0247641e67ee6eb500b1a837b2246b5161 SHA256 26321386930450c870c49824b5f42f34ab6fbd8edab09af7e23606f022b10f3d +MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 diff --git a/games-fps/etqw-bin/etqw-bin-1.2.5.ebuild b/games-fps/etqw-bin/etqw-bin-1.2.5.ebuild new file mode 100644 index 0000000..db2b7e5 --- /dev/null +++ b/games-fps/etqw-bin/etqw-bin-1.2.5.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild,v 1.2 2007/08/20 17:23:52 wolf31o2 Exp $ + +inherit eutils versionator games + +VER="$(get_version_component_range 1-2)" +REV="$(get_version_component_range 3-3)" +MY_PV="${VER}-full.r${REV}" +MY_BODY="ETQW-client-${MY_PV}.x86" + +DESCRIPTION="Enemy Territory" +HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/etqw/${MY_BODY}.run" + +#LICENSE="ETQW" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="alsa cdinstall dedicated opengl" + +RESTRICT="strip" + +UIDEPEND="virtual/opengl + x86? ( + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + media-libs/libsdl ) + amd64? ( + app-emulation/emul-linux-x86-compat + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-xlibs + || ( + >=app-emulation/emul-linux-x86-xlibs-7.0 + x11-drivers/nvidia-drivers + >=x11-drivers/ati-drivers-8.8.25-r1 ) ) + alsa? ( >=media-libs/alsa-lib-1.0.6 )" + +RDEPEND="sys-libs/glibc + dedicated? ( app-misc/screen !games-server/etqw-ded ) + amd64? ( app-emulation/emul-linux-x86-baselibs ) + cdinstall? ( games-fps/etqw-data ) + opengl? ( ${UIDEPEND} ) + !dedicated? ( !opengl? ( ${UIDEPEND} ) )" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/etqw +Ddir=${D}/${dir} + +#GAMES_CHECK_LICENSE="yes" + +QA_TEXTRELS="${dir:1}/pb/pbag.so + ${dir:1}/pb/pbags.so + ${dir:1}/pb/pbcl.so + ${dir:1}/pb/pbcls.so + ${dir:1}/pb/pbsv.so" +QA_EXECSTACK="${dir:1}/etqw.x86 + ${dir:1}/etqwded.x86 + ${dir:1}/libgcc_s.so.1 + ${dir:1}/libjpeg.so.62 + ${dir:1}/libstdc++.so.6 + ${dir:1}/libCgx86.so" + +src_unpack() { + # There is a warning which changes the exit code and causes "unzip" to not + # return an exit code of "0", so there's no || die here. If anybody wants + # to take the time to look into this and actually fix it, I'm open to + # suggestions. Otherwise, this is staying like this. + unzip -qq ${DISTDIR}/${A} + mv data/* . || die + +} + +src_install() { + insinto "${dir}" + doins -r pb base || die "doins pb base" + + exeinto "${dir}" + doexe openurl.sh || die "openurl.sh" + doexe {etqw.x86,libCgx86.so,*.so.?} \ + || die "doexe x86 exes/libs" + + insinto "${dir}"/base + doins base/* || die "doins base" + + if use dedicated ; then + doexe etqwded.x86 || die "doexe etqwded.x86" + games_make_wrapper etqw-ded ./etqwded.x86 "${dir}" "${dir}" + fi + + if use opengl || ! use dedicated ; then + newicon etqw_icon.png etqw.png || die "doicon" + games_make_wrapper etqw "./etqw.x86" "${dir}" "${dir}" + make_desktop_entry etqw "Enemy Territory: Quake Wars" etqw.png + fi + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + if ! use cdinstall + then + elog "You need to copy pak00*.pk4, zpak_english000.pk4 and the megatextures" + elog "directory from either your installation media or your hard drive" + elog "to ${dir}/base before running the game." + echo + fi + + if use opengl || !use dedicated ; then + elog "To play the game, run: etqw" + echo + fi +} + diff --git a/games-fps/etqw-bin/metadata.xml b/games-fps/etqw-bin/metadata.xml new file mode 100644 index 0000000..fe08918 --- /dev/null +++ b/games-fps/etqw-bin/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-fps/etqw-data/ChangeLog b/games-fps/etqw-data/ChangeLog new file mode 100644 index 0000000..ef5d531 --- /dev/null +++ b/games-fps/etqw-data/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-fps/etqw-bin +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.23 2008/02/29 19:20:57 carlo Exp $ + + 12 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml: + Initial import. Original ebuild by Brandon Captain <caibbor@gmail.com> in + bug #198078 and modified by me. + diff --git a/games-fps/etqw-data/Manifest b/games-fps/etqw-data/Manifest new file mode 100644 index 0000000..ebee5c4 --- /dev/null +++ b/games-fps/etqw-data/Manifest @@ -0,0 +1,3 @@ +EBUILD etqw-data-1.0.ebuild 1242 RMD160 b5f29633119f2e5bbc90670fed6c75c83fefd737 SHA1 e794bed7c5bbfe7b6c4ea35158425e5728c91bc3 SHA256 39d8c4eef47546fa53e5199eb5571a00b67510aee9c4a4fedd536c9c25420834 +MISC ChangeLog 397 RMD160 520081dcf216d5223144b34f0960fafbaf5e6c74 SHA1 07646d3b325776c16675e645e7c1bc9bbe381e28 SHA256 fe91244aa35babe92f9a5271a5dd47774078c0cd5cc420f9fd93ef95ad000311 +MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 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 0000000..143ee73 --- /dev/null +++ b/games-fps/etqw-data/etqw-data-1.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild,v 1.2 2007/08/20 17:23:52 wolf31o2 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" +RESTRICT="" +IUSE="videos" + +S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/etqw +Ddir=${D}/${dir} + +#GAMES_CHECK_LICENSE="yes" + +pkg_setup() { + export CDROM_NAME_SET=("Existing Install" "Quake Wars CD") + cdrom_get_cds pak004.pk4:Setup/Data/base/zpak_english000.pk4 + + if [[ $CDROM_SET -ne 0 && $CDROM_SET -ne 1 ]] ; then + die "Error locating data files."; + fi +} + +src_install() { + insinto "${dir}"/base + + if [[ $CDROM_SET -eq 1 ]] ; then + ZPATH=${CDROM_ROOT}/Setup/Data/base/ + else + ZPATH=${CDROM_ROOT}/ + fi + + for i in zpak_english000.pk4 megatextures pak00*.pk4 + do + einfo "Copying ${i}..." + doins -r ${ZPATH}/${i} || die "unable to find/copy ${i}." + done + + if use videos ; then + einfo "Copying video..." + doins -r ${ZPATH}/video || die "unable to find/copy video file." + fi + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst +} + diff --git a/games-fps/etqw-data/metadata.xml b/games-fps/etqw-data/metadata.xml new file mode 100644 index 0000000..fe08918 --- /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>wolf31o2@gentoo.org</email> + <name>Chris Gianelloni</name> +</maintainer> +</pkgmetadata> diff --git a/profiles/categories b/profiles/categories new file mode 100644 index 0000000..269e05b --- /dev/null +++ b/profiles/categories @@ -0,0 +1 @@ +games-fps diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..84d4140 --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +games |