summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-08-17 23:33:57 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-08-17 23:33:57 +0000
commit7e3d88776c540d8f6eee0d7ac4771ff40e05fd2d (patch)
tree98cd01256064691632d1ddc9c943033f57fe63b9 /games-strategy/ufo-ai
parentAdded blocker suggested in bug 189227. Wanted to avoid this, but it seems to ... (diff)
downloadhistorical-7e3d88776c540d8f6eee0d7ac4771ff40e05fd2d.tar.gz
historical-7e3d88776c540d8f6eee0d7ac4771ff40e05fd2d.tar.bz2
historical-7e3d88776c540d8f6eee0d7ac4771ff40e05fd2d.zip
Version bump using ebuild by Paul Bredbury <brebs@sent.com> and closing bug #173097.
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'games-strategy/ufo-ai')
-rw-r--r--games-strategy/ufo-ai/ChangeLog8
-rw-r--r--games-strategy/ufo-ai/Manifest35
-rw-r--r--games-strategy/ufo-ai/files/digest-ufo-ai-0.10.0402182
-rw-r--r--games-strategy/ufo-ai/files/digest-ufo-ai-2.1.112
-rw-r--r--games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild162
5 files changed, 209 insertions, 10 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog
index 09a2432b8891..013057e535f2 100644
--- a/games-strategy/ufo-ai/ChangeLog
+++ b/games-strategy/ufo-ai/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/ufo-ai
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.12 2007/02/22 00:05:44 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.13 2007/08/17 23:33:57 wolf31o2 Exp $
+
+*ufo-ai-2.1.1 (17 Aug 2007)
+
+ 17 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> +ufo-ai-2.1.1.ebuild:
+ Version bump using ebuild by Paul Bredbury <brebs@sent.com> and closing bug
+ #173097.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-strategy/ufo-ai/Manifest b/games-strategy/ufo-ai/Manifest
index bb9f60bc01f9..eb8d8eb3dca0 100644
--- a/games-strategy/ufo-ai/Manifest
+++ b/games-strategy/ufo-ai/Manifest
@@ -1,21 +1,42 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 0.10.040218-Makefile.patch 1759 RMD160 05108ee57ba8d645accd873779ae091f111823a0 SHA1 47b8db7b0f270c629c1d5baa8ca17b948846523f SHA256 c7f3adddacdc91647f00cf43395e8707261f756fa2e7c5a4da4995e8383777a1
MD5 6ca39990b18a4bf10c112bb43983024e files/0.10.040218-Makefile.patch 1759
RMD160 05108ee57ba8d645accd873779ae091f111823a0 files/0.10.040218-Makefile.patch 1759
SHA256 c7f3adddacdc91647f00cf43395e8707261f756fa2e7c5a4da4995e8383777a1 files/0.10.040218-Makefile.patch 1759
DIST linux_ufoaidemo.zip 30745560 RMD160 7a376f617915c2d3f537cf7d50827eccca03fc97 SHA1 1517b5cfa1ed175863c7fb3c68226ec772aec431 SHA256 3fe261ce6808743bbfcddbdb324f521afef7446c84f162fcc8c5558fe1751e33
+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.tar.bz2 6896537 RMD160 cde3338705c41982c4ade660adbd1b26667c6c43 SHA1 b0d9e6edcbbe0ea1f64ce5d4a08e7cefe1f42b6c SHA256 9a2866aa94296c53d904f6f9bf314fc1f10d51220efeb1c154b7604d6f5ff0cb
DIST ufoai_source_040218.zip 1548520 RMD160 7ca428ae08021ce7366bdaef02cbe6a0b5a99270 SHA1 683f216cf0cb466fff62b042a6d8b5f0d713e66a SHA256 6d6b5b3b8e045742cbbef77d1a042102310f8452b5b4e0be363f15a86b7af748
EBUILD ufo-ai-0.10.040218.ebuild 1507 RMD160 3e069613c2fb417e0e945469267cd2071f375eaf SHA1 787ae54fe11a527ed657af8bce6ba98a1f219579 SHA256 9f62118a74c47a3170f23b5e17479fe6fa9437cfadcf312f720f0c258d38cf86
MD5 f18adacb1f9f8bbc07d2a90d88999e56 ufo-ai-0.10.040218.ebuild 1507
RMD160 3e069613c2fb417e0e945469267cd2071f375eaf ufo-ai-0.10.040218.ebuild 1507
SHA256 9f62118a74c47a3170f23b5e17479fe6fa9437cfadcf312f720f0c258d38cf86 ufo-ai-0.10.040218.ebuild 1507
-MISC ChangeLog 1678 RMD160 4a92e424690f9624cc943c9bc638930d97aadd21 SHA1 185ade302b2f891903e37d65523b961220561a2c SHA256 ad7c278603da414b5aacfdd2aa71ae2c4902950675d93c5fb56a94020909e802
-MD5 66b803c257c9d9a94dc0b73b1422bd5e ChangeLog 1678
-RMD160 4a92e424690f9624cc943c9bc638930d97aadd21 ChangeLog 1678
-SHA256 ad7c278603da414b5aacfdd2aa71ae2c4902950675d93c5fb56a94020909e802 ChangeLog 1678
+EBUILD ufo-ai-2.1.1.ebuild 3928 RMD160 450b44c18108438bd41c28950355f01c70940c69 SHA1 55fec8b70458f8b1db4fe824a0b327f7814364c8 SHA256 27cd5905dc950c7e3b70de354c02f60f84bbb453c27f5fc096191d07f592ba56
+MD5 f6f15988520b218cbc56451f13b97a75 ufo-ai-2.1.1.ebuild 3928
+RMD160 450b44c18108438bd41c28950355f01c70940c69 ufo-ai-2.1.1.ebuild 3928
+SHA256 27cd5905dc950c7e3b70de354c02f60f84bbb453c27f5fc096191d07f592ba56 ufo-ai-2.1.1.ebuild 3928
+MISC ChangeLog 1876 RMD160 b699c69180569445cdfd93b9f7f2cbe64e8c2e24 SHA1 2549da8f581bf1ada0143e266bfb04ce20940e4e SHA256 74cea947953469485f2c5da137588c76bdce1f9f234bcd014fbc64b670c5ad83
+MD5 f3e6514dd067d1e0669a11c62fbc8de5 ChangeLog 1876
+RMD160 b699c69180569445cdfd93b9f7f2cbe64e8c2e24 ChangeLog 1876
+SHA256 74cea947953469485f2c5da137588c76bdce1f9f234bcd014fbc64b670c5ad83 ChangeLog 1876
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 73863f952a00fe8b55e9cec0cc8a9bf2 files/digest-ufo-ai-0.10.040218 497
-RMD160 4c4bb54869a89140d91c7b40dd6dc682598d7f8a files/digest-ufo-ai-0.10.040218 497
-SHA256 0ddeacf3620b6a77af0bd8355097bebb88348f267c5f81ea32b64fcb8d09a0b9 files/digest-ufo-ai-0.10.040218 497
+MD5 d9d3853753d8c42fd212a38a43511a95 files/digest-ufo-ai-0.10.040218 362
+RMD160 8743ad08cc286e461ee07aae2206989332fd0f90 files/digest-ufo-ai-0.10.040218 362
+SHA256 c5e099430f40f75c38035e261cc998e2c91b6bf349a4067e3d8d98b551c25bb1 files/digest-ufo-ai-0.10.040218 362
+MD5 6c35cbd820c88224eef282981d150f91 files/digest-ufo-ai-2.1.1 994
+RMD160 01a0a4404078eff9ee6f5b296273a1b30a059211 files/digest-ufo-ai-2.1.1 994
+SHA256 cbd7708549d35834ae758ae048dd558f74b6b18bcfe9b5e29943a47716743739 files/digest-ufo-ai-2.1.1 994
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.5 (GNU/Linux)
+
+iD8DBQFGxjB7kT4lNIS36YERAsdaAJ0atzxh/MR6/UFBr1yu3UXqeQLViQCfaONB
+lJrwxbwmhqb5JGqLk7a/qIg=
+=LRA6
+-----END PGP SIGNATURE-----
diff --git a/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218 b/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218
index ccc93298c389..c66496dd1e02 100644
--- a/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218
+++ b/games-strategy/ufo-ai/files/digest-ufo-ai-0.10.040218
@@ -1,6 +1,4 @@
-MD5 52021c8dd7cbbe4e5af5039c3da60485 linux_ufoaidemo.zip 30745560
RMD160 7a376f617915c2d3f537cf7d50827eccca03fc97 linux_ufoaidemo.zip 30745560
SHA256 3fe261ce6808743bbfcddbdb324f521afef7446c84f162fcc8c5558fe1751e33 linux_ufoaidemo.zip 30745560
-MD5 f3c979d24ebeb06d7bafa32d9aebab24 ufoai_source_040218.zip 1548520
RMD160 7ca428ae08021ce7366bdaef02cbe6a0b5a99270 ufoai_source_040218.zip 1548520
SHA256 6d6b5b3b8e045742cbbef77d1a042102310f8452b5b4e0be363f15a86b7af748 ufoai_source_040218.zip 1548520
diff --git a/games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1 b/games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1
new file mode 100644
index 000000000000..938ce810776a
--- /dev/null
+++ b/games-strategy/ufo-ai/files/digest-ufo-ai-2.1.1
@@ -0,0 +1,12 @@
+MD5 7a832663638fa6eeedd0abd187edbe63 music.tar.bz2 33767479
+RMD160 a216e484e3421d0af165bb70365bcdb9a5285508 music.tar.bz2 33767479
+SHA256 1d4bdabcd5f30657fbec49d0af02c8b4a6ce42e208bdc101172c667de4781751 music.tar.bz2 33767479
+MD5 ae2ebfeaf34afab92638e128c76860b9 ufoai-2.1.1-data.tar 267755520
+RMD160 ddbf856710c18ed4b73061b14ed340b70b083ea4 ufoai-2.1.1-data.tar 267755520
+SHA256 5e92950f93d0dcef7fbdefc0c0da6f398b06476837bfce79243baa6227176f7c ufoai-2.1.1-data.tar 267755520
+MD5 e3d628c3bfde98b933620c6c30160666 ufoai-2.1.1-i18n.tar.bz2 1065252
+RMD160 2eb8a9551eae2268dcfffdef3a6ad44f7becf04f ufoai-2.1.1-i18n.tar.bz2 1065252
+SHA256 ed3467118be97bcd27f983567ba09f2cf5492841c10a595b2bc51b4d1c48738e ufoai-2.1.1-i18n.tar.bz2 1065252
+MD5 8f65edf93b7645dc68104f4542825dd5 ufoai-2.1.1-source.tar.bz2 6896537
+RMD160 cde3338705c41982c4ade660adbd1b26667c6c43 ufoai-2.1.1-source.tar.bz2 6896537
+SHA256 9a2866aa94296c53d904f6f9bf314fc1f10d51220efeb1c154b7604d6f5ff0cb ufoai-2.1.1-source.tar.bz2 6896537
diff --git a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild
new file mode 100644
index 000000000000..68202dd5ec0e
--- /dev/null
+++ b/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2007 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.ebuild,v 1.1 2007/08/17 23:33:57 wolf31o2 Exp $
+
+inherit eutils autotools games
+
+MY_PV=${PV/_rc/-RC}
+MY_P="ufoai-${MY_PV}"
+MY_SF="mirror://sourceforge/ufoai"
+
+DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game"
+HOMEPAGE="http://www.ufoai.net/"
+SRC_URI="${MY_SF}/music.tar.bz2
+ ${MY_SF}/${MY_P}-data.tar
+ ${MY_SF}/${MY_P}-source.tar.bz2
+ ${MY_SF}/${MY_P}-i18n.tar.bz2"
+# Map data is already in the main data tarball
+# ${MY_SF}/${MY_P}-mapsource.tar.bz2
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa arts debug dedicated dga doc ipv6 jack master oss paranoid"
+
+# Info at http://ufoai.ninex.info/wiki/index.php/Compile_for_Linux
+UIRDEPEND="virtual/opengl
+ virtual/glu
+ >=media-libs/libsdl-1.2.7
+ >=media-libs/sdl-ttf-2.0.7
+ dga? ( x11-libs/libXxf86dga )
+ x11-libs/libX11"
+UIDEPEND="x11-proto/xf86vidmodeproto
+ x11-proto/xproto"
+RDEPEND="${UIRDEPEND}
+ alsa? ( media-libs/alsa-lib )
+ arts? ( kde-base/arts )
+ >=media-libs/jpeg-6b-r7
+ media-libs/libpng
+ >=media-libs/libogg-1.1
+ >=media-libs/libvorbis-1.1
+ jack? ( >=media-sound/jack-0.100.0 )
+ sys-devel/gettext
+ >=sys-libs/glibc-2.4
+ >=sys-libs/zlib-1.2.3"
+DEPEND="${RDEPEND}
+ ${UIDEPEND}
+ doc? ( app-doc/doxygen )"
+
+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"
+
+ eautoreconf
+}
+
+src_compile() {
+ yesno() { useq $1 && echo yes || echo no ; }
+
+# 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}.xpm
+
+ if use dedicated ; then
+ dogamesbin ufoded || die
+ fi
+
+ if use master ; then
+ dogamesbin ufomaster || die
+ fi
+
+ if [[ -f ufo2map ]] ; then
+ dogamesbin ufo2map || die
+ fi
+
+ local libdir=$(games_get_libdir)/${PN}
+ exeinto "${libdir}"
+ local f
+ for f in *.so base/game.so ; do
+ doexe "${f}" || die "doexe ${f} failed"
+ done
+
+ insinto "${dir}"
+ doins -r "${WORKDIR}"/{base,music} \
+ || die "doins -r failed"
+
+ if use doc ; then
+ dohtml -r "${WORKDIR}"/docs/html/*
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ elog "To play the game, run: ${PN}"
+ echo
+}