summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-30 09:32:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-30 09:32:59 +0000
commit9cd247e7ecc5fbd988e56dfc3b9d68a694c23359 (patch)
tree0e791f30df06f3fb92718f338767a4cee828258b /games-emulation/psemu-peopsspu
parentClosing #44197. (Manifest recommit) (diff)
downloadgentoo-2-9cd247e7ecc5fbd988e56dfc3b9d68a694c23359.tar.gz
gentoo-2-9cd247e7ecc5fbd988e56dfc3b9d68a694c23359.tar.bz2
gentoo-2-9cd247e7ecc5fbd988e56dfc3b9d68a694c23359.zip
error check sed; more specific deps
Diffstat (limited to 'games-emulation/psemu-peopsspu')
-rw-r--r--games-emulation/psemu-peopsspu/ChangeLog6
-rw-r--r--games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild23
2 files changed, 19 insertions, 10 deletions
diff --git a/games-emulation/psemu-peopsspu/ChangeLog b/games-emulation/psemu-peopsspu/ChangeLog
index 154ef0b6e7f5..969358ec42e8 100644
--- a/games-emulation/psemu-peopsspu/ChangeLog
+++ b/games-emulation/psemu-peopsspu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/psemu-peopsspu
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/ChangeLog,v 1.4 2004/02/13 15:41:33 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/ChangeLog,v 1.5 2004/03/30 09:32:59 mr_bones_ Exp $
+
+ 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ psemu-peopsspu-1.0.7-r2.ebuild:
+ error check sed; more specific deps
13 Feb 2004; David Holm <dholm@gentoo.org> psemu-peopsspu-1.0.7-r2.ebuild:
Added to ~ppc.
diff --git a/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild b/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild
index f1abcd92f542..36793493ac65 100644
--- a/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild
+++ b/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild,v 1.2 2004/02/13 15:41:33 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild,v 1.3 2004/03/30 09:32:59 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
DESCRIPTION="P.E.Op.S Sound Emulation (SPU) PSEmu Plugin"
HOMEPAGE="http://sourceforge.net/projects/peops/"
@@ -13,12 +13,14 @@ SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE="alsa oss"
-DEPEND="alsa? ( media-libs/alsa-lib )
+RDEPEND="alsa? ( media-libs/alsa-lib )
app-arch/unzip
- =x11-libs/gtk+-1*
+ =x11-libs/gtk+-1*"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
sys-devel/automake"
-S=${WORKDIR}
+S="${WORKDIR}"
src_unpack() {
unpack ${A}
@@ -31,13 +33,16 @@ src_unpack() {
src_compile() {
cd src
- sed -i -e "s/-mpentium//" -e "/^CCFLAGS3/s:=:= ${CFLAGS} :" Makefile
- if [ `use oss` ] || [ -z "`use oss``use alsa`" ] ; then
+ sed -i \
+ -e "s/-mpentium//" \
+ -e "/^CCFLAGS3/s:=:= ${CFLAGS} :" Makefile \
+ || die "sed Makefile failed"
+ if use oss || [ -z "`use oss``use alsa`" ] ; then
emake clean || die
emake USEALSA=FALSE || die
mv libspu* ..
fi
- if [ `use alsa` ] ; then
+ if use alsa ; then
emake clean || die
emake USEALSA=TRUE || die
mv libspu* ..
@@ -45,7 +50,7 @@ src_compile() {
cd linuxcfg
econf || die
- emake || die
+ emake || die "emake failed"
mv src/spucfg src/cfgPeopsOSS
}