ChangeLog

# ChangeLog for games-emulation/psemu-peopssoftgpu
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.12 2007/07/15 23:33:56 mr_bones_ Exp $

15 Jul 2007; Michael Sterrett
psemu-peopssoftgpu-1.17.ebuild:
fix deps and link path for bug #185428

10 Jul 2006; Michael Sterrett
psemu-peopssoftgpu-1.17.ebuild:
stable for x86

25 Jan 2006; Donnie Berkholz ;
psemu-peopssoftgpu-1.17.ebuild:
(#118248) Fix for modular X provided by Ryan Hill.

*psemu-peopssoftgpu-1.17 (07 Jan 2006)

07 Jan 2006; Mark Loeser
+files/psemu-peopssoftgpu-1.17-gcc41.patch,
+psemu-peopssoftgpu-1.17.ebuild:
Version bump to 1.17 and apply patch to fix compilation with gcc-4, patch by
Maercelo Goes ; bug #117536

03 Apr 2005; Mike Frysinger
+files/psemu-peopssoftgpu-1.16-fix-noxf86vm.patch,
+files/psemu-peopssoftgpu-1.16-makefile-cflags.patch,
psemu-peopssoftgpu-1.16.ebuild:
Fix non-x86 support #87716 by Wormo.

*psemu-peopssoftgpu-1.16 (19 Feb 2005)

19 Feb 2005; Michael Sterrett
+files/1.16-makefile-cflags.patch, psemu-peopssoftgpu-1.15.ebuild,
+psemu-peopssoftgpu-1.16.ebuild:
version bump (bug #52253)

15 Aug 2004; Mike Frysinger
psemu-peopssoftgpu-1.15.ebuild:
Remove all the x86-specifc code when ARCH != x86 #56763.

03 Jun 2004; Aron Griffis
psemu-peopssoftgpu-1.15.ebuild:
Fix use invocation

13 Feb 2004; David Holm psemu-peopssoftgpu-1.15.ebuild:
Added some modifications to make it compile on non-x86 archs and added to ~ppc.

*psemu-peopssoftgpu-1.15 (14 Aug 2003)

14 Aug 2003; Mike Frysinger :
Version bump + games.eclass support.

*psemu-peopssoftgpu-1.14 (13 Jul 2003)

13 Jul 2003; Mike Frysinger :
Version bump + cleanups #24076.

*psemu-peopssoftgpu-1.6 (27 Jul 2002)

19 Oct 2002; Daniel Ahlberg psemu-peopssoftgpu-1.0.6.ebuild :
Updated to mirror://sourceforge in SRC_URI.

06 Aug 2002; Mark Guertin :
Added -ppc to keywords

27 Jul 2002; S.Bouyer psemu-peopssoftgpu-1.6.ebuild:

Added KEYWORDS="x86", SLOT and RDEPEND.

*psemu-peopssoftgpu (2 June 2002)

2 June 2002; Ryan Phillips ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX psemu-peopssoftgpu-1.17-fix-noxf86vm.patch 463 RMD160 46471d8ca2c84bb692a61fb5789a612029490134 SHA1 a10662a8885b4e273b0964f4847bfaab464db2bd SHA256 2c992dd617eeac6cd6029407c3d22441eb8f898727595e4b55bdb6b6daf798eb
AUX psemu-peopssoftgpu-1.17-gcc41.patch 2212 RMD160 027708a724a67d31e2acdbb77f13d5e63d39cfd5 SHA1 227344fde6d4150209550c0c42dfa001380354f8 SHA256 2a2f4657757a97bf6ae37235aa29b96b553e052650412962db58b7351d8a7878
AUX psemu-peopssoftgpu-1.17-makefile-cflags.patch 406 RMD160 f74f2c44d60d4cb6bcedc226bcb4d8811c70ef29 SHA1 8ac2c88942e8c2f35446a69f07ab85ad0cec4bbc SHA256 30bf5714b3a266d41acde581834cb3f882e41b457fca442f501227e60d3bdc4c
DIST PeopsSoftGpu117.tar.gz 680025 RMD160 65fe7573125d62cab549e79b6ecba1d7ea6198e5 SHA1 47dae549895bd7dcaf5663ebad6258718463e9ee SHA256 eb41ca05bddfc81d6c42d978f1242da95b2c7d76ebe2c9b790100296108e5427
EBUILD psemu-peopssoftgpu-1.17.ebuild 1942 RMD160 ebc7e52eb8dce0f33a12ecc74c778bee673bfc20 SHA1 e3a9580af700b381a5510363cb2825b2069153b2 SHA256 7d65bcc510949e74daa0a2ab2912389fb55088e8a4620453cd35cd8fa4a86ce5
MISC ChangeLog 2905 RMD160 a04a9696f839399efec2cc6fb0c9f9be20e52dba SHA1 88270f4871e179b38bc96229957b894595b8682c SHA256 290e980a71dc38ab34ce65401a0654f971fd6a9ad7fee9822fb0e53668723d48
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

files

metadata.xml




games

psemu-peopssoftgpu-1.17.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.17.ebuild,v 1.7 2007/07/15 23:33:56 mr_bones_ Exp $

inherit eutils games

DESCRIPTION="P.E.Op.S Software GPU plugin"
HOMEPAGE="http://sourceforge.net/projects/peops/"
SRC_URI="mirror://sourceforge/peops/PeopsSoftGpu${PV//./}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE="sdl"

RDEPEND="=x11-libs/gtk+-1*
x11-libs/libXxf86vm
sdl? ( media-libs/libsdl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
x86? ( dev-lang/nasm )
x11-proto/xf86dgaproto
x11-proto/xf86vidmodeproto"

S=${WORKDIR}

src_unpack() {
unpack ${A}
cd "${S}"
edos2unix src/makes/mk.fpse
epatch \
"${FILESDIR}"/${P}-makefile-cflags.patch \
"${FILESDIR}"/${P}-fix-noxf86vm.patch \
"${FILESDIR}"/${P}-gcc41.patch

if [[ ${ARCH} != "x86" ]] ; then
cd src
sed -i \
-e "s/^CPU = i386/CPU = ${ARCH}/g" \
-e '/^XF86VM =/s:TRUE:FALSE:' makes/mk.x11 \
|| die "sed non-x86 failed"
if use sdl ; then
sed -i \
-e "s/OBJECTS.*i386.o//g" \
-e "s/-D__i386__//g" makes/mk.fpse \
|| die "sed sdl failed"
fi
fi
# bug #185428
sed -i \
-e 's:/X11R6::' \
src/makes/mk.x11 \
|| die "sed failed"
}

src_compile() {
cd src
emake OPTFLAGS="${CFLAGS}" || die "x11 build failed"

# FIXME: this breaks if src_compile is called twice
if use sdl ; then
sed -i \
-e 's:mk.x11:mk.fpse:g' Makefile \
|| die "sed failed"
emake clean || die "emake clean failed"
emake OPTFLAGS="${CFLAGS}" || die "sdl build failed"
fi
}

src_install() {
dodoc *.txt
insinto "$(games_get_libdir)"/psemu/cfg
doins gpuPeopsSoftX.cfg || die "doins failed"
exeinto "$(games_get_libdir)"/psemu/plugins
doexe src/libgpuPeops* || die "doexe failed"
exeinto "$(games_get_libdir)"/psemu/cfg
doexe src/cfgPeopsSoft || die "doexe failed"
prepgamesdirs
}