diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-01-25 08:33:20 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-01-25 08:33:20 +0000 |
commit | 8b97f74fbc7d7d69e572a08467ffe04a9d151ad4 (patch) | |
tree | f4c33bf894c8ce39232b9432deaafee9756a277c /games-fps | |
parent | +games-fps/worldofpadman:maps (diff) | |
download | gentoo-2-8b97f74fbc7d7d69e572a08467ffe04a9d151ad4.tar.gz gentoo-2-8b97f74fbc7d7d69e572a08467ffe04a9d151ad4.tar.bz2 gentoo-2-8b97f74fbc7d7d69e572a08467ffe04a9d151ad4.zip |
Initial commit, bug #173015
(Portage version: 2.1.4)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/worldofpadman/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/worldofpadman/Manifest | 19 | ||||
-rw-r--r-- | games-fps/worldofpadman/files/digest-worldofpadman-1.2 | 12 | ||||
-rw-r--r-- | games-fps/worldofpadman/metadata.xml | 5 | ||||
-rw-r--r-- | games-fps/worldofpadman/worldofpadman-1.2.ebuild | 73 |
5 files changed, 119 insertions, 0 deletions
diff --git a/games-fps/worldofpadman/ChangeLog b/games-fps/worldofpadman/ChangeLog new file mode 100644 index 000000000000..886a377a43bf --- /dev/null +++ b/games-fps/worldofpadman/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-fps/worldofpadman +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/worldofpadman/ChangeLog,v 1.1 2008/01/25 08:33:19 nyhm Exp $ + +*worldofpadman-1.2 (25 Jan 2008) + + 25 Jan 2008; Tristan Heaven <nyhm@gentoo.org> +metadata.xml, + +worldofpadman-1.2.ebuild: + Initial commit, bug #173015 + diff --git a/games-fps/worldofpadman/Manifest b/games-fps/worldofpadman/Manifest new file mode 100644 index 000000000000..e0cf05f3a93b --- /dev/null +++ b/games-fps/worldofpadman/Manifest @@ -0,0 +1,19 @@ +DIST wop-engine-1.2.tar.bz2 6083105 RMD160 dc9fc47072ab32f8219b050db58b3e730c7f34b8 SHA1 9b9da3e7526043df941cac29f6b58ce7a93c6542 SHA256 23d7c68736796a1566fdb2b4398c18420fbceaaa9e9c385a0332cda2788fa976 +DIST wop_padpack.zip 60771258 RMD160 264f24ea2b12dc6b5c999d52bced15c6407737dc SHA1 75b55fd5c32a018893a9e09d5460630d4c550fd4 SHA256 5737079b80fec3ed9d9eb7097b5861ce489a70e2313619025ba724a6be90fa1f +DIST wop_patch_1_2.run 72187892 RMD160 8da168113f37e57f15bda46586be0573770c6d4d SHA1 7dbbbd6576b39f234ff46a927713c7a6c2c9c807 SHA256 6aa682063a36177f1c5d663259c2516bc555cc976e3caaeaa30f8a77b3954930 +DIST worldofpadman.run 576952895 RMD160 314b16ef92346e9ff25da39b2fcf148f5423c9a3 SHA1 cd6e37bf6148fbd7a2f1553d6c52bd9aa7c6193f SHA256 35ca142d9f212ac25781f2a28ae4a60180c9e93dcd0acee7d2125bf49871582d +EBUILD worldofpadman-1.2.ebuild 1905 RMD160 9bc8965a10255df17e901e17b2c388d83fa23fa7 SHA1 e82e2c3755f896556be146aa211f0eb065fd898d SHA256 c681be7d68f4e7835f0da8dd411ab66078ae6601fee85c7a6e9b6050b75ededd +MD5 37e490c37c9a0d27ef6dbd80aa94532c worldofpadman-1.2.ebuild 1905 +RMD160 9bc8965a10255df17e901e17b2c388d83fa23fa7 worldofpadman-1.2.ebuild 1905 +SHA256 c681be7d68f4e7835f0da8dd411ab66078ae6601fee85c7a6e9b6050b75ededd worldofpadman-1.2.ebuild 1905 +MISC ChangeLog 281 RMD160 163ef9e6ece356b9e1e154e30d56cb8c6c865822 SHA1 9ba4b3b62a9799bf30dc9e064208f68023b28390 SHA256 6d6a3257c6484b987ea90f515b71fbe81024551b3a2542ca340f827c13ea72c8 +MD5 d1e155b410f5f9e4bb54a1ef73f5e098 ChangeLog 281 +RMD160 163ef9e6ece356b9e1e154e30d56cb8c6c865822 ChangeLog 281 +SHA256 6d6a3257c6484b987ea90f515b71fbe81024551b3a2542ca340f827c13ea72c8 ChangeLog 281 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 e5dca5179c63868ea46fe8c77cae771f files/digest-worldofpadman-1.2 961 +RMD160 e3c7f45249efed779d9672dfe56e98250c8b1686 files/digest-worldofpadman-1.2 961 +SHA256 079821849fc0d0d3609766e35b1eebc0acb3b90132c738484b41833ca8158a2b files/digest-worldofpadman-1.2 961 diff --git a/games-fps/worldofpadman/files/digest-worldofpadman-1.2 b/games-fps/worldofpadman/files/digest-worldofpadman-1.2 new file mode 100644 index 000000000000..20eb6cfb6b38 --- /dev/null +++ b/games-fps/worldofpadman/files/digest-worldofpadman-1.2 @@ -0,0 +1,12 @@ +MD5 9c30e87859da61567213868b1e52d340 wop-engine-1.2.tar.bz2 6083105 +RMD160 dc9fc47072ab32f8219b050db58b3e730c7f34b8 wop-engine-1.2.tar.bz2 6083105 +SHA256 23d7c68736796a1566fdb2b4398c18420fbceaaa9e9c385a0332cda2788fa976 wop-engine-1.2.tar.bz2 6083105 +MD5 c59e212b29b28e0162af33dfb118344c wop_padpack.zip 60771258 +RMD160 264f24ea2b12dc6b5c999d52bced15c6407737dc wop_padpack.zip 60771258 +SHA256 5737079b80fec3ed9d9eb7097b5861ce489a70e2313619025ba724a6be90fa1f wop_padpack.zip 60771258 +MD5 3468fc91889795471bc68e35ea334614 wop_patch_1_2.run 72187892 +RMD160 8da168113f37e57f15bda46586be0573770c6d4d wop_patch_1_2.run 72187892 +SHA256 6aa682063a36177f1c5d663259c2516bc555cc976e3caaeaa30f8a77b3954930 wop_patch_1_2.run 72187892 +MD5 c7650414d7865ddac26ada6b3f7b8cc9 worldofpadman.run 576952895 +RMD160 314b16ef92346e9ff25da39b2fcf148f5423c9a3 worldofpadman.run 576952895 +SHA256 35ca142d9f212ac25781f2a28ae4a60180c9e93dcd0acee7d2125bf49871582d worldofpadman.run 576952895 diff --git a/games-fps/worldofpadman/metadata.xml b/games-fps/worldofpadman/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-fps/worldofpadman/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-fps/worldofpadman/worldofpadman-1.2.ebuild b/games-fps/worldofpadman/worldofpadman-1.2.ebuild new file mode 100644 index 000000000000..a024baf509a4 --- /dev/null +++ b/games-fps/worldofpadman/worldofpadman-1.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/worldofpadman/worldofpadman-1.2.ebuild,v 1.1 2008/01/25 08:33:19 nyhm Exp $ + +inherit eutils toolchain-funcs games + +MY_P=wop-engine-${PV} +DESCRIPTION="A cartoon style multiplayer first-person shooter" +HOMEPAGE="http://worldofpadman.com/" +SRC_URI="ftp://kickchat.com/wop/${MY_P}.tar.bz2 + ftp://kickchat.com/wop/wop_patch_${PV/./_}.run + http://thilo.kickchat.com/download/${PN}.run + maps? ( http://thilo.kickchat.com/download/wop_padpack.zip )" + +LICENSE="GPL-2 worldofpadman" +SLOT="0" +KEYWORDS="~x86" +IUSE="dedicated maps opengl" + +UIDEPEND="virtual/opengl + media-libs/openal + media-libs/libsdl + media-libs/libogg + media-libs/libvorbis + net-misc/curl" +RDEPEND="opengl? ( ${UIDEPEND} ) + !opengl? ( !dedicated? ( ${UIDEPEND} ) )" +DEPEND="${RDEPEND} + maps? ( app-arch/unzip )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_P}.tar.bz2 + unpack_makeself ${PN}.run + unpack_makeself wop_patch_1_2.run + unpack ./readme.tar + mkdir wop + cd wop + unpack ./../wop-data.tar + unpack ./../wop-data-${PV}.tar + use dedicated && unpack ./../extras.tar || rm -f *.cfg + use maps && unpack wop_padpack.zip +} + +src_compile() { + emake \ + BUILD_CLIENT=$(use opengl || ! use dedicated && echo 1 || echo 0) \ + BUILD_SERVER=$(use dedicated && echo 1 || echo 0) \ + CC="$(tc-getCC)" \ + ARCH=$(tc-arch-kernel) \ + OPTIMIZE= \ + DEFAULT_BASEDIR="${GAMES_DATADIR}"/${PN} \ + || die "emake failed" +} + +src_install() { + cd build/release-* + if use opengl || ! use dedicated ; then + newgamesbin wop-engine.* ${PN} || die "newgamesbin ${PN} failed" + newicon "${WORKDIR}"/wop.png ${PN}.png + make_desktop_entry ${PN} "World of Padman" + fi + if use dedicated ; then + newgamesbin wopded.* ${PN}-ded || die "newgamesbin ${PN}-ded failed" + fi + cd "${WORKDIR}" + insinto "${GAMES_DATADIR}"/${PN} + doins -r wop || die "doins failed" + dohtml -r readme readme.html + dodoc wop_patch_*.txt + prepgamesdirs +} |