summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-07-14 19:25:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-07-14 19:25:02 +0000
commit4fcd2e0eb10d3e230a1bfef34d5fc55bc505619d (patch)
treeb0a38d0d5743e3ea7878c537b3e0169852267218 /games-strategy
parentbootstrap.sh: remove make.conf backup code (diff)
downloadhistorical-4fcd2e0eb10d3e230a1bfef34d5fc55bc505619d.tar.gz
historical-4fcd2e0eb10d3e230a1bfef34d5fc55bc505619d.tar.bz2
historical-4fcd2e0eb10d3e230a1bfef34d5fc55bc505619d.zip
version bump (bug #375177)
Package-Manager: portage-2.1.10.3/cvs/Linux i686
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/uqm/ChangeLog7
-rw-r--r--games-strategy/uqm/Manifest17
-rw-r--r--games-strategy/uqm/uqm-0.7.0.ebuild130
3 files changed, 142 insertions, 12 deletions
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog
index 3095efbe788b..20509ce98dec 100644
--- a/games-strategy/uqm/ChangeLog
+++ b/games-strategy/uqm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/uqm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.28 2011/06/24 11:31:11 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.29 2011/07/14 19:25:02 mr_bones_ Exp $
+
+*uqm-0.7.0 (14 Jul 2011)
+
+ 14 Jul 2011; Michael Sterrett <mr_bones_@gentoo.org> +uqm-0.7.0.ebuild:
+ version bump (bug #375177)
24 Jun 2011; Tupone Alfredo <tupone@gentoo.org> uqm-0.6.2.ebuild:
Fix dodoc call on a directory. Bug #369961 by Diego Elio Pettenò
diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest
index 5c002bbd39eb..96aa6681ea4b 100644
--- a/games-strategy/uqm/Manifest
+++ b/games-strategy/uqm/Manifest
@@ -1,20 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
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-0.7.0-3domusic.uqm 18980671 RMD160 f64a196948c446553096a1137eb6fcd84090d054 SHA1 90330f335871dd2728b2232f5b287734bb79e12e SHA256 c57085e64dad4bddf8a679a9aa2adf63f2156d5f6cbabe63af80519033dbcb82
+DIST uqm-0.7.0-content.uqm 11538533 RMD160 92d0e6bde471fd3c6b9147211f09263c1a9482f7 SHA1 2dea07390708790779ae25886e9331b5eb0bdf68 SHA256 b8f6db8ba29f0628fb1d5c233830896b19f441aee3744bda671ea264b44da3bf
+DIST uqm-0.7.0-source.tgz 1562003 RMD160 b760ad256075e4e225e44e5a738a013a9a5e6483 SHA1 55e5257690650e63f131024ab8fdfdddcf5627bc SHA256 a3695c5f7f0be7ec9c0f80ec569907b382023a1fee6e635532bd53b7b53bb221
+DIST uqm-0.7.0-voice.uqm 115143439 RMD160 aee25a15440f810301638d3be04acc630d033fc6 SHA1 700145d023d10c9aaa7bbf8c51aaca75254453c5 SHA256 bcccf801b4ba37594ff6217b292744ea586ee2d447e927804842ccae8b73c979
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.6.2.ebuild 3687 RMD160 c123af2364e7086f2f4096ffe51223d0fde78516 SHA1 fe7799145633d18a98e3fb23f5022d9b479cd71a SHA256 74b72a7597681b9ad57456648cc0d75a7c903a018c221cac8c302ee820c4597d
-MISC ChangeLog 3541 RMD160 e0c5215bac7415bc11b36692ad37839baa717178 SHA1 d1c2880b9953317dfc92dd286a9b992da85e72fd SHA256 f9cafaed98fd64717ac08656b968af71023be2e49c10ea9d27f5ee920347888a
+EBUILD uqm-0.7.0.ebuild 3651 RMD160 464943103d4dc03185d08ff70d4fc7e1c043d004 SHA1 a401e696ea558f5dfbbf2de10f2dcd9225be91da SHA256 90c900417134a09af696e916577e27c7d4153016fb08cbfc12c236b5ecd55871
+MISC ChangeLog 3674 RMD160 1d5f510ea40b2d246ce41dccdade884f4c75aa8c SHA1 a06858d48f57e44b280856d95b91ca27bb23b980 SHA256 0916581c01d66587100c43385d3242c334a29d60645d7b2ad46a745fd61619f6
MISC metadata.xml 396 RMD160 c01dcca6e2af2a6ddfa1f57aa31169f100d1cad0 SHA1 32c39f8a30f580a5e594b6cb8ea8ec65d0db4fc6 SHA256 b6d936f701a8b3777501f3fa1c255f7aec921f1dd1cc999a2d75432ec849df16
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk4EdY0ACgkQIY77eQFFFC0yxwCfVIwLI7n/zZJw3dc9B0k1GZ6J
-kqsAoMXMhCqJI2oaaHCpex/f28YNxWoz
-=ivZa
------END PGP SIGNATURE-----
diff --git a/games-strategy/uqm/uqm-0.7.0.ebuild b/games-strategy/uqm/uqm-0.7.0.ebuild
new file mode 100644
index 000000000000..045eeb344ffa
--- /dev/null
+++ b/games-strategy/uqm/uqm-0.7.0.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.7.0.ebuild,v 1.1 2011/07/14 19:25:02 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils multilib 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.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="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="music opengl remix voice"
+
+RDEPEND="media-libs/libvorbis
+ virtual/jpeg
+ >=media-libs/libpng-1.4
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/libmikmod"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${P}-source.tgz
+}
+
+src_prepare() {
+ local myopengl
+
+ # 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"
+
+ sed -i \
+ -e "s:@INSTALL_LIBDIR@:$(games_get_libdir)/:g" build/unix/uqm-wrapper.in \
+ || die "sed uqm-wrapper.in 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_get_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 WhatsNew doc/users/manual.txt
+ docinto devel
+ dodoc doc/devel/[!n]*
+ docinto devel/netplay
+ dodoc doc/devel/netplay/*
+ make_desktop_entry uqm "The Ur-Quan Masters"
+ prepgamesdirs
+
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use remix ; then
+ echo
+ elog "To hear all the remixed music made by the The Ur-Quan Masters"
+ elog "project's Precursors Team instead of the original ones,"
+ elog "start the game with:"
+ elog " --addon uqmremix"
+ echo
+ fi
+}