diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-10-24 18:59:46 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-10-24 18:59:46 +0000 |
commit | cfd67957b75c674fef4493a06c435e088b7608a2 (patch) | |
tree | b38d80103a87ab8ce541b32c8b0531bb84595acf /games-fps/quake4-bin | |
parent | Added cdinstall for quake4-bin. (diff) | |
download | gentoo-2-cfd67957b75c674fef4493a06c435e088b7608a2.tar.gz gentoo-2-cfd67957b75c674fef4493a06c435e088b7608a2.tar.bz2 gentoo-2-cfd67957b75c674fef4493a06c435e088b7608a2.zip |
Initial import. Ebuilds by me. Closing bug #109825.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'games-fps/quake4-bin')
-rw-r--r-- | games-fps/quake4-bin/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/quake4-bin/Manifest | 2 | ||||
-rw-r--r-- | games-fps/quake4-bin/files/digest-quake4-bin-1.0.2147.12 | 1 | ||||
-rw-r--r-- | games-fps/quake4-bin/metadata.xml | 22 | ||||
-rw-r--r-- | games-fps/quake4-bin/quake4-bin-1.0.2147.12.ebuild | 93 |
5 files changed, 128 insertions, 0 deletions
diff --git a/games-fps/quake4-bin/ChangeLog b/games-fps/quake4-bin/ChangeLog new file mode 100644 index 000000000000..3e2a3fc43f4e --- /dev/null +++ b/games-fps/quake4-bin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-fps/quake4-bin +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.1 2005/10/24 18:59:46 wolf31o2 Exp $ + +*quake4-bin-1.0.2147.12 (24 Oct 2005) + + 24 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml, + +quake4-bin-1.0.2147.12.ebuild: + Initial import. Ebuilds by me. Closing bug #109825. + diff --git a/games-fps/quake4-bin/Manifest b/games-fps/quake4-bin/Manifest new file mode 100644 index 000000000000..97467be4fcf2 --- /dev/null +++ b/games-fps/quake4-bin/Manifest @@ -0,0 +1,2 @@ +MD5 fd1fca5af283abd467acdf1d637f68b3 files/digest-quake4-bin-1.0.2147.12 79 +MD5 aa746227e4def49bdac24d5f0add7005 quake4-bin-1.0.2147.12.ebuild 2667 diff --git a/games-fps/quake4-bin/files/digest-quake4-bin-1.0.2147.12 b/games-fps/quake4-bin/files/digest-quake4-bin-1.0.2147.12 new file mode 100644 index 000000000000..ce00fd977f48 --- /dev/null +++ b/games-fps/quake4-bin/files/digest-quake4-bin-1.0.2147.12 @@ -0,0 +1 @@ +MD5 96ac1b993dafe5d255a7ee85d07187db quake4-linux-1.0.2147.12.x86.run 19216927 diff --git a/games-fps/quake4-bin/metadata.xml b/games-fps/quake4-bin/metadata.xml new file mode 100644 index 000000000000..c833f8d5ea1f --- /dev/null +++ b/games-fps/quake4-bin/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription> +In a desparate war for Earth's survival against and unrelenting alient enemy, +the only way to defeat them is to become one of them. + +Earth is under seige by the Strogg, a barbaric alien race moving through the +universe consuming, recycling and annihilating any civilization in their path. +In a deperate attempt to survive, an armada of Earth's finest warriors is sent +to take the battle to the Strogg home planet. + +You are Matthow Kane, an elite member of Rhino Squad and Eath's valiant invasion +force. Fight alone, with your squad, or in hover tanks and mechanized walkers +as you engage in a heroic mission the the heart of the Strogg war machine. + +Quake 4 is the fourth installment of the extremely popular and successful Quake +series by id software. This game is commercial software, and requires the data +from a retail copy of the game to play. +</longdescription> +</pkgmetadata> diff --git a/games-fps/quake4-bin/quake4-bin-1.0.2147.12.ebuild b/games-fps/quake4-bin/quake4-bin-1.0.2147.12.ebuild new file mode 100644 index 000000000000..e260232e0f04 --- /dev/null +++ b/games-fps/quake4-bin/quake4-bin-1.0.2147.12.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2005 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.0.2147.12.ebuild,v 1.1 2005/10/24 18:59:46 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter" +HOMEPAGE="http://www.quake4.com/" +SRC_URI="mirror://3dgamers/quake4/quake4-linux-${PV}.x86.run + ftp://ftp.idsoftware.com/idstuff/quake4/linux/quake4-linux-${PV}.x86.run + ftp://dl.xs4all.nl/pub/mirror/idsoftware/idstuff/quake4/linux/quake4-linux-${PV}.x86.run + http://filebase.gmpf.de/quake4/quake4-linux-${PV}.x86.run + http://www.holarse.de/mirror/quake4-linux-${PV}.x86.run" + +LICENSE="QUAKE4" +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +IUSE="cdinstall alsa opengl dedicated" +RESTRICT="nostrip" + +DEPEND="app-arch/bzip2 + app-arch/tar" +RDEPEND="sys-libs/glibc + !amd64? ( media-libs/libsdl ) + amd64? ( app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-xlibs ) + opengl? ( virtual/opengl ) + dedicated? ( app-misc/screen ) + alsa? ( >=media-libs/alsa-lib-1.0.6 ) + cdinstall? ( games-fps/quake4-data )" + +S=${WORKDIR} + +GAMES_CHECK_LICENSE="yes" +dir=${GAMES_PREFIX_OPT}/quake4 +Ddir=${D}/${dir} + +src_unpack() { + unpack_makeself quake4-linux-${PV}.x86.run +} + +src_install() { + insinto "${dir}" + doins License.txt README q4icon.bmp us/version.info # CHANGES + exeinto "${dir}" + doexe openurl.sh || die "openurl.sh" + if use x86; then + doexe bin/Linux/x86/quake4.x86 bin/Linux/x86/q4ded.x86 \ + bin/Linux/x86/libgcc_s.so.1 bin/Linux/x86/libstdc++.so.5 \ + || die "doexe x86 exes/libs" + elif use amd64; then + doexe bin/Linux/x86_64/quake4.x86 bin/Linux/x86_64/q4ded.x86 \ + bin/Linux/x86_64/libgcc_s.so.1 bin/Linux/x86_64/libstdc++.so.5 \ + || die "doexe amd64 exes/libs" + else + die "Cannot copy executables!" + fi + + insinto "${dir}"/pb + doins pb/* || die "doins pb" + insinto "${dir}"/q4base + if use dedicated + then + doins q4base/* || die "doins q4base" + games_make_wrapper quake4-ded ./q4ded.x86 "${dir}" "${dir}" + else + doins q4base/game100.pk4 || die "doins q4base" + fi + doins us/q4base/* || die "installing us/q4base/*" + + if use opengl + then + games_make_wrapper quake4 ./quake4.x86 "${dir}" "${dir}" + newicon q4icon.bmp quake4.bmp || die "copying icon" + make_desktop_entry quake4 "Quake IV" quake4.bmp + fi + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + if ! use cdinstall; then + einfo "You need to copy pak001.pk4 through pak012.pk4, along with" + einfo "zpak*.pk4 from either your installation media or your hard drive" + einfo "to ${dir}/q4base before running the game." + fi + echo + einfo "To play the game run:" + einfo " quake4" + echo +} |