# 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
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST uqm-0.5.0-3domusic.uqm 18980071
-DIST uqm-0.5.0-content.uqm 11584345
-DIST uqm-0.5.0-source.tar.gz 1267039
-DIST uqm-0.5.0-voice.uqm 114823413
-DIST uqm-remix-pack1.zip 50188123
-DIST uqm-remix-pack2.zip 60281175
-DIST uqm-remix-pack3.zip 39923803
+DIST uqm-0.5.0-3domusic.uqm 18980071 RMD160 68056bac27534e6db49c1e34922d38c5f368dbb9 SHA1 9e4777c89d17f8b1c9ae2ea343c4497f0f181a5a SHA256 c3e72569720d1e17ab2d08301d9dc90f2c4ab272811c488e18f878f38b84cac8
+DIST uqm-0.5.0-content.uqm 11584345 RMD160 cc380c40224deb421d7f3cb65ebacdce8e647514 SHA1 68554522a3c084bd98366e15470fff8658cc16b0 SHA256 060a0da6aedc231c11714a7a2174831f0cd6345075c80e682a8ff50f1f6cedc6
+DIST uqm-0.5.0-source.tar.gz 1267039 RMD160 8737d2516c0110f76e6af348d5c11e90b9029b81 SHA1 c9275ce431ee283b8dcaefb017520a096e1dbc72 SHA256 bdb715784bf0c94825cf40f97c60a5ec83fd3e17e9e186a78cd145781c4d9804
+DIST uqm-0.5.0-voice.uqm 114823413 RMD160 505d13efbb5bf5e07d27227c27b57258b8edaf57 SHA1 99102231d9de42ef4eac92d2ae5fbc0814d4c1f3 SHA256 8ddbfe831cc20eac78c8153d1c706516fe97126612f9384f02d31be90480ae0c
+DIST uqm-0.6.0-3domusic.uqm 18980071 RMD160 68056bac27534e6db49c1e34922d38c5f368dbb9 SHA1 9e4777c89d17f8b1c9ae2ea343c4497f0f181a5a SHA256 c3e72569720d1e17ab2d08301d9dc90f2c4ab272811c488e18f878f38b84cac8
+DIST uqm-0.6.0-content.uqm 11580000 RMD160 d56d06c377e44288d5bd41f8d68d59c87b58ccdb SHA1 f4b374d2029f0e2d26c0eaf5ed97fd157b53e4f5 SHA256 727679a66351d435c1a3c53ca3d2e87079f1f05c09fa0748035ed68fff1cd63d
+DIST uqm-0.6.0-voice.uqm 114823409 RMD160 3a6f2404d7bfeeb2bcb156c8010402579a0c58ab SHA1 57d80fa068e812e8c5a415251000e870ff87d215 SHA256 ee84c90873a996771ddfa2154640620e374366fffb51e18dfdfb4236050bc27a
+DIST uqm-0.6.2-source.tgz 1497342 RMD160 3f36fdc750607fddb68d52195f079e31860020a7 SHA1 79e393ba8ad2c786d4e633ba855859dc039bacd2 SHA256 d8d5e15b8eae2b4859eeee82edfca811fadef204c8c6e2112b8fe6aa4a396ea1
+DIST uqm-remix-pack1.zip 50188123 RMD160 1c0cf233d6377918b676bcd591f4304b8da85aa1 SHA1 7cbdc87887ebebae5439c689fc5bd2ffa9460fc8 SHA256 1b9ccc799e531f50580952af92b342fb6684ae97b7bdc434f3b7e22d0c230644
+DIST uqm-remix-pack2.zip 60281175 RMD160 441edc71e3006e43629ee262fef8ef8676573832 SHA1 f1ebca44ff105f968d6fcf65df935926523b1c97 SHA256 1dff1792a558a52eb5cbdf24e0c1b8b7ec85aff75a00ddb403ec988607f51dd0
+DIST uqm-remix-pack3.zip 39923803 RMD160 786e8dfd7924abf6ef886e7223c1d57b0740d524 SHA1 f55d198c56a0963a6bb2f9c2fe04c4c475b25086 SHA256 4e347d52279785eba4ba5355beae63048ce3b550db3181d4d55df6a20361682d
EBUILD uqm-0.5.0.ebuild 3164 RMD160 4ba46ce1aa0233ff98d45eac209d8ba359617586 SHA1 f72a34c566fbda13dc7a6dc6c0b7d9b504203d6a SHA256 5bdf6083bd586bd85470a5573707177a23da50766fe4a977e6d82fd869c05c74
MD5 34a9e1525e1d92bb21f591c05ed66313 uqm-0.5.0.ebuild 3164
RMD160 4ba46ce1aa0233ff98d45eac209d8ba359617586 uqm-0.5.0.ebuild 3164
SHA256 5bdf6083bd586bd85470a5573707177a23da50766fe4a977e6d82fd869c05c74 uqm-0.5.0.ebuild 3164
-MISC ChangeLog 2175 RMD160 d916aa069b0132b715cc4d8c2f421806d196edf7 SHA1 2b7ac9ce0a17a3425063643b0e7bb158a95535fa SHA256 1d472b59b2c7becb78cc3344f822660c63c7b61cbfd680fe4792483bf12bcd9e
-MD5 2ec77543931bfb0e8d5f574c3f07b8c1 ChangeLog 2175
-RMD160 d916aa069b0132b715cc4d8c2f421806d196edf7 ChangeLog 2175
-SHA256 1d472b59b2c7becb78cc3344f822660c63c7b61cbfd680fe4792483bf12bcd9e ChangeLog 2175
+EBUILD uqm-0.6.2.ebuild 3538 RMD160 020636e10628bfc56720635ee4d2a63a2ab08237 SHA1 af35c82bcdd94d4b7dec54dd39d5d8af5c8ac690 SHA256 fcb39a40680332852d1b90522a436f4f8c72cfc746f3430ebd8b4d257727ab2c
+MD5 ec31062717debf269df7dcc2541d29b5 uqm-0.6.2.ebuild 3538
+RMD160 020636e10628bfc56720635ee4d2a63a2ab08237 uqm-0.6.2.ebuild 3538
+SHA256 fcb39a40680332852d1b90522a436f4f8c72cfc746f3430ebd8b4d257727ab2c uqm-0.6.2.ebuild 3538
+MISC ChangeLog 2343 RMD160 532e09fa23aceac9bdef1e2113eea7b2be9cacdb SHA1 9eb65ecf14369c36ff9a4eb1dc8933991ff8e36b SHA256 2c7ae3f4290b677c0ece94356a99769a2f841b1564af2f9eaa2ee80c7443bd9a
+MD5 885308e80934afc6f0e4a543d7dc9e19 ChangeLog 2343
+RMD160 532e09fa23aceac9bdef1e2113eea7b2be9cacdb ChangeLog 2343
+SHA256 2c7ae3f4290b677c0ece94356a99769a2f841b1564af2f9eaa2ee80c7443bd9a ChangeLog 2343
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 8124a223a881ec549870c2eee2b2d2ae files/digest-uqm-0.5.0 471
-RMD160 16afb9b22f75ad4d2067cdb0b8bfc125c6343b68 files/digest-uqm-0.5.0 471
-SHA256 85dee62c2ee939d47185941c8be645910bfabbd67024cc58d85313418d6ad3f6 files/digest-uqm-0.5.0 471
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFfuWqkT4lNIS36YERAt0qAKCwkTbaKoJc0bdH2VwIy8fFbnKH3ACfXCMV
-5qFPLBEK6Ky3hfFYL7Nuy24=
-=YATV
------END PGP SIGNATURE-----
+MD5 7322b4d6f95b778e2a7c1a674f9523b7 files/digest-uqm-0.5.0 1735
+RMD160 fbf4ad9a7c338b9b6c47ef02b70a4d3a4862a117 files/digest-uqm-0.5.0 1735
+SHA256 af804d4d1450cbd01d8018c94b20ab7aebc396c73b644ceca3858200c8474c58 files/digest-uqm-0.5.0 1735
+MD5 9d9ae46853f6a0c7cce4c2ad32c094cb files/digest-uqm-0.6.2 1726
+RMD160 db6c3040805973c607d6a5bdc03149008013bc21 files/digest-uqm-0.6.2 1726
+SHA256 b9cbad1a1c8652c32a33ccdc359e193f663d746ddcfcf1698940d969f80c3c86 files/digest-uqm-0.6.2 1726
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
--- /dev/null
+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
--- /dev/null
+# 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
+}