diff options
-rw-r--r-- | games-emulation/pcsx/ChangeLog | 7 | ||||
-rw-r--r-- | games-emulation/pcsx/pcsx-1.5-r1.ebuild | 21 |
2 files changed, 16 insertions, 12 deletions
diff --git a/games-emulation/pcsx/ChangeLog b/games-emulation/pcsx/ChangeLog index 368d6907c14e..cb173f779235 100644 --- a/games-emulation/pcsx/ChangeLog +++ b/games-emulation/pcsx/ChangeLog @@ -1,6 +1,9 @@ # 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 $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx/ChangeLog,v 1.11 2011/02/22 20:57:27 mr_bones_ Exp $ + + 22 Feb 2011; Michael Sterrett <mr_bones_@gentoo.org> pcsx-1.5-r1.ebuild: + EAPI=2; tidy 24 Feb 2007; Tristan Heaven <nyhm@gentoo.org> files/pcsx, pcsx-1.5-r1.ebuild: diff --git a/games-emulation/pcsx/pcsx-1.5-r1.ebuild b/games-emulation/pcsx/pcsx-1.5-r1.ebuild index 2e0fbf6490d8..727cec18cde7 100644 --- a/games-emulation/pcsx/pcsx-1.5-r1.ebuild +++ b/games-emulation/pcsx/pcsx-1.5-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2011 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 $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx/pcsx-1.5-r1.ebuild,v 1.12 2011/02/22 20:57:27 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="PlayStation emulator" @@ -13,7 +14,7 @@ SLOT="0" KEYWORDS="-ppc x86" IUSE="opengl" -DEPEND=">=x11-libs/gtk+-2 +DEPEND="x11-libs/gtk+:2 gnome-base/libglade" RDEPEND="${DEPEND} games-emulation/psemu-cdr @@ -26,10 +27,7 @@ RDEPEND="${DEPEND} S=${WORKDIR}/PcsxSrc-${PV} -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { edos2unix $(find -regex '.*\.[ch]') epatch \ @@ -49,10 +47,13 @@ src_unpack() { || die "sed failed" } -src_compile() { +src_configure() { cd Linux - egamesconf || die - emake OPTIMIZE="${CFLAGS}" STRIP=true || die "emake failed" + egamesconf +} + +src_compile() { + emake -C Linux OPTIMIZE="${CFLAGS}" STRIP=true || die "emake failed" } src_install() { |