diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-06-03 21:39:59 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-06-03 21:39:59 +0000 |
commit | 36a8822a5ec32426f6b7d7a0b585d1b493d78552 (patch) | |
tree | f9b1c2f8145b821d2f3fff452371e298ee739460 /games-fps/alephone | |
parent | Push back to ~x86 (diff) | |
download | historical-36a8822a5ec32426f6b7d7a0b585d1b493d78552.tar.gz historical-36a8822a5ec32426f6b7d7a0b585d1b493d78552.tar.bz2 historical-36a8822a5ec32426f6b7d7a0b585d1b493d78552.zip |
Wrapper rewritten, bug #135428
Package-Manager: portage-2.1_rc3-r4
Diffstat (limited to 'games-fps/alephone')
-rw-r--r-- | games-fps/alephone/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/alephone/Manifest | 25 | ||||
-rw-r--r-- | games-fps/alephone/alephone-20060506-r1.ebuild | 79 | ||||
-rw-r--r-- | games-fps/alephone/files/alephone.sh | 28 | ||||
-rw-r--r-- | games-fps/alephone/files/digest-alephone-20060506-r1 | 3 |
5 files changed, 135 insertions, 8 deletions
diff --git a/games-fps/alephone/ChangeLog b/games-fps/alephone/ChangeLog index db00ab8b1a87..49f68d5aa7d5 100644 --- a/games-fps/alephone/ChangeLog +++ b/games-fps/alephone/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-fps/alephone # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.10 2006/06/02 23:19:08 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.11 2006/06/03 21:39:59 tupone Exp $ + +*alephone-20060506-r1 (03 Jun 2006) + + 03 Jun 2006; <Tupone@gentoo.org> +files/alephone.sh, + +alephone-20060506-r1.ebuild: + Wrapper rewritten, bug #135428 by Ben Urban *alephone-20060506 (02 Jun 2006) diff --git a/games-fps/alephone/Manifest b/games-fps/alephone/Manifest index bda13915e8d6..eda44d6ae8a8 100644 --- a/games-fps/alephone/Manifest +++ b/games-fps/alephone/Manifest @@ -9,6 +9,10 @@ AUX alephone.png 13265 RMD160 8ca279c5728cf4bfc921ec73ed6f71f3c702e143 SHA1 ec24 MD5 b3bde37a338d65ac0dec3aa0ac7c2c22 files/alephone.png 13265 RMD160 8ca279c5728cf4bfc921ec73ed6f71f3c702e143 files/alephone.png 13265 SHA256 7dedb153b22827d64c1f3462fa6646eb9bd7b8ec1feb1a2e34be2f74e81b42af files/alephone.png 13265 +AUX alephone.sh 442 RMD160 f5bf19e2752d356e51fa886dbad9fedfe12f9d34 SHA1 317ab6a122227e30cd1d508e3957e27b8cafa9bd SHA256 03d4eaec18bed5fd909604ff7efbcf4ba737a2cc76ca80161bdcb4bdf527d8b9 +MD5 473136ba399c9eed9cb6c0ed6d11ee5a files/alephone.sh 442 +RMD160 f5bf19e2752d356e51fa886dbad9fedfe12f9d34 files/alephone.sh 442 +SHA256 03d4eaec18bed5fd909604ff7efbcf4ba737a2cc76ca80161bdcb4bdf527d8b9 files/alephone.sh 442 DIST AlephOne-20051119.tar.gz 6519469 RMD160 0675864a66e0e945e6909291dd3a40fe6af35045 SHA1 5361e9497646693fe00f87cbac294be05177e14b SHA256 0f6dcb1acd153babc3905b18bf460eca7a62a29ba963a812015510d0fa9d9752 DIST AlephOne-20060506.tar.gz 6272060 RMD160 857f0534dd1387fcac4dd9a10628a6250666a970 SHA1 37efd3e14e3b383cc4a1e5b028314db4497423e6 SHA256 4ab9630ae8e0bb76429d82793c70035c9d1d2a2eeea6abcbccd82e0b7940e402 DIST aleph-20050118.tar.bz2 2324962 RMD160 663e3923e261a28af1dac6c25f37c44be8e0e941 SHA1 9471e3c582de22a430073ef17d561157c26f9f7d SHA256 5b648a629ecf47474c86147f4a60810b0903ce75895ca2ec7b23439069ea9c0b @@ -20,14 +24,18 @@ EBUILD alephone-20051119.ebuild 2859 RMD160 bb61b93fcee1f69ffe50a47994a2724614bd MD5 7dd1b5e286010443f49627e2007aa568 alephone-20051119.ebuild 2859 RMD160 bb61b93fcee1f69ffe50a47994a2724614bd315e alephone-20051119.ebuild 2859 SHA256 bff27e1ce64876aa854da53d82ce1fd390a8b0301c0a1964a68b54521f22d188 alephone-20051119.ebuild 2859 +EBUILD alephone-20060506-r1.ebuild 2123 RMD160 e77c2657ed040603239ebef6811ca79e68b8b34f SHA1 df1847adba44e3f6056b23e65979fa3e99c246d7 SHA256 60f09641003f9d0eb3d85e4d51941b2f08f6168b678a6a85a87fe4eb71f6a99a +MD5 80c903c6599b80a545ca3cad7c6f67c1 alephone-20060506-r1.ebuild 2123 +RMD160 e77c2657ed040603239ebef6811ca79e68b8b34f alephone-20060506-r1.ebuild 2123 +SHA256 60f09641003f9d0eb3d85e4d51941b2f08f6168b678a6a85a87fe4eb71f6a99a alephone-20060506-r1.ebuild 2123 EBUILD alephone-20060506.ebuild 2916 RMD160 e859796cdc25e3df259e9647edc1a6fb7c8d2f04 SHA1 4611bb212346e0ef064537387333e2ed554532d3 SHA256 ac512a81666a17c260ac42397d7aab76daea695fe4f4205da22025e3364359ef MD5 59a84f525554f1899088733bf24fb3d1 alephone-20060506.ebuild 2916 RMD160 e859796cdc25e3df259e9647edc1a6fb7c8d2f04 alephone-20060506.ebuild 2916 SHA256 ac512a81666a17c260ac42397d7aab76daea695fe4f4205da22025e3364359ef alephone-20060506.ebuild 2916 -MISC ChangeLog 1667 RMD160 c89f8a85534d1b802cc21db800f907ffbee02e9c SHA1 7f972e980eaa8e3e3e38c2b28fb4a9b4255753a3 SHA256 2f06b6f54c5bbc04a58fc95129e19f9676877b60cf3425e0a651ec7135c304a7 -MD5 ba6a951e0cdfa31685f5cdf8d54805ed ChangeLog 1667 -RMD160 c89f8a85534d1b802cc21db800f907ffbee02e9c ChangeLog 1667 -SHA256 2f06b6f54c5bbc04a58fc95129e19f9676877b60cf3425e0a651ec7135c304a7 ChangeLog 1667 +MISC ChangeLog 1838 RMD160 c75c4ab6a96304216e8900e7a31cdb7ecc160d61 SHA1 c5791b3760fcc036e910f2df484bd6ae6dc76fef SHA256 0c38194b8e679430cffe131591151b9cee9bb5c55c5ecc61093dfe752ac1ae02 +MD5 3c6bc3cd34f2b1b841198d2d2ef6420c ChangeLog 1838 +RMD160 c75c4ab6a96304216e8900e7a31cdb7ecc160d61 ChangeLog 1838 +SHA256 0c38194b8e679430cffe131591151b9cee9bb5c55c5ecc61093dfe752ac1ae02 ChangeLog 1838 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -41,10 +49,13 @@ SHA256 4bb5f1386c728f28029361ce055c6ec31d0ca1a12e02ae431699e4671d2456b0 files/di MD5 041b7dca64c9d3e73d031055d549da29 files/digest-alephone-20060506 256 RMD160 5414c332d8d805aea12d5b0b90e1161d4bbcf095 files/digest-alephone-20060506 256 SHA256 5baaf8de17fb6a5e4042a8740ac0f2513a582341095d45308d3f8d3ab7d5cb8e files/digest-alephone-20060506 256 +MD5 041b7dca64c9d3e73d031055d549da29 files/digest-alephone-20060506-r1 256 +RMD160 5414c332d8d805aea12d5b0b90e1161d4bbcf095 files/digest-alephone-20060506-r1 256 +SHA256 5baaf8de17fb6a5e4042a8740ac0f2513a582341095d45308d3f8d3ab7d5cb8e files/digest-alephone-20060506-r1 256 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEgMd62CTtIKiFlQIRAlFQAJwOxverI8hFmpE4ojd+4rvuniLceQCfW46S -2mQXqm6zUHp8SzWK1ZOkgxQ= -=YQVp +iD8DBQFEggHE2CTtIKiFlQIRAtO4AKC+naFx+aPRsupPiU3fzYqP6/AExACfekmG +Qi7S8OWHtA8Lqp9htrbRUgk= +=Qhu/ -----END PGP SIGNATURE----- diff --git a/games-fps/alephone/alephone-20060506-r1.ebuild b/games-fps/alephone/alephone-20060506-r1.ebuild new file mode 100644 index 000000000000..abf8ce1ca43e --- /dev/null +++ b/games-fps/alephone/alephone-20060506-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20060506-r1.ebuild,v 1.1 2006/06/03 21:39:59 tupone Exp $ + +inherit eutils games + +DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon" +HOMEPAGE="http://source.bungie.org/" +SRC_URI="mirror://sourceforge/marathon/AlephOne-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="lua opengl speex" + +DEPEND="lua? ( dev-lang/lua ) + opengl? ( virtual/opengl ) + speex? ( media-libs/speex ) + dev-libs/boost + >=media-libs/libsdl-1.2 + media-libs/sdl-image + media-libs/sdl-net" + +S=${WORKDIR}/AlephOne-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + cp ${FILESDIR}/alephone.png ./ + cp ${FILESDIR}/alephone.sh ./ + sed -i -e "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \ + alephone.sh || die +} + +src_compile() { + egamesconf \ + --disable-dependency-tracking \ + $(use_enable opengl) || die + if ! use lua ; then + # stupid configure script doesnt have an option + dosed -i \ + -e '/HAVE_LUA/d' config.h \ + || die "sed HAVE_LUA" + dosed -i \ + -e '/^LIBS/s:-llua -llualib::' $(find -name Makefile) \ + || die "sed -llua" + fi + if ! use speex ; then + # stupid configure script doesnt have an option + dosed -i \ + -e '/SPEEX/d:' config.h \ + || die "sed SPEEX" + dosed -i \ + -e '/^LIBS/s:-lspeex::' $(find -name Makefile) \ + || die "sed -lspeex" + fi + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dogamesbin alephone.sh || die "failed to install wrapper" + dodoc AUTHORS README docs/Cheat_Codes + dohtml docs/MML.html + doicon alephone.png + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + echo + einfo "Read the docs and install the data files accordingly to play." + echo + einfo "If you only want to install one scenario, read" + einfo "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Single_scenario_3" + einfo "If you want to install multiple scenarios, read" + einfo "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Multiple_scenarios_3" + echo +} diff --git a/games-fps/alephone/files/alephone.sh b/games-fps/alephone/files/alephone.sh new file mode 100644 index 000000000000..62ac98f85770 --- /dev/null +++ b/games-fps/alephone/files/alephone.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +DIR=$(dirname "${0}") +CMD=$(basename "${0}") +ALEPHONE=${CMD%%.sh} + +if [[ -z "${1}" ]] +then + echo "Usage: ${0} SCENARIO FLAGS" + echo "Where SCENARIO is one of:" + for d in "GAMES_DATADIR"/alephone-* + do + echo " ${d##*/alephone-}" + done + exit 2 +fi + +export ALEPHONE_DATA="GAMES_DATADIR/alephone-${1}" + +shift + +# kill ARTS, because we're just that nice +if artsshell terminate 2> /dev/null +then + sleep 2 +fi + +"${DIR}"/"${ALEPHONE}" "$@" diff --git a/games-fps/alephone/files/digest-alephone-20060506-r1 b/games-fps/alephone/files/digest-alephone-20060506-r1 new file mode 100644 index 000000000000..01aa3fa7e522 --- /dev/null +++ b/games-fps/alephone/files/digest-alephone-20060506-r1 @@ -0,0 +1,3 @@ +MD5 7daead26056dfe33732cc8d5169ba489 AlephOne-20060506.tar.gz 6272060 +RMD160 857f0534dd1387fcac4dd9a10628a6250666a970 AlephOne-20060506.tar.gz 6272060 +SHA256 4ab9630ae8e0bb76429d82793c70035c9d1d2a2eeea6abcbccd82e0b7940e402 AlephOne-20060506.tar.gz 6272060 |