summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/uqm')
-rw-r--r--games-strategy/uqm/ChangeLog5
-rw-r--r--games-strategy/uqm/files/digest-uqm-0.3-r27
-rw-r--r--games-strategy/uqm/uqm-0.3-r2.ebuild129
3 files changed, 4 insertions, 137 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog
index db45ad3e9731..d4bb701a4e2a 100644
--- a/games-strategy/uqm/ChangeLog
+++ b/games-strategy/uqm/ChangeLog
@@ -1,6 +1,9 @@
# 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.12 2005/05/27 13:24:50 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.13 2005/10/06 04:54:17 mr_bones_ Exp $
+
+ 06 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> -uqm-0.3-r2.ebuild:
+ clean older version
27 May 2005; Chris Gianelloni <wolf31o2@gentoo.org>
files/digest-uqm-0.4.0, Manifest:
diff --git a/games-strategy/uqm/files/digest-uqm-0.3-r2 b/games-strategy/uqm/files/digest-uqm-0.3-r2
deleted file mode 100644
index 8beb13822150..000000000000
--- a/games-strategy/uqm/files/digest-uqm-0.3-r2
+++ /dev/null
@@ -1,7 +0,0 @@
-MD5 6abcdc3caf7efd3bd978332743ee7568 uqm-0.3-source.tgz 906653
-MD5 b17bb7b54df03b2d0ae3a23b91382b27 uqm-0.3-content.zip 12554418
-MD5 9073251b0d96393441f0b40016010576 uqm-0.3-3domusic.zip 18980505
-MD5 9a44f0037d05c453b9e570b88b12595f uqm-0.3-voice.zip 114985054
-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.3-r2.ebuild b/games-strategy/uqm/uqm-0.3-r2.ebuild
deleted file mode 100644
index b3c3f8d244cc..000000000000
--- a/games-strategy/uqm/uqm-0.3-r2.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# 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.3-r2.ebuild,v 1.5 2005/02/09 07:34:37 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.tgz
- mirror://sourceforge/sc2/${P}-content.zip
- music? ( mirror://sourceforge/sc2/${P}-3domusic.zip )
- voice? ( mirror://sourceforge/sc2/${P}-voice.zip )
- 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}
- >=sys-apps/sed-4
- sys-apps/coreutils
- app-arch/unzip"
-
-src_unpack() {
- local myopengl
-
- unpack ${P}-source.tgz
- 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'
- 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"
- cat > ${T}/uqm <<-EOF
- #!/bin/sh
- # Wrapper script for starting The Ur-Quan Masters
- exec /usr/games/lib/uqm/uqm --contentdir="${GAMES_DATADIR}/${PN}/content" "\$@"
-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.
- dogamesbin "${T}/uqm" || die "dogamesbin failed"
- exeinto "${GAMES_LIBDIR}/${PN}"
- doexe uqm || die "doexe failed"
-
- dodir "${GAMES_DATADIR}/${PN}/content/packages/content"
- cp content/version "${D}${GAMES_DATADIR}/${PN}/content" \
- || die "cp version failed"
-
- cp ${DISTDIR}/${P}-content.zip\
- "${D}${GAMES_DATADIR}/${PN}/content/packages"\
- || die "cp failed"
-
- if use music; then
- cp ${DISTDIR}/${P}-3domusic.zip \
- "${D}${GAMES_DATADIR}/${PN}/content/packages" \
- || die "cp failed"
- fi
-
- if use voice; then
- cp ${DISTDIR}/${P}-voice.zip \
- "${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
-}