Portage is a package management system used by Gentoo Linux
# ChangeLog for games-rpg/egoboo
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/egoboo/ChangeLog,v 1.15 2007/05/27 19:30:04 tupone Exp $
*egoboo-2.22-r1 (27 May 2007)
27 May 2007; Tupone Alfredo
Adding menu entry. Bug #160208 by Pacho Ramos
24 Apr 2006; Scott Stoddard
Fixed DOS formatting noticed by vapier.
24 Apr 2006; Michael Sterrett
files/2.22-amd64.patch, egoboo-2.22.ebuild:
fix amd patch (bug #131092); use doins; tidy
14 Mar 2006; Scott Stoddard
egoboo-2.22.ebuild:
Added patch to determine correct endianness for amd64 submitted by Bruno
Roggeri
14 Mar 2006; Michael Sterrett
X is implicit
17 May 2005; Chris Gianelloni
Cleanup for bug #92745.
28 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
01 Jul 2004; Jeremy Huddleston
virtual/glibc -> virtual/libc
15 Mar 2004; Michael Sterrett
inherit eutils for epatch
15 Feb 2004; David Holm
files/2.22-endian.patch:
Added a patch to make egoboo compile on ppc. Keyworded ~ppc.
08 Jan 2004; Michael Sterrett
files/egoboo-2.22.sh:
try to make things actually work (bug 37474); use games eclass
01 Oct 2003; Michael Sterrett
chown user.group -> chown user:group
*egoboo-2.22 (18 Sep 2002)
31 Jan 2003; Martin Holzer
Change SRC_URI to use mirror://sourceforge.
06 Dec 2003; Mark Guertin
set -ppc to keywords, has upstream endian issues
18 Sep 2002: Matthew Kennedy
egoboo-2.22.ebuild, ChangeLog :
Filter -march=pentium4 or -march=athlon*. Replace with i686.
20 Jul 2002: Jose Alberto Suárez López
Fixed bug #5272. Only moving env variables to other section.
17 jul 2002; Jose Alberto Suárez López
Added KEYWORDS.
20 June 2002; George Shapovalov
corrected ebuild to let regular users run egoboo,
committed the ebuild
31 May 2002; Sean P. Kane
First egoboo ebuild
AUX 2.22-amd64.patch 317 RMD160 527dd8f17d21f98f9948dc952a83f37aabea1e19 SHA1 16adfb20f585cef7bf3b5899efa5c4755d0bda52 SHA256 bc913af7c6cc3f91736b8e3f2b4a2d066ae5322356a28c3bbcb03e42e2a70788
AUX 2.22-endian.patch 6416 RMD160 21e216ae006cf57521b1982291afaebaec679c08 SHA1 839a30b15a266d0d0eb694647f8316d4513d5fe8 SHA256 1beb221b609b7dca4d8b2b0682d7a58675046cb7cb727c734640184d84d41307
DIST ego222.tar.gz 17283653 RMD160 915cf675147940e8687031a60db837cb6dbe3e2e SHA1 4bbd3cfbb852864574f5331f323e13a4aea2169f SHA256 eb024b4e7fd4b1d2babfd9e0fbc1caabd2d1864c67fa4e2f03a806a5a4e6552b
EBUILD egoboo-2.22-r1.ebuild 1623 RMD160 a56b60767d20e57089c5ab1885ec6e3f1a0ccdff SHA1 abc74fd832fd648f6b52190efd2a21e9fb9348b9 SHA256 9681f3ab3b32fe0411484b4a9c74b7f159b3b4d11dacdb4bd46ce9ddf8fb7194
MISC ChangeLog 2708 RMD160 a29c0e93d02a0146b9c6ce4aefe1133409f84618 SHA1 a0de9a38aa3e1126b8d555a7639673191745ee5c SHA256 1de51b8faef44b73cee9c08dd99b308407b78d27edb0e87ba242a5e88a600e97
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/egoboo/egoboo-2.22-r1.ebuild,v 1.3 2007/10/30 06:33:57 mr_bones_ Exp $
inherit eutils flag-o-matic toolchain-funcs games
DESCRIPTION="A 3d dungeon crawling adventure in the spirit of NetHack"
HOMEPAGE="http://egoboo.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/ego${PV/./}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
DEPEND="virtual/opengl
virtual/glu
media-libs/libsdl"
S=${WORKDIR}/${PN}
src_unpack() {
use !amd64 && replace-cpu-flags 'athlon*' pentium4 i686
unpack ${A}
cd "${S}"
# Fix endianess using SDL
# amd64 patch must be applied after ${PV}-endian.patch
# this addresses bug #104271
epatch \
"${FILESDIR}"/${PV}-endian.patch \
"${FILESDIR}"/${PV}-amd64.patch
}
src_compile() {
cd code
emake clean || die "make clean failed"
emake FLAGS="-D_LINUX ${CFLAGS}" CC="$(tc-getCC)" egoboo || die "emake failed"
}
src_install () {
games_make_wrapper ${PN} ./${PN} "${GAMES_DATADIR}/${PN}"
dodoc egoboo.txt
insinto "${GAMES_DATADIR}/${PN}"
doins -r basicdat/ import/ modules/ players/ text/ \
code/egoboo controls.txt setup.txt \
|| die "doins failed"
# FIXME: this is stupid. should be patched to run out of GAMES_BINDIR
fperms 750 "${GAMES_DATADIR}/${PN}/${PN}"
newicon basicdat/icon.bmp ${PN}.bmp
make_desktop_entry ${PN} Egoboo /usr/share/pixmaps/${PN}.bmp
prepgamesdirs
# ugly, but the game needs write here.
cd "${D}${GAMES_DATADIR}/${PN}"
chmod -R g+w setup.txt basicdat players import
}