summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-02-22 20:57:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-02-22 20:57:27 +0000
commitd534ffb4c26d282be1d0c03ab4e5bf13cbad9c51 (patch)
treea97aee05462f6226c41b3ee318a6bc22feceb450 /games-emulation
parentslot dep for gtk+ (diff)
downloadgentoo-2-d534ffb4c26d282be1d0c03ab4e5bf13cbad9c51.tar.gz
gentoo-2-d534ffb4c26d282be1d0c03ab4e5bf13cbad9c51.tar.bz2
gentoo-2-d534ffb4c26d282be1d0c03ab4e5bf13cbad9c51.zip
EAPI=2; tidy
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/pcsx/ChangeLog7
-rw-r--r--games-emulation/pcsx/pcsx-1.5-r1.ebuild21
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() {