diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-05-27 06:41:30 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-05-27 06:41:30 +0000 |
commit | d164bed059e1fcda6f1078f29a0883440b79b5a1 (patch) | |
tree | c4fdacfed0ce0b2193022810e70bc7af84e0668a /app-emulation/pcsx | |
parent | Added ~mips to KEYWORDS (diff) | |
download | gentoo-2-d164bed059e1fcda6f1078f29a0883440b79b5a1.tar.gz gentoo-2-d164bed059e1fcda6f1078f29a0883440b79b5a1.tar.bz2 gentoo-2-d164bed059e1fcda6f1078f29a0883440b79b5a1.zip |
new version 1.5 - someone please fix up RDEPEND if it's broken
Diffstat (limited to 'app-emulation/pcsx')
-rw-r--r-- | app-emulation/pcsx/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/pcsx/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/pcsx/files/digest-pcsx-1.5 | 1 | ||||
-rw-r--r-- | app-emulation/pcsx/pcsx-1.4.ebuild | 27 | ||||
-rw-r--r-- | app-emulation/pcsx/pcsx-1.5.ebuild | 59 |
5 files changed, 88 insertions, 15 deletions
diff --git a/app-emulation/pcsx/ChangeLog b/app-emulation/pcsx/ChangeLog index 46d24e730fb8..14788ead4d69 100644 --- a/app-emulation/pcsx/ChangeLog +++ b/app-emulation/pcsx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/pcsx # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/pcsx/ChangeLog,v 1.8 2003/04/07 06:21:37 yakina Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pcsx/ChangeLog,v 1.9 2003/05/27 06:41:26 msterret Exp $ + + 26 May 2003; <msterret@gentoo.org> pcsx-1.4.ebuild: + 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) diff --git a/app-emulation/pcsx/Manifest b/app-emulation/pcsx/Manifest new file mode 100644 index 000000000000..e1ab19741ad3 --- /dev/null +++ b/app-emulation/pcsx/Manifest @@ -0,0 +1,9 @@ +MD5 e424a9fbd16c31d1a405a9479a983bab ChangeLog 1446 +MD5 dad2cbdb355a1d2a20ba17ec66bb0c86 pcsx-1.2.ebuild 1379 +MD5 becb625e81d964bf8e5511486f1779ee pcsx-1.4.ebuild 1441 +MD5 2caa0f1304c7432ed2ab52fbfbfd2bbd pcsx-1.5.ebuild 1528 +MD5 5d4178cacae36906aaf26238d2f556b2 files/digest-pcsx-1.5 60 +MD5 d47ba5cc78699a47ca63e10dd25422e6 files/digest-pcsx-1.2 59 +MD5 78d2a92b191b337b97ccf66d5b7d1378 files/digest-pcsx-1.4 60 +MD5 186fef375ae66c3ee14a515e2d138122 files/ix86.h.diff 470 +MD5 2ec22b7ab3b9b321ffdc3ff7188d8d56 files/pcsx 1206 diff --git a/app-emulation/pcsx/files/digest-pcsx-1.5 b/app-emulation/pcsx/files/digest-pcsx-1.5 new file mode 100644 index 000000000000..b3b5dc8f697b --- /dev/null +++ b/app-emulation/pcsx/files/digest-pcsx-1.5 @@ -0,0 +1 @@ +MD5 591eaf198d3bb3da45a30e4fdffec11c PcsxSrc-1.5.tgz 441651 diff --git a/app-emulation/pcsx/pcsx-1.4.ebuild b/app-emulation/pcsx/pcsx-1.4.ebuild index 1efce30842ab..b5c82373ea51 100644 --- a/app-emulation/pcsx/pcsx-1.4.ebuild +++ b/app-emulation/pcsx/pcsx-1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/pcsx/pcsx-1.4.ebuild,v 1.4 2003/02/13 07:15:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pcsx/pcsx-1.4.ebuild,v 1.5 2003/05/27 06:41:26 msterret Exp $ S=${WORKDIR} DESCRIPTION="Playstation emulator" @@ -16,34 +16,33 @@ use opengl && GLDEPEND="app-emulation/psemu-gpupetemesagl" use opengl || GLDEPEND="app-emulation/psemu-peopssoftgpu" DEPEND="sys-libs/zlib + >=sys-apps/sed-4 app-arch/unzip x11-libs/gtk+ gnome-base/libglade" -#RDEPEND="net-misc/wget -# app-emulation/psemu-cdr -# app-emulation/psemu-cdriso -# app-emulation/psemu-padxwin -# app-emulation/psemu-padjoy -# app-emulation/psemu-peopsspu -# ${GLDEPEND}" +RDEPEND="app-emulation/psemu-cdr + app-emulation/psemu-cdriso + app-emulation/psemu-padxwin + app-emulation/psemu-padjoy + app-emulation/psemu-peopsspu + ${GLDEPEND}" src_compile() { cd PcsxSrc/Linux # Change some defaults... - sed -e 's:Plugin/:/usr/lib/psemu/plugins/:' \ + sed -i \ + -e 's:Plugin/:/usr/lib/psemu/plugins/:' \ -e 's:Bios/:/usr/lib/psemu/bios/:' \ -e 's:Pcsx.cfg:~/.pcsx/config:' \ - <LnxMain.c >LnxMain.tmp - mv -f LnxMain.tmp LnxMain.c + LnxMain.c || die "sed LnxMain.c failed" for f in `find ${WORKDIR} -regex '.*\.[ch]'` ; do - cp ${f}{,.old} - sed -e 's/
$//' ${f}.old > ${f} + sed -i -e 's/
$//' ${f} || die "sed ${f} failed" done - emake CC=gcc OPTIMIZE="${CFLAGS} -fPIC -fomit-frame-pointer -finline-functions -ffast-math" || die + emake CC=gcc OPTIMIZE="${CFLAGS} -fPIC -fomit-frame-pointer -finline-functions -ffast-math" || die "emake failed" mv pcsx pcsx.bin } diff --git a/app-emulation/pcsx/pcsx-1.5.ebuild b/app-emulation/pcsx/pcsx-1.5.ebuild new file mode 100644 index 000000000000..0c927b59106b --- /dev/null +++ b/app-emulation/pcsx/pcsx-1.5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pcsx/pcsx-1.5.ebuild,v 1.1 2003/05/27 06:41:26 msterret Exp $ + +S=${WORKDIR}/PcsxSrc-${PV} +DESCRIPTION="Playstation emulator" +HOMEPAGE="http://www.pcsx.net/" +SRC_URI="http://www.pcsx.net/downloads/PcsxSrc-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="opengl" + +if [ "`use opengl`" ] ; then + GLDEPEND="app-emulation/psemu-gpupetemesagl" +else + GLDEPEND="app-emulation/psemu-peopssoftgpu" +fi + +DEPEND="sys-libs/zlib + >=sys-apps/sed-4 + app-arch/unzip + x11-libs/gtk+ + gnome-base/libglade" + +RDEPEND="app-emulation/psemu-cdr + app-emulation/psemu-cdriso + app-emulation/psemu-padxwin + app-emulation/psemu-padjoy + app-emulation/psemu-peopsspu + ${GLDEPEND}" + +src_unpack() { + unpack PcsxSrc-${PV}.tgz + + # Change some hard-coded defaults... + sed -i \ + -e 's:Plugin/:/usr/lib/psemu/plugins/:' \ + -e 's:Bios/:/usr/lib/psemu/bios/:' \ + -e 's:Pcsx.cfg:~/.pcsx/config:' \ + ${S}/Linux/LnxMain.c || die "sed LnxMain.c failed" + + for f in `find ${S} -regex '.*\.[ch]'` ; do + sed -i -e 's/
$//' ${f} || die "sed ${f} failed" + done +} +src_compile() { + cd Linux && \ + econf && \ + emake CC=gcc OPTIMIZE="${CFLAGS} -fPIC -fomit-frame-pointer -finline-functions -ffast-math" || die "emake failed" + mv pcsx pcsx.bin +} + +src_install() { + dobin ${S}/Linux/pcsx.bin + dobin ${FILESDIR}/pcsx + dodoc ${S}/Docs/* +} |