diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-27 04:12:25 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-27 04:12:25 +0000 |
commit | e715332a1b13692e79e604e91eeb50512e63647b (patch) | |
tree | 3412c3ffada964c77054f291d5448c9fc7c241ed /games-strategy/uqm | |
parent | Add basic evms2 start addon #50711 by Asbjorn Sannes. (diff) | |
download | gentoo-2-e715332a1b13692e79e604e91eeb50512e63647b.tar.gz gentoo-2-e715332a1b13692e79e604e91eeb50512e63647b.tar.bz2 gentoo-2-e715332a1b13692e79e604e91eeb50512e63647b.zip |
version bump (bug #93491) - ebuild patch from Robert Zaleski
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-strategy/uqm')
-rw-r--r-- | games-strategy/uqm/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/uqm/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/uqm/files/digest-uqm-0.4.0 | 7 | ||||
-rw-r--r-- | games-strategy/uqm/uqm-0.4.0.ebuild | 123 |
4 files changed, 139 insertions, 2 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog index ce75b53d2016..c4bb9b559192 100644 --- a/games-strategy/uqm/ChangeLog +++ b/games-strategy/uqm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/uqm # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.10 2005/02/09 07:34:37 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.11 2005/05/27 04:12:25 mr_bones_ Exp $ + +*uqm-0.4.0 (27 May 2005) + + 27 May 2005; Michael Sterrett <mr_bones_@gentoo.org> +uqm-0.4.0.ebuild: + version bump (bug #93491) - ebuild patch from Robert Zaleski 09 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> uqm-0.3-r2.ebuild: more use flag knobs to support specific content install (bug #67045) - diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest index cfbc1cddbfa7..8751082a5146 100644 --- a/games-strategy/uqm/Manifest +++ b/games-strategy/uqm/Manifest @@ -1,4 +1,6 @@ -MD5 192070c9d0a5cb1069aadcdd0f936d85 ChangeLog 1402 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 16d9cdf9cb577a6c281064f3a9682437 uqm-0.4.0.ebuild 3391 +MD5 192070c9d0a5cb1069aadcdd0f936d85 ChangeLog 1402 MD5 6cae0cb5830f71abed5c7997832a11e2 uqm-0.3-r2.ebuild 3381 +MD5 7a03c32245b27e6e80aead525d828baf files/digest-uqm-0.4.0 471 MD5 66274a64a0ad3d68e466be478cd28186 files/digest-uqm-0.3-r2 459 diff --git a/games-strategy/uqm/files/digest-uqm-0.4.0 b/games-strategy/uqm/files/digest-uqm-0.4.0 new file mode 100644 index 000000000000..bc4d22d19805 --- /dev/null +++ b/games-strategy/uqm/files/digest-uqm-0.4.0 @@ -0,0 +1,7 @@ +MD5 17c2007297c9549916c452598dfc4235 uqm-0.4.0-source.tar.gz 1198621 +MD5 f8daed517466d68805393e02a12fd642 uqm-0.4.0-content.uqm 11695898 +MD5 9073251b0d96393441f0b40016010576 uqm-0.4.0-3domusic.uqm 18980505 +MD5 52a084cfaa0bc7fcc63a295feb8cbd28 uqm-0.4.0-voice.uqm 114823413 +MD5 2df402b2951c0187604a81c3997fbb9d uqm-remix-pack1.zip 50188123 +MD5 d5a9fb72b369bf5a5dbca3db9f1e1ea3 uqm-remix-pack2.zip 60281175 +MD5 567bc2d9e3ca067d21170c5ac5538441 uqm-remix-pack3.zip 39923803 diff --git a/games-strategy/uqm/uqm-0.4.0.ebuild b/games-strategy/uqm/uqm-0.4.0.ebuild new file mode 100644 index 000000000000..2ef039ee9927 --- /dev/null +++ b/games-strategy/uqm/uqm-0.4.0.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.4.0.ebuild,v 1.1 2005/05/27 04:12:25 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2" +HOMEPAGE="http://sc2.sourceforge.net/" +SRC_URI="mirror://sourceforge/sc2/${P}-source.tar.gz + mirror://sourceforge/sc2/${P}-content.uqm + music? ( mirror://sourceforge/sc2/${P}-3domusic.uqm ) + voice? ( mirror://sourceforge/sc2/${P}-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="x86 ppc" +IUSE="opengl music voice remix" + +RDEPEND="virtual/libc + virtual/x11 + media-libs/libvorbis + media-libs/jpeg + media-libs/libpng + >=media-libs/libsdl-1.2.5 + >=media-libs/sdl-image-1.2.3 + media-libs/libogg + media-libs/libvorbis + sys-libs/zlib" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_unpack() { + local myopengl + + unpack ${P}-source.tar.gz + cd "${S}" + + use opengl \ + && myopengl=opengl \ + || myopengl=pure + + cat <<-EOF > config.state + CHOICE_debug_VALUE='nodebug' + CHOICE_graphics_VALUE='${myopengl}' + CHOICE_sound_VALUE='mixsdl' + 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" +EOF +} + +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. + newgamesbin uqm-wrapper uqm || die "newgamesbin failed" + exeinto "${GAMES_LIBDIR}/${PN}" + doexe uqm || die "doexe failed" + + dodir "${GAMES_DATADIR}/${PN}/content/packages/content" + echo ${P} > ${D}${GAMES_DATADIR}/${PN}/content/version \ + || die "creating version file failed" + + cp "${DISTDIR}"/${P}-content.uqm \ + "${D}${GAMES_DATADIR}/${PN}/content/packages" \ + || die "cp failed" + + if use music; then + cp "${DISTDIR}"/${P}-3domusic.uqm \ + "${D}${GAMES_DATADIR}/${PN}/content/packages" \ + || die "cp failed" + fi + + if use voice; then + cp "${DISTDIR}"/${P}-voice.uqm \ + "${D}${GAMES_DATADIR}/${PN}/content/packages" \ + || die "cp failed" + fi + + if use remix; then + dodir "${GAMES_DATADIR}/${PN}/content/packages/addons/uqmremix" + cp "${DISTDIR}"/${PN}-remix-pack{1,2,3}.zip \ + "${D}${GAMES_DATADIR}/${PN}/content/packages/addons/uqmremix" \ + || die "cp failed" + fi + + dodoc AUTHORS ChangeLog Contributing README TODO WhatsNew \ + doc/users/manual.txt + docinto devel + dodoc doc/devel/* + 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 +} |