summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-02-07 03:43:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-02-07 03:43:41 +0000
commit91d65fb4bb172aeeca7487d9ba2da78331dac177 (patch)
tree531370ce0c4b705dba8627262431c0c123e5b46e /games-strategy
parentAdd dependency on font-adobe-100dpi per bug #121505 (Garrett Cooper). (diff)
downloadgentoo-2-91d65fb4bb172aeeca7487d9ba2da78331dac177.tar.gz
gentoo-2-91d65fb4bb172aeeca7487d9ba2da78331dac177.tar.bz2
gentoo-2-91d65fb4bb172aeeca7487d9ba2da78331dac177.zip
version bump
(Portage version: 2.0.54)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/uqm/ChangeLog7
-rw-r--r--games-strategy/uqm/Manifest2
-rw-r--r--games-strategy/uqm/files/digest-uqm-0.5.07
-rw-r--r--games-strategy/uqm/uqm-0.5.0.ebuild113
4 files changed, 128 insertions, 1 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog
index 42ddd1a6f55d..f1ba5d617a5e 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.14 2006/01/29 23:49:41 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.15 2006/02/07 03:43:41 mr_bones_ Exp $
+
+*uqm-0.5.0 (07 Feb 2006)
+
+ 07 Feb 2006; Michael Sterrett <mr_bones_@gentoo.org> +uqm-0.5.0.ebuild:
+ version bump
29 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> uqm-0.4.0.ebuild:
X is implicit
diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest
index 26d1f76c1be5..bcd89c66ee53 100644
--- a/games-strategy/uqm/Manifest
+++ b/games-strategy/uqm/Manifest
@@ -1,4 +1,6 @@
MD5 9c2dce7ce0566319b6dbc08abb304fcd ChangeLog 1876
MD5 a6c1b54df8b63f6ce19a0b480af8e461 files/digest-uqm-0.4.0 471
+MD5 8124a223a881ec549870c2eee2b2d2ae files/digest-uqm-0.5.0 471
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 35eff672249a2e26cad4ee98f5981158 uqm-0.4.0.ebuild 3252
+MD5 35eff672249a2e26cad4ee98f5981158 uqm-0.5.0.ebuild 3252
diff --git a/games-strategy/uqm/files/digest-uqm-0.5.0 b/games-strategy/uqm/files/digest-uqm-0.5.0
new file mode 100644
index 000000000000..612657113888
--- /dev/null
+++ b/games-strategy/uqm/files/digest-uqm-0.5.0
@@ -0,0 +1,7 @@
+MD5 a20cacc8e66f5ff1fdf5e1d3a3b93fd2 uqm-0.5.0-3domusic.uqm 18980071
+MD5 1d03864b141a2626a7284bc7cfdefb47 uqm-0.5.0-content.uqm 11584345
+MD5 9002b1bc2de9285588dd97b618a867a7 uqm-0.5.0-source.tar.gz 1267039
+MD5 52a084cfaa0bc7fcc63a295feb8cbd28 uqm-0.5.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.5.0.ebuild b/games-strategy/uqm/uqm-0.5.0.ebuild
new file mode 100644
index 000000000000..17cf2145f822
--- /dev/null
+++ b/games-strategy/uqm/uqm-0.5.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.5.0.ebuild,v 1.1 2006/02/07 03:43:41 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="ppc x86"
+IUSE="music opengl remix voice"
+
+RDEPEND="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"
+}
+
+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}"
+ doexe uqm || die "doexe failed"
+
+ insinto "${GAMES_DATADIR}/${PN}/content/packages"
+ doins "${DISTDIR}"/${P}-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}"/${P}-3domusic.uqm || die "doins failed"
+ fi
+
+ if use voice; then
+ doins "${DISTDIR}"/${P}-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 TODO 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
+}