Portage is a package management system used by Gentoo Linux
# ChangeLog for games-emulation/pcsx
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx/ChangeLog,v 1.10 2007/02/24 00:53:40 nyhm Exp $
24 Feb 2007; Tristan Heaven
pcsx-1.5-r1.ebuild:
Fix dependencies, bug #168179
25 Jul 2006; Michael Sterrett
avoid pre-stripping binaries; tidy - patch from Tristan Heaven via bug #137830
02 May 2006;
pcsx-1.5-r1.ebuild:
Fix for gcc-4.1
26 Sep 2005; Chris Gianelloni
Making games last on inherit line.
09 Jan 2005; Sven Wegener
Added missing parentheses in SRC_URI/*DEPEND/LICENSE.
04 Sep 2004; David Holm
ppc support is incomplete, masked
13 Feb 2004; David Holm
Made some ppc-specific modifications and added to ~ppc.
*pcsx-1.5-r1 (14 Aug 2003)
14 Aug 2003; Mike Frysinger
Added games.eclass support.
*pcsx-1.5 (27 May 2003)
29 Jun 2003; Daniel Ahlberg
Added missing changelog entry.
26 May 2003;
New ebuild for 1.5. There's something odd about the RDEPEND stuff in 1.4 but
I don't know what to do about it. Hopefully someone else will pick this ebuild
up and tidy it if necessary.
*pcsx-1.4 (11 Dec 2002)
07 Apr 2003; YAMAKURA Makoto
get rid of a possibility of copyright infringement
11 Dec 2002; Ryan Phillips
New version
*pcsx-1.2 (27 Jul 2002)
17 Oct 2002; Daniel Ahlberg
Added IUSE.
06 Aug 2002; Mark Guertin
Added -ppc to keywords
27 Jul 2002; Stuart Bouyer
Added KEYWORDS="x86" and SLOT.
*pcsx-1.2 (2 June 2002)
2 June 2002; Ryan Phillips
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.
AUX 1.5-gentoo.patch 365 RMD160 5d6c20591c1017c7ab17227c797a98ec71ce3d21 SHA1 cc97ee21b287f43ec27d099f6211b34ad57038ac SHA256 150ad420d192e8073ad2441d3f80aa8f3601a17388f9fd805871f6e81c8c75c0
AUX pcsx 1289 RMD160 9c788b0a2a0987db1af3fa46a3f8d82fc0224c40 SHA1 98fb7ea85a7b423be6c9c4aa51d7fc85e7673197 SHA256 a498bc483527e8ebe94dc96dd0849e75ad4219c67d21da1a9895c2d4046c8217
AUX pcsx-1.5-gcc41.patch 655 RMD160 93add45c6ffc9de17f0ddfed9d6f8916449ae64f SHA1 ea6547c2b8c099a663a6989af395928b5486de9c SHA256 6ea18e4d66272760f51ec685b2c16ba4b756837123f774fe4c8f434be0635d52
DIST PcsxSrc-1.5.tgz 441651 RMD160 83e6425cb027c72b5b452b61f6b5a83992c5e065 SHA1 ce7200a3ee79e04685c6fe666b1bb7e49f8a4a17 SHA256 49656115a7ade50245e54314052d2a7be814f40c50f609427fe5320eba4435a9
EBUILD pcsx-1.5-r1.ebuild 1681 RMD160 5d289fcb20e18da5ec45096f1c2c87ce704556e6 SHA1 134fbedd2d571c740779de515171af8f4d644564 SHA256 e2711aa51c216088054aeda827354e75d331a22edea51670bec8a43bb577eabd
MISC ChangeLog 2500 RMD160 e9fc65ae67b37ff5ee3256470450b8b78be4665b SHA1 19e6594e2a4d1a95886a0e0966c06e80466bb947 SHA256 5581dd9ed7dd591c32b49fe0994eebff8dcf36cb2f8a7b0d3adf78c45cb664e6
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-emulation/pcsx/pcsx-1.5-r1.ebuild,v 1.11 2007/04/06 05:47:54 nyhm Exp $
inherit eutils games
DESCRIPTION="PlayStation emulator"
HOMEPAGE="http://www.pcsx.net/"
SRC_URI="http://www.pcsx.net/downloads/PcsxSrc-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-ppc x86"
IUSE="opengl"
DEPEND=">=x11-libs/gtk+-2
gnome-base/libglade"
RDEPEND="${DEPEND}
games-emulation/psemu-cdr
games-emulation/psemu-cdriso
games-emulation/psemu-padxwin
games-emulation/psemu-padjoy
games-emulation/psemu-peopsspu
opengl? ( games-emulation/psemu-gpupetemesagl )
!opengl? ( games-emulation/psemu-peopssoftgpu )"
S=${WORKDIR}/PcsxSrc-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
edos2unix $(find -regex '.*\.[ch]')
epatch \
"${FILESDIR}"/${PV}-gentoo.patch \
"${FILESDIR}"/${P}-gcc41.patch
sed -i \
-e "s:Plugin/:$(games_get_libdir)/psemu/plugins/:" \
-e "s:Bios/:$(games_get_libdir)/psemu/bios/:" \
-e 's:Pcsx.cfg:~/.pcsx/config:' \
Linux/LnxMain.c \
|| die "sed LnxMain.c failed"
sed \
-e "s:GAMES_DATADIR:${GAMES_DATADIR}:" \
-e "s:GAMES_LIBDIR:$(games_get_libdir):" \
-e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \
"${FILESDIR}"/pcsx > "${T}"/pcsx \
|| die "sed failed"
}
src_compile() {
cd Linux
egamesconf || die
emake OPTIMIZE="${CFLAGS}" STRIP=true || die "emake failed"
}
src_install() {
newgamesbin Linux/pcsx pcsx.bin || die "newgamesbin failed"
dogamesbin "${T}"/pcsx || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
doins Linux/.pixmaps/* || die "doins failed"
dodoc Docs/*
prepgamesdirs
}