diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-01-26 04:02:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-01-26 04:02:30 +0000 |
commit | 34f9a39de0bd2da775eb014e61e5164cd310d04b (patch) | |
tree | a65cd017a0b52ec37965f550245bed78ff7d9e65 /games-strategy | |
parent | Sign Manfiest (diff) | |
download | gentoo-2-34f9a39de0bd2da775eb014e61e5164cd310d04b.tar.gz gentoo-2-34f9a39de0bd2da775eb014e61e5164cd310d04b.tar.bz2 gentoo-2-34f9a39de0bd2da775eb014e61e5164cd310d04b.zip |
version bump (patch from nedrandersoff@yahoo.com) - bug #158640
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/uqm/ChangeLog | 9 | ||||
-rw-r--r-- | games-strategy/uqm/files/digest-uqm-0.5.0 | 14 | ||||
-rw-r--r-- | games-strategy/uqm/files/digest-uqm-0.6.2 | 21 | ||||
-rw-r--r-- | games-strategy/uqm/uqm-0.6.2.ebuild | 123 |
4 files changed, 165 insertions, 2 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog index 1a5aeff4c7cb..dcdfda18c606 100644 --- a/games-strategy/uqm/ChangeLog +++ b/games-strategy/uqm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/uqm -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.16 2006/12/12 17:23:48 wolf31o2 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.17 2007/01/26 04:02:30 mr_bones_ Exp $ + +*uqm-0.6.2 (26 Jan 2007) + + 26 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org> +uqm-0.6.2.ebuild: + version bump (patch from nedrandersoff@yahoo.com) - bug #158640 12 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> uqm-0.5.0.ebuild: Fixed compilation on amd64 with a patch from Lukasz Demianiuk diff --git a/games-strategy/uqm/files/digest-uqm-0.5.0 b/games-strategy/uqm/files/digest-uqm-0.5.0 index 612657113888..9a534867de22 100644 --- a/games-strategy/uqm/files/digest-uqm-0.5.0 +++ b/games-strategy/uqm/files/digest-uqm-0.5.0 @@ -1,7 +1,21 @@ MD5 a20cacc8e66f5ff1fdf5e1d3a3b93fd2 uqm-0.5.0-3domusic.uqm 18980071 +RMD160 68056bac27534e6db49c1e34922d38c5f368dbb9 uqm-0.5.0-3domusic.uqm 18980071 +SHA256 c3e72569720d1e17ab2d08301d9dc90f2c4ab272811c488e18f878f38b84cac8 uqm-0.5.0-3domusic.uqm 18980071 MD5 1d03864b141a2626a7284bc7cfdefb47 uqm-0.5.0-content.uqm 11584345 +RMD160 cc380c40224deb421d7f3cb65ebacdce8e647514 uqm-0.5.0-content.uqm 11584345 +SHA256 060a0da6aedc231c11714a7a2174831f0cd6345075c80e682a8ff50f1f6cedc6 uqm-0.5.0-content.uqm 11584345 MD5 9002b1bc2de9285588dd97b618a867a7 uqm-0.5.0-source.tar.gz 1267039 +RMD160 8737d2516c0110f76e6af348d5c11e90b9029b81 uqm-0.5.0-source.tar.gz 1267039 +SHA256 bdb715784bf0c94825cf40f97c60a5ec83fd3e17e9e186a78cd145781c4d9804 uqm-0.5.0-source.tar.gz 1267039 MD5 52a084cfaa0bc7fcc63a295feb8cbd28 uqm-0.5.0-voice.uqm 114823413 +RMD160 505d13efbb5bf5e07d27227c27b57258b8edaf57 uqm-0.5.0-voice.uqm 114823413 +SHA256 8ddbfe831cc20eac78c8153d1c706516fe97126612f9384f02d31be90480ae0c uqm-0.5.0-voice.uqm 114823413 MD5 2df402b2951c0187604a81c3997fbb9d uqm-remix-pack1.zip 50188123 +RMD160 1c0cf233d6377918b676bcd591f4304b8da85aa1 uqm-remix-pack1.zip 50188123 +SHA256 1b9ccc799e531f50580952af92b342fb6684ae97b7bdc434f3b7e22d0c230644 uqm-remix-pack1.zip 50188123 MD5 d5a9fb72b369bf5a5dbca3db9f1e1ea3 uqm-remix-pack2.zip 60281175 +RMD160 441edc71e3006e43629ee262fef8ef8676573832 uqm-remix-pack2.zip 60281175 +SHA256 1dff1792a558a52eb5cbdf24e0c1b8b7ec85aff75a00ddb403ec988607f51dd0 uqm-remix-pack2.zip 60281175 MD5 567bc2d9e3ca067d21170c5ac5538441 uqm-remix-pack3.zip 39923803 +RMD160 786e8dfd7924abf6ef886e7223c1d57b0740d524 uqm-remix-pack3.zip 39923803 +SHA256 4e347d52279785eba4ba5355beae63048ce3b550db3181d4d55df6a20361682d uqm-remix-pack3.zip 39923803 diff --git a/games-strategy/uqm/files/digest-uqm-0.6.2 b/games-strategy/uqm/files/digest-uqm-0.6.2 new file mode 100644 index 000000000000..378e81c39b7e --- /dev/null +++ b/games-strategy/uqm/files/digest-uqm-0.6.2 @@ -0,0 +1,21 @@ +MD5 a20cacc8e66f5ff1fdf5e1d3a3b93fd2 uqm-0.6.0-3domusic.uqm 18980071 +RMD160 68056bac27534e6db49c1e34922d38c5f368dbb9 uqm-0.6.0-3domusic.uqm 18980071 +SHA256 c3e72569720d1e17ab2d08301d9dc90f2c4ab272811c488e18f878f38b84cac8 uqm-0.6.0-3domusic.uqm 18980071 +MD5 7e8f0ed8490e24231431420ea2ba6a03 uqm-0.6.0-content.uqm 11580000 +RMD160 d56d06c377e44288d5bd41f8d68d59c87b58ccdb uqm-0.6.0-content.uqm 11580000 +SHA256 727679a66351d435c1a3c53ca3d2e87079f1f05c09fa0748035ed68fff1cd63d uqm-0.6.0-content.uqm 11580000 +MD5 d31577b896be935cc2238afd07299b8b uqm-0.6.0-voice.uqm 114823409 +RMD160 3a6f2404d7bfeeb2bcb156c8010402579a0c58ab uqm-0.6.0-voice.uqm 114823409 +SHA256 ee84c90873a996771ddfa2154640620e374366fffb51e18dfdfb4236050bc27a uqm-0.6.0-voice.uqm 114823409 +MD5 ba4ee595b62349873d510b9827e7648d uqm-0.6.2-source.tgz 1497342 +RMD160 3f36fdc750607fddb68d52195f079e31860020a7 uqm-0.6.2-source.tgz 1497342 +SHA256 d8d5e15b8eae2b4859eeee82edfca811fadef204c8c6e2112b8fe6aa4a396ea1 uqm-0.6.2-source.tgz 1497342 +MD5 2df402b2951c0187604a81c3997fbb9d uqm-remix-pack1.zip 50188123 +RMD160 1c0cf233d6377918b676bcd591f4304b8da85aa1 uqm-remix-pack1.zip 50188123 +SHA256 1b9ccc799e531f50580952af92b342fb6684ae97b7bdc434f3b7e22d0c230644 uqm-remix-pack1.zip 50188123 +MD5 d5a9fb72b369bf5a5dbca3db9f1e1ea3 uqm-remix-pack2.zip 60281175 +RMD160 441edc71e3006e43629ee262fef8ef8676573832 uqm-remix-pack2.zip 60281175 +SHA256 1dff1792a558a52eb5cbdf24e0c1b8b7ec85aff75a00ddb403ec988607f51dd0 uqm-remix-pack2.zip 60281175 +MD5 567bc2d9e3ca067d21170c5ac5538441 uqm-remix-pack3.zip 39923803 +RMD160 786e8dfd7924abf6ef886e7223c1d57b0740d524 uqm-remix-pack3.zip 39923803 +SHA256 4e347d52279785eba4ba5355beae63048ce3b550db3181d4d55df6a20361682d uqm-remix-pack3.zip 39923803 diff --git a/games-strategy/uqm/uqm-0.6.2.ebuild b/games-strategy/uqm/uqm-0.6.2.ebuild new file mode 100644 index 000000000000..c77244b838b7 --- /dev/null +++ b/games-strategy/uqm/uqm-0.6.2.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.6.2.ebuild,v 1.1 2007/01/26 04:02:30 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2" +HOMEPAGE="http://sc2.sourceforge.net/" +SRC_URI="mirror://sourceforge/sc2/${P}-source.tgz + mirror://sourceforge/sc2/${PN}-0.6.0-content.uqm + music? ( mirror://sourceforge/sc2/${PN}-0.6.0-3domusic.uqm ) + voice? ( mirror://sourceforge/sc2/${PN}-0.6.0-voice.uqm ) + remix? ( mirror://sourceforge/sc2/${PN}-remix-pack1.zip \ + mirror://sourceforge/sc2/${PN}-remix-pack2.zip \ + mirror://sourceforge/sc2/${PN}-remix-pack3.zip )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc x86" +IUSE="music opengl remix voice" + +RDEPEND="media-libs/libvorbis + media-libs/jpeg + media-libs/libpng + >=media-libs/libsdl-1.2.8 + >=media-libs/sdl-image-1.2.4 + media-libs/libogg + media-libs/libvorbis + sys-libs/zlib" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_unpack() { + local myopengl + + unpack ${P}-source.tgz + cd "${S}" + + # Because the new 0.6.* source archives have + # everything in a subdir called "sc2". This, + # I have found, is the simplest way to get + # around that problem. (That doesn't change + # the fact that the rest of this ebuild is + # very nasty. I was not able to clean it up.) + mv ./sc2/* ./ + + use opengl \ + && myopengl=opengl \ + || myopengl=pure + + cat <<-EOF > config.state + CHOICE_debug_VALUE='nodebug' + CHOICE_graphics_VALUE='${myopengl}' + CHOICE_sound_VALUE='mixsdl' + CHOICE_accel_VALUE='plainc' + INPUT_install_prefix_VALUE='${GAMES_PREFIX}' + INPUT_install_bindir_VALUE='\$prefix/bin' + INPUT_install_libdir_VALUE='\$prefix/lib' + INPUT_install_sharedir_VALUE='${GAMES_DATADIR}/' + EOF + + # Take out the read so we can be non-interactive. + sed -i \ + -e '/read CHOICE/d' build/unix/menu_functions \ + || die "sed menu_functions failed" + + # support the user's CFLAGS. + sed -i \ + -e "s/-O3/${CFLAGS}/" build/unix/build.config \ + || die "sed build.config failed" +} + +src_compile() { + ./build.sh uqm || die "build failed" +} + +src_install() { + # Using the included install scripts seems quite painful. + # This manual install is totally fragile but maybe they'll + # use a sane build system for the next release. + newgamesbin uqm-wrapper uqm || die "newgamesbin failed" + exeinto "${GAMES_LIBDIR}/${PN}" + echo "${GAMES_LIBDIR}/${PN}" + ls "${GAMES_LIBDIR}/${PN}" + doexe uqm || die "doexe failed" + + insinto "${GAMES_DATADIR}/${PN}/content/packages" + doins "${DISTDIR}"/${PN}-0.6.0-content.uqm || die "doins failed" + echo ${P} > "${D}${GAMES_DATADIR}"/${PN}/content/version \ + || die "creating version file failed" + + insinto "${GAMES_DATADIR}/${PN}/content/packages" + if use music; then + doins "${DISTDIR}"/${PN}-0.6.0-3domusic.uqm || die "doins failed" + fi + + if use voice; then + doins "${DISTDIR}"/${PN}-0.6.0-voice.uqm || die "doins failed" + fi + + if use remix; then + insinto "${GAMES_DATADIR}"/${PN}/content/packages/addons/uqmremix + doins "${DISTDIR}"/${PN}-remix-pack{1,2,3}.zip || die "doins failed" + fi + + dodoc AUTHORS ChangeLog Contributing README WhatsNew doc/users/manual.txt + docinto devel + dodoc doc/devel/* + make_desktop_entry uqm "The Ur-Quan Masters" + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if use remix ; then + echo + einfo "To hear all the remixed music made by the The Ur-Quan Masters" + einfo "project's Precursors Team instead of the original ones," + einfo "start the game with:" + einfo " --addon uqmremix" + echo + fi +} |