summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-11-30 21:14:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-11-30 21:14:55 +0000
commitc0a6e46255a640d5cd4fac778ba6d5ac6d913767 (patch)
treeba9f1989700e1143212e40118fb30af38b6d24a9 /games-strategy
parentx86 stable, bug #347203 (diff)
downloadhistorical-c0a6e46255a640d5cd4fac778ba6d5ac6d913767.tar.gz
historical-c0a6e46255a640d5cd4fac778ba6d5ac6d913767.tar.bz2
historical-c0a6e46255a640d5cd4fac778ba6d5ac6d913767.zip
version bump
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/ufo-ai/ChangeLog7
-rw-r--r--games-strategy/ufo-ai/Manifest15
-rw-r--r--games-strategy/ufo-ai/ufo-ai-2.3.1.ebuild111
3 files changed, 121 insertions, 12 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog
index 372dd7985ad8..0b866707c06a 100644
--- a/games-strategy/ufo-ai/ChangeLog
+++ b/games-strategy/ufo-ai/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/ufo-ai
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.28 2010/11/09 16:02:01 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.29 2010/11/30 21:14:55 mr_bones_ Exp $
+
+*ufo-ai-2.3.1 (30 Nov 2010)
+
+ 30 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org> +ufo-ai-2.3.1.ebuild:
+ version bump
09 Nov 2010; Thomas Kahle <tomka@gentoo.org> ufo-ai-2.3.ebuild:
Adding missing dep, x86 stable per bug 332343
diff --git a/games-strategy/ufo-ai/Manifest b/games-strategy/ufo-ai/Manifest
index e6bd3f38ad56..b77e4964af1f 100644
--- a/games-strategy/ufo-ai/Manifest
+++ b/games-strategy/ufo-ai/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST ufoai-2.3-data.tar 529571840 RMD160 d4fcbdf1fc6225e9966bd7ee692371474ceb85e0 SHA1 4860eace5f379b6ccfe308a8fde00b7ddc3c0ada SHA256 0e535ce268e9a9ae08cee9b8b62ffed055bdb3182f86bf5c429ec4c54c9fa224
DIST ufoai-2.3-source.tar.bz2 9839841 RMD160 7da99edefd8b312909d30cd0dc4935fcbf1f4257 SHA1 f6f0da3b81d0236930efb4efa553a4c7c1fb374f SHA256 e9c231117b779bab94bcd82c6bbf2051b2b310d7a13eb4bba10085ce0b0e64dd
+DIST ufoai-2.3.1-data.tar 533196800 RMD160 30ba39315718bccd13ffc56e49719a04b3bbd806 SHA1 a322c3bb92b29a0265567e84b1d3287078cfae91 SHA256 79b302351d22ea55e1d5c2fceed757a518908673c12ac3e7972f541f68c2a9ad
+DIST ufoai-2.3.1-source.tar.bz2 9847575 RMD160 77a1499962ec69c138ccb03f54187f87e0429a68 SHA1 f339e9399eae6ef4661ad8b9d4f68205904810d3 SHA256 6f9fbe69c91843b48fc29efa3a3584aa2659b78be1a6a00d5868c5d77fec69d1
+EBUILD ufo-ai-2.3.1.ebuild 2716 RMD160 b9e02662d96a9208bde8cdac51a8f237bbf41afc SHA1 3a5796a509bcb142f58fe3c40ff42d4f9021f78c SHA256 997cbc5d435af436f573f47cc859c270f676d87c64564733a2c34571f5910319
EBUILD ufo-ai-2.3.ebuild 2709 RMD160 2806fcccf16cfc86694e3a324b92a8d083677f5f SHA1 2b9599dc624507194431f9182143dd48ab74b109 SHA256 732618646a3fef42a1af10cb723e984204ff717b2fa127672927543568a7051f
-MISC ChangeLog 4128 RMD160 3644f29f7a3c5ed5a40e86544b22bb1055b7672b SHA1 323e68006d1a98d09116a2a5b2dd10141d4130d7 SHA256 f6e459202f366ba16beef65dca51a96600acc92197533421c99107ffe12eb56e
+MISC ChangeLog 4254 RMD160 59cb2cf52784d8454915f1b515a67a622a841f79 SHA1 17de0b813e534531a2a283c6ecf995bd1b637a96 SHA256 1d91ec36c0604d24ef4b26ec74aaef16568a190ed81493612bbf4dbb87840e51
MISC metadata.xml 219 RMD160 145b5b398d86f7dfb219d32e4394ed0f1ffd5873 SHA1 485e12874a226aaf92ccbbbf5b2b1c902dd68110 SHA256 266385ce0470b911b2b3ca5fe6b237ad5dfc2d480533be5453537328a08cb2eb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkzZcLcACgkQnZsgo/h8kNYBkwCgp/A4rJGJcmHz2cBBagzQ9JTJ
-wpcAoKvb5kTLgM0qo9Z6+tiwghcmjxrT
-=g7vQ
------END PGP SIGNATURE-----
diff --git a/games-strategy/ufo-ai/ufo-ai-2.3.1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.3.1.ebuild
new file mode 100644
index 000000000000..d442b673b726
--- /dev/null
+++ b/games-strategy/ufo-ai/ufo-ai-2.3.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.3.1.ebuild,v 1.1 2010/11/30 21:14:55 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils flag-o-matic games
+
+MY_P="${P/o-a/oa}"
+
+DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game"
+HOMEPAGE="http://ufoai.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ufoai/${MY_P}-source.tar.bz2
+ mirror://sourceforge/ufoai/${MY_P}-data.tar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug dedicated doc editor"
+
+# Dependencies and more instructions can be found here:
+# http://ufoai.ninex.info/wiki/index.php/Compile_for_Linux
+RDEPEND="!dedicated? (
+ virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/libogg
+ media-libs/libvorbis
+ x11-proto/xf86vidmodeproto
+ )
+ net-misc/curl
+ sys-devel/gettext
+ sys-libs/zlib
+ editor? (
+ dev-libs/libxml2
+ media-libs/jpeg
+ media-libs/openal
+ x11-libs/gtkglext
+ x11-libs/gtksourceview
+ )"
+
+DEPEND="${RDEPEND}
+ doc? (
+ virtual/latex-base
+ dev-tex/pdftex
+ dev-texlive/texlive-latexextra
+ )"
+
+S=${WORKDIR}/${MY_P}-source
+
+src_prepare() {
+ mv "${WORKDIR}"/base/ "${S}"/ || die "Moving data failed"
+}
+
+src_configure() {
+ strip-flags # bug #330381
+ egamesconf \
+ $(use_enable !debug release) \
+ $(use_enable editor ufo2map) \
+ $(use_enable editor uforadiant) \
+ --enable-dedicated \
+ $(use_enable !dedicated client) \
+ --bindir="${GAMES_BINDIR}" \
+ --datarootdir="${GAMES_DATADIR_BASE}" \
+ --datadir="${GAMES_DATADIR}" \
+ --localedir="${GAMES_DATADIR}/${PN/-}/base/i18n/"
+}
+
+src_compile() {
+ if use doc ; then
+ emake pdf-manual || die "emake pdf-manual failed"
+ fi
+
+ emake || die "emake failed"
+ emake lang || die "emake lang failed"
+
+ if use editor; then
+ emake uforadiant || die "emake uforadiant failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install_exec || die
+
+ newicon src/ports/linux/ufo.png ${PN}.png || die
+ make_desktop_entry ufoded "UFO: Alien Invasion Server" ${PN}
+ if ! use dedicated ; then
+ make_desktop_entry ufo "UFO: Alien Invasion" ${PN}
+ fi
+
+ # install data
+ insinto "${GAMES_DATADIR}"/${PN/-}/base/
+ doins base/*.pk3 || die
+
+ if use doc ; then
+ dodoc src/docs/tex/ufo-manual_EN.pdf || die
+ fi
+
+ # move translations where they belong
+ dodir "${GAMES_DATADIR_BASE}/locale" || die
+ mv "${D}/${GAMES_DATADIR}/${PN/-}/base/i18n/"* \
+ "${D}/${GAMES_DATADIR_BASE}/locale/" || die
+ rm -rf "${D}/${GAMES_DATADIR}/${PN/-}/base/i18n/" || die
+ dosym "${GAMES_DATADIR_BASE}/locale/" "${GAMES_DATADIR}/${PN/-}/base/i18n" || die
+
+ prepgamesdirs
+}