summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-09-12 06:25:17 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-09-12 06:25:17 +0000
commit3fa83f217517cbb1574019b70f75695d5b7342a2 (patch)
treef8dd6ac2166a63c130ce3a51c12de8c1b733ff1c /games-strategy/uqm
parentversion bump (diff)
downloadgentoo-2-3fa83f217517cbb1574019b70f75695d5b7342a2.tar.gz
gentoo-2-3fa83f217517cbb1574019b70f75695d5b7342a2.tar.bz2
gentoo-2-3fa83f217517cbb1574019b70f75695d5b7342a2.zip
version bump
Diffstat (limited to 'games-strategy/uqm')
-rw-r--r--games-strategy/uqm/ChangeLog9
-rw-r--r--games-strategy/uqm/Manifest4
-rw-r--r--games-strategy/uqm/files/digest-uqm-0.34
-rw-r--r--games-strategy/uqm/uqm-0.3.ebuild85
4 files changed, 97 insertions, 5 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog
index 39c80ad0890a..2b80ee584bbf 100644
--- a/games-strategy/uqm/ChangeLog
+++ b/games-strategy/uqm/ChangeLog
@@ -1,10 +1,13 @@
# ChangeLog for games-strategy/uqm
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.2 2003/09/10 15:50:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.3 2003/09/12 06:25:15 msterret Exp $
+
+ 11 Sep 2003; Michael Sterrett <msterret@gentoo.org> :
+ version bump; change last entry to be more correct
*uqm-0.2 (09 Jul 2003)
09 Jul 2003; Michael Sterrett <msterret@gentoo.org> uqm-0.2.ebuild:
- initial commit. ebuild based on the one provided by Regan Myers in bug 12153
- and vapier's continued work on it as well.
+ initial commit. ebuild based on the one provided by Martti Rannanjarvi
+ in bug 12153 and vapier's continued work on it as well.
diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest
index 340025157fba..def7dce8b400 100644
--- a/games-strategy/uqm/Manifest
+++ b/games-strategy/uqm/Manifest
@@ -1,5 +1,5 @@
-MD5 03d2589ab938deb69c2c2dd44eeddbbc ChangeLog 438
+MD5 2a835da7cc97a57a3fb315eab08f3973 ChangeLog 557
MD5 3acfd8497290c0cafaccb98d2919edb3 uqm-0.2.ebuild 2015
-MD5 ff131c02564d38f9d0a2ef754ca77e6c uqm-0.3.ebuild 2041
+MD5 9a24c706bcd2e8f3c4c7234ad8163e81 uqm-0.3.ebuild 2070
MD5 352d8c8a28dfc130e621263c405143f4 files/digest-uqm-0.3 261
MD5 c11ab9abbb79bb9cf614402daa6d3bcf files/digest-uqm-0.2 261
diff --git a/games-strategy/uqm/files/digest-uqm-0.3 b/games-strategy/uqm/files/digest-uqm-0.3
new file mode 100644
index 000000000000..c9850829de07
--- /dev/null
+++ b/games-strategy/uqm/files/digest-uqm-0.3
@@ -0,0 +1,4 @@
+MD5 9073251b0d96393441f0b40016010576 uqm-0.3-3domusic.zip 18980505
+MD5 b17bb7b54df03b2d0ae3a23b91382b27 uqm-0.3-content.zip 12554418
+MD5 9a44f0037d05c453b9e570b88b12595f uqm-0.3-voice.zip 114985054
+MD5 6abcdc3caf7efd3bd978332743ee7568 uqm-0.3-source.tgz 906653
diff --git a/games-strategy/uqm/uqm-0.3.ebuild b/games-strategy/uqm/uqm-0.3.ebuild
new file mode 100644
index 000000000000..e5960aa652db
--- /dev/null
+++ b/games-strategy/uqm/uqm-0.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.3.ebuild,v 1.1 2003/09/12 06:25:15 msterret Exp $
+
+inherit games
+
+DESCRIPTION="Port of Star Control 2"
+HOMEPAGE="http://sc2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sc2/${P}-3domusic.zip
+ mirror://sourceforge/sc2/${P}-content.zip
+ mirror://sourceforge/sc2/${P}-voice.zip
+ mirror://sourceforge/sc2/${P}-source.tgz"
+
+KEYWORDS="~x86 ~ppc"
+LICENSE="GPL-2"
+IUSE="opengl"
+SLOT="0"
+
+RDEPEND="virtual/glibc
+ 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/textutils
+ app-arch/unzip"
+
+src_unpack() {
+ local myopengl
+
+ unpack ${P}-source.tgz
+ cd ${S}
+
+ cp ${DISTDIR}/${P}-{3domusic,content,voice}.zip content/packages/ || \
+ die "cp media archives failed"
+
+ 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"
+}
+
+src_compile() {
+ ./build.sh uqm || die
+}
+
+src_install() {
+ # Now that we've compiled in the right thing, change the variables
+ # so it installs in the right place.
+ sed -i \
+ -e "s:${GAMES_PREFIX}:${D}${GAMES_PREFIX}:" build.vars || \
+ die "sed build.vars failed"
+ ./build.sh uqm install || die "build.sh install failed"
+
+ dodoc AUTHORS ChangeLog Contributing README TODO WhatsNew \
+ doc/users/manual.txt
+ docinto devel
+ dodoc doc/devel/*
+
+ prepgamesdirs
+}