diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-12-20 05:09:05 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-12-20 05:09:05 +0000 |
commit | a581ab98c4b9ed371169d4e8d2a0649c03f34980 (patch) | |
tree | d25c188758863f018e3608349c0449af7647f3e1 /games-strategy/ufo-ai | |
parent | rev bump (changed upstream tarball) - bug #349149 (diff) | |
download | historical-a581ab98c4b9ed371169d4e8d2a0649c03f34980.tar.gz historical-a581ab98c4b9ed371169d4e8d2a0649c03f34980.tar.bz2 historical-a581ab98c4b9ed371169d4e8d2a0649c03f34980.zip |
rev bump to get upstream hot fix
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'games-strategy/ufo-ai')
-rw-r--r-- | games-strategy/ufo-ai/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/ufo-ai/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/ufo-ai/ufo-ai-2.3.1-r1.ebuild | 113 |
3 files changed, 123 insertions, 2 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog index 0b866707c06a..a6d3445b3dc2 100644 --- a/games-strategy/ufo-ai/ChangeLog +++ b/games-strategy/ufo-ai/ChangeLog @@ -1,6 +1,12 @@ # 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.29 2010/11/30 21:14:55 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.30 2010/12/20 05:09:05 mr_bones_ Exp $ + +*ufo-ai-2.3.1-r1 (20 Dec 2010) + + 20 Dec 2010; Michael Sterrett <mr_bones_@gentoo.org> + +ufo-ai-2.3.1-r1.ebuild: + rev bump to get upstream hot fix *ufo-ai-2.3.1 (30 Nov 2010) diff --git a/games-strategy/ufo-ai/Manifest b/games-strategy/ufo-ai/Manifest index b77e4964af1f..b3515337ba1f 100644 --- a/games-strategy/ufo-ai/Manifest +++ b/games-strategy/ufo-ai/Manifest @@ -1,8 +1,10 @@ +DIST 1maps.pk3 242016 RMD160 45709c9a28493bc37488c0f960d9b73ceb7f3534 SHA1 b18baa412a1c372dd8b78b525a09d886a61b11c3 SHA256 8cdb8c231c0ba98900d97012b62c5cef72ab5710fe3f087e534496a66f7b0e4e 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-r1.ebuild 2807 RMD160 d502a4b16eb9eec4e8fa418f4a15b8be165a0aac SHA1 46194b61d882a1f6005c3c756a75f367ec619e40 SHA256 c19c86fb8aff427416ae9179f89f4ca47c50f96df9d0da4615bcdc0c80173bcf 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 4254 RMD160 59cb2cf52784d8454915f1b515a67a622a841f79 SHA1 17de0b813e534531a2a283c6ecf995bd1b637a96 SHA256 1d91ec36c0604d24ef4b26ec74aaef16568a190ed81493612bbf4dbb87840e51 +MISC ChangeLog 4404 RMD160 062d93b555212b9ff2e0064065ff63db93efaa89 SHA1 fbb81ca3d7403be3f8f2f3e5df78d9b27e075b33 SHA256 dbb55dd91496dfd3baf71fd7805df76a466e4dcd5185e052fe4aaa4b5abc166a MISC metadata.xml 219 RMD160 145b5b398d86f7dfb219d32e4394ed0f1ffd5873 SHA1 485e12874a226aaf92ccbbbf5b2b1c902dd68110 SHA256 266385ce0470b911b2b3ca5fe6b237ad5dfc2d480533be5453537328a08cb2eb diff --git a/games-strategy/ufo-ai/ufo-ai-2.3.1-r1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.3.1-r1.ebuild new file mode 100644 index 000000000000..3c8da5141a0a --- /dev/null +++ b/games-strategy/ufo-ai/ufo-ai-2.3.1-r1.ebuild @@ -0,0 +1,113 @@ +# 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-r1.ebuild,v 1.1 2010/12/20 05:09:05 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 + http://mattn.ninex.info/1maps.pk3" + +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() { + cp "${DISTDIR}"/1maps.pk3 "${WORKDIR}"/base/ || die + 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 +} |