summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/ufo-ai')
-rw-r--r--games-strategy/ufo-ai/Manifest16
-rw-r--r--games-strategy/ufo-ai/files/ufo-ai-2.1.1-dprintf.patch12
-rw-r--r--games-strategy/ufo-ai/ufo-ai-2.1.1-r1.ebuild142
3 files changed, 0 insertions, 170 deletions
diff --git a/games-strategy/ufo-ai/Manifest b/games-strategy/ufo-ai/Manifest
index cf50785f442d..c4f95d3de127 100644
--- a/games-strategy/ufo-ai/Manifest
+++ b/games-strategy/ufo-ai/Manifest
@@ -1,22 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX ufo-ai-2.1.1-dprintf.patch 416 RMD160 7c345bc0243062bc45cda3daafa1fff2098c7f75 SHA1 545a8335f91a2f0c95ff4476b806bf68a81dd09a SHA256 5c101f7ba1fd8bb8a52d8bf1c063c71194bff6a9451b211a49b129fe934120bc
AUX ufo-ai-2.2.1-gentoo.patch 2273 RMD160 2cb17341e638a955cf6fcde610a9bbf67c3ee797 SHA1 74814edd9747de7077eaabf6c4ef2e16960126b7 SHA256 62711814268a142bb0ba304b0645735f077a5cc984c36b0f1e781a4c03759ff2
-DIST music.tar.bz2 33767479 RMD160 a216e484e3421d0af165bb70365bcdb9a5285508 SHA1 9ab42094077e4fda6db5bef0f4f0fc971ac1f3c2 SHA256 1d4bdabcd5f30657fbec49d0af02c8b4a6ce42e208bdc101172c667de4781751
-DIST ufoai-2.1.1-data.tar 267755520 RMD160 ddbf856710c18ed4b73061b14ed340b70b083ea4 SHA1 719e25c498b48f583d81500de81693853dee1ffa SHA256 5e92950f93d0dcef7fbdefc0c0da6f398b06476837bfce79243baa6227176f7c
-DIST ufoai-2.1.1-i18n.tar.bz2 1065252 RMD160 2eb8a9551eae2268dcfffdef3a6ad44f7becf04f SHA1 77942366e6c8db8741416a67071587ff115741bf SHA256 ed3467118be97bcd27f983567ba09f2cf5492841c10a595b2bc51b4d1c48738e
-DIST ufoai-2.1.1-source_hotfix.tar.bz2 6896824 RMD160 2769419411e875b9d2313bfa255e3eab806b17cb SHA1 8b11434714231facb8af6420cdc4e7c290883910 SHA256 485c4e78ae73d28c4a06156805925047391a3ae571883275c1875bbeb1651129
DIST ufoai-2.2.1-data.tar 390502400 RMD160 af91dd473f59c73e705181759059bd37ba215f62 SHA1 eb071333478bd6860179e12d8655301980f87d60 SHA256 639c37867733feb5c8cf0852cee6a183c4bc6cd8e31f4c39356b275790a6bd0a
DIST ufoai-2.2.1-source.tar.bz2 7640531 RMD160 980405a5d38bcbb5ae2cea4e25c54374c7dd8e99 SHA1 6ad1b8c357fdbbe9a31839b3bf8de46ad17a40eb SHA256 0c0ff8fc72038963e44ae0420eacedbd7dfe4f9115527ec3554d8c707d0d5ee5
-EBUILD ufo-ai-2.1.1-r1.ebuild 3569 RMD160 e1873f25ca7a7f27e3e4bd8e99b546c003912291 SHA1 90064a48c3bd66e58ad5cd41695a8f0b159591a5 SHA256 b70c16c6222ed5d4b65f37af2d90ecfa71eb2742b043429e1b54afb567c1a21f
EBUILD ufo-ai-2.2.1.ebuild 2511 RMD160 e0cd7122adcf0b1ae6d0757a23e800fbe4a9f2bf SHA1 8d6745a428bf1484c7c47f2fd67e9cc4ba6ee43a SHA256 665a490b73132fc2bde158060b3f0798c802dce8b0fe43f8fdfd02cd4245bafd
MISC ChangeLog 2827 RMD160 2b71bb1dc910328e8dbcb7dea1bb0e4c58e8cc59 SHA1 604daae362ba34ca6411eb7f6f4ddde71483b1e3 SHA256 69854dca7867c0411d46dab789019cf0ff1494240c353c4dd3bbedab14947983
MISC metadata.xml 219 RMD160 145b5b398d86f7dfb219d32e4394ed0f1ffd5873 SHA1 485e12874a226aaf92ccbbbf5b2b1c902dd68110 SHA256 266385ce0470b911b2b3ca5fe6b237ad5dfc2d480533be5453537328a08cb2eb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkjnyGcACgkQVrx5UrvSjseHaQCbB1s8BwvUZdx/BIkX9KNamUdo
-qZAAnjDEN5TCrpu2OJFeJjauM45gCmdT
-=uALY
------END PGP SIGNATURE-----
diff --git a/games-strategy/ufo-ai/files/ufo-ai-2.1.1-dprintf.patch b/games-strategy/ufo-ai/files/ufo-ai-2.1.1-dprintf.patch
deleted file mode 100644
index 763d11ee0b13..000000000000
--- a/games-strategy/ufo-ai/files/ufo-ai-2.1.1-dprintf.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/game/g_local.h.old 2008-08-24 16:23:45.000000000 +0200
-+++ src/game/g_local.h 2008-08-24 16:26:05.000000000 +0200
-@@ -41,6 +41,9 @@
- /* short, server-visible player_t and edict_t structures, */
- /* because we define the full size ones in this file */
- #define GAME_INCLUDE
-+#ifdef dprintf
-+#undef dprintf
-+#endif
- #include "game.h"
-
- /* the "gameversion" client command will print this plus compile date */
diff --git a/games-strategy/ufo-ai/ufo-ai-2.1.1-r1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.1.1-r1.ebuild
deleted file mode 100644
index 6303728fb4a6..000000000000
--- a/games-strategy/ufo-ai/ufo-ai-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2008 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.1.1-r1.ebuild,v 1.4 2008/08/24 14:56:35 tupone Exp $
-
-inherit eutils autotools games
-
-MY_P=${P/-}
-DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game"
-HOMEPAGE="http://ufoai.ninex.info/"
-SRC_URI="mirror://sourceforge/ufoai/music.tar.bz2
- mirror://sourceforge/ufoai/${MY_P}-data.tar
- mirror://sourceforge/ufoai/${MY_P}-source_hotfix.tar.bz2
- mirror://sourceforge/ufoai/${MY_P}-i18n.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa arts debug dedicated dga doc ipv6 jack master oss paranoid"
-
-RDEPEND="virtual/opengl
- virtual/glu
- media-libs/libsdl
- media-libs/sdl-ttf
- media-libs/jpeg
- media-libs/libpng
- media-libs/libogg
- media-libs/libvorbis
- x11-libs/libXxf86vm
- virtual/libintl
- alsa? ( media-libs/alsa-lib )
- arts? ( kde-base/arts )
- dga? ( x11-libs/libXxf86dga )
- jack? ( media-sound/jack-audio-connection-kit )"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- x11-proto/xf86vidmodeproto
- x11-proto/xproto
- doc? ( app-doc/doxygen )
- dga? ( x11-proto/xf86dgaproto )"
-
-S=${WORKDIR}/${MY_P}-source
-dir=${GAMES_DATADIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- local libdir=$(games_get_libdir)/${PN}
- # Set libdir
- sed -i \
- -e "s:libPath, \"\.\":libPath, \"${libdir}\":" \
- src/{client,ports/linux}/*.c || die "sed *.c failed"
-
- sed -i \
- -e "s:\"s_libdir\", \"\":\"s_libdir\", \"${libdir}\":" \
- src/client/snd_ref.c || die "sed snd_ref.c failed"
-
- sed -i \
- -e "s:game\.so\", path:game\.so\", \"${libdir}\":" \
- src/ports/linux/sys_linux.c || die "sed sys_linux.c failed"
-
- # Set basedir
- sed -i \
- -e "s:\"fs_basedir\", \"\.\":\"fs_basedir\", \"${dir}\":" \
- src/qcommon/files.c || die "sed files.c failed"
-
- sed -i \
- -e "s:/usr/local/games/ufoai:${dir}:" \
- src/tools/gtkradiant/games/ufoai.game || die "sed ufoai.game failed"
-
- # Fixes bug in finding text files - it should use fs_basedir
- sed -i \
- -e "s:FS_GetCwd():\"${dir}\":" \
- src/qcommon/common.c || die "sed common.c failed"
-
- epatch "${FILESDIR}"/${P}-dprintf.patch
-
- eautoreconf
-}
-
-src_compile() {
-# Forces building of client.
-# gettext is required to show the intro text.
-# egamesconf fails with openal.
-# $(use_with openal)
- egamesconf \
- $(use_enable dedicated) \
- $(use_enable master) \
- $(use_enable !debug release) \
- $(use_enable paranoid) \
- --with-vid-glx \
- --with-vid-vidmode \
- --with-sdl \
- --with-snd-sdl \
- $(use_with alsa snd-alsa) \
- $(use_with arts snd-arts) \
- $(use_with jack snd-jack) \
- $(use_with oss snd-oss) \
- $(use_with dga vid-dga) \
- $(use_with ipv6) \
- --with-gettext \
- --without-openal \
- || die "egamesconf failed"
-
- emake || die "emake failed"
-
- if use doc ; then
- emake docs || die "emake docs failed"
- fi
-}
-
-src_install() {
- # ufo is usually started by a "ufoai" wrapper script.
- # Might as well standardize on the ebuild name, for minimum confusion.
- newgamesbin ufo ${PN} || die
- newicon src/ports/linux/installer/data/ufo.xpm ${PN}.xpm || die
- make_desktop_entry ${PN} "UFO: Alien Invasion" ${PN}
-
- if use dedicated ; then
- dogamesbin ufoded || die
- fi
-
- if use master ; then
- dogamesbin ufomaster || die
- fi
-
- if [[ -f ufo2map ]] ; then
- dogamesbin ufo2map || die
- fi
-
- exeinto "$(games_get_libdir)/${PN}"
- doexe *.so base/game.so || die "doexe ${f} failed"
-
- insinto "${dir}"
- doins -r "${WORKDIR}"/{base,music} || die "doins -r failed"
-
- if use doc ; then
- dohtml -r "${WORKDIR}"/docs/html/*
- fi
-
- prepgamesdirs
-}