tupone 14/10/22 06:45:48 Modified: ufo-ai-2.4.ebuild ChangeLog Log: Fix build as per Bug #481678 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Revision Changes Path 1.6 games-strategy/ufo-ai/ufo-ai-2.4.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild?r1=1.5&r2=1.6 Index: ufo-ai-2.4.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ufo-ai-2.4.ebuild 10 May 2014 05:40:33 -0000 1.5 +++ ufo-ai-2.4.ebuild 22 Oct 2014 06:45:48 -0000 1.6 @@ -1,8 +1,8 @@ # Copyright 1999-2014 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.4.ebuild,v 1.5 2014/05/10 05:40:33 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild,v 1.6 2014/10/22 06:45:48 tupone Exp $ -EAPI=3 +EAPI=5 inherit eutils flag-o-matic games MY_P=${P/o-a/oa} @@ -56,6 +56,7 @@ epatch \ "${FILESDIR}"/${P}-mathlib.patch \ + "${FILESDIR}"/${P}-anon.patch \ "${FILESDIR}"/${P}-locale.patch cp "${DISTDIR}"/1maps.pk3 "${WORKDIR}"/base/ || die @@ -81,35 +82,35 @@ } src_compile() { - emake || die - emake lang || die + emake + emake lang if use editor; then - emake uforadiant || die + emake uforadiant fi } src_install() { - newicon src/ports/linux/ufo.png ${PN}.png || die - dobin ufoded || die + newicon src/ports/linux/ufo.png ${PN}.png + dobin ufoded make_desktop_entry ufoded "UFO: Alien Invasion Server" ${PN} if ! use dedicated; then - dobin ufo || die + dobin ufo make_desktop_entry ufo "UFO: Alien Invasion" ${PN} fi if use editor; then - dobin ufo2map ufomodel || die + dobin ufo2map ufomodel fi # install data insinto "${GAMES_DATADIR}"/${PN/-} - doins -r base || die + doins -r base rm -rf "${ED}/${GAMES_DATADIR}/${PN/-}/base/game.so" dogameslib base/game.so # move translations where they belong - dodir "${GAMES_DATADIR_BASE}/locale" || die + dodir "${GAMES_DATADIR_BASE}/locale" mv "${ED}/${GAMES_DATADIR}/${PN/-}/base/i18n/"* \ "${ED}/${GAMES_DATADIR_BASE}/locale/" || die rm -rf "${ED}/${GAMES_DATADIR}/${PN/-}/base/i18n/" || die 1.44 games-strategy/ufo-ai/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/ChangeLog?rev=1.44&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/ChangeLog?rev=1.44&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/ChangeLog?r1=1.43&r2=1.44 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- ChangeLog 9 Sep 2014 11:50:08 -0000 1.43 +++ ChangeLog 22 Oct 2014 06:45:48 -0000 1.44 @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/ufo-ai # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.43 2014/09/09 11:50:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.44 2014/10/22 06:45:48 tupone Exp $ + + 22 Oct 2014; Alfredo Tupone <tup...@gentoo.org> ufo-ai-2.4.ebuild, + +files/ufo-ai-2.4-anon.patch: + Fix build as per Bug #481678 by Torsten Kaiser 09 Sep 2014; Samuli Suominen <ssuomi...@gentoo.org> files/ufo-ai-2.4-mathlib.patch: