summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-12 22:04:45 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-12 22:04:45 +0000
commit3bcf22aacc49590919e4e70ab5727cf7f23bbe00 (patch)
tree911a64a2767eccb810ff532ecc17d71214ac51e5 /games-emulation/pcsx2
parentUpdated ucd-snmp references to virtual/snmp which defaults to net-snmp the ne... (diff)
downloadgentoo-2-3bcf22aacc49590919e4e70ab5727cf7f23bbe00.tar.gz
gentoo-2-3bcf22aacc49590919e4e70ab5727cf7f23bbe00.tar.bz2
gentoo-2-3bcf22aacc49590919e4e70ab5727cf7f23bbe00.zip
ver bump
Diffstat (limited to 'games-emulation/pcsx2')
-rw-r--r--games-emulation/pcsx2/ChangeLog7
-rw-r--r--games-emulation/pcsx2/files/0.5-time-renames.patch16
-rw-r--r--games-emulation/pcsx2/files/digest-pcsx2-0.51
-rw-r--r--games-emulation/pcsx2/files/pcsx213
-rw-r--r--games-emulation/pcsx2/pcsx2-0.5.ebuild51
5 files changed, 82 insertions, 6 deletions
diff --git a/games-emulation/pcsx2/ChangeLog b/games-emulation/pcsx2/ChangeLog
index 7c629318b21a..6a8c9abd6dd7 100644
--- a/games-emulation/pcsx2/ChangeLog
+++ b/games-emulation/pcsx2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/pcsx2
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/ChangeLog,v 1.2 2003/09/10 15:58:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/ChangeLog,v 1.3 2003/12/12 22:03:46 vapier Exp $
+
+*pcsx2-0.5 (12 Dec 2003)
+
+ 12 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage.
*pcsx2-0.41 (14 Aug 2003)
diff --git a/games-emulation/pcsx2/files/0.5-time-renames.patch b/games-emulation/pcsx2/files/0.5-time-renames.patch
new file mode 100644
index 000000000000..96b924beffd7
--- /dev/null
+++ b/games-emulation/pcsx2/files/0.5-time-renames.patch
@@ -0,0 +1,16 @@
+--- Pcsx2Src/RPC/80000001fileio.h.orig 2003-08-14 11:39:42.319499152 -0400
++++ Pcsx2Src/RPC/80000001fileio.h 2003-08-14 11:40:09.145420992 -0400
+@@ -73,10 +73,10 @@
+ 4 Symbolic link */
+ unsigned int st_attr;// Flag compatible with memory card mode
+ unsigned int st_size;
+- unsigned char st_ctime[8];// Creation time
+- unsigned char st_atime[8];/* This field is updated at the same time as last access time
++ unsigned char sr_ctime[8];// Creation time
++ unsigned char sr_atime[8];/* This field is updated at the same time as last access time
+ and last update time. */
+- unsigned char st_mtime[8];/* Last update time
++ unsigned char sr_mtime[8];/* Last update time
+ byte0 Reserved
+ byte1 Seconds
+ byte2 Minutes
diff --git a/games-emulation/pcsx2/files/digest-pcsx2-0.5 b/games-emulation/pcsx2/files/digest-pcsx2-0.5
new file mode 100644
index 000000000000..b31be86cf526
--- /dev/null
+++ b/games-emulation/pcsx2/files/digest-pcsx2-0.5
@@ -0,0 +1 @@
+MD5 5f149055af85f2e728f808e75b497250 Pcsx2Src-0.5.tgz 936311
diff --git a/games-emulation/pcsx2/files/pcsx2 b/games-emulation/pcsx2/files/pcsx2
index 6a4776c3c882..e46f76428243 100644
--- a/games-emulation/pcsx2/files/pcsx2
+++ b/games-emulation/pcsx2/files/pcsx2
@@ -13,6 +13,7 @@ if [ ! -f ${HOME}/.pcsx2/Pcsx2.cfg ]; then
ln -s /usr/games/bin/pcsx2.bin pcsx2
ln -s /usr/games/lib/ps2emu/plugins/* Plugins/
ln -s /usr/games/lib/ps2emu/Langs Langs
+ ln -s /usr/games/lib/ps2emu/cfg cfg
cd Bios
if [ -f /usr/games/lib/ps2emu/bios/scph1001.bin ]; then
@@ -23,13 +24,15 @@ if [ ! -f ${HOME}/.pcsx2/Pcsx2.cfg ]; then
fi
cd ..
+ firstplugin() { echo $(basename $(ls "$@" | cut -f1 -d\ ) ) 2>/dev/null ; }
cat >${HOME}/.pcsx2/Pcsx2.cfg <<EOF
Bios = $biosname
-GS = $(basename $(ls Plugins/libGS* | cut -f1 -d\ ) )
-SPU2 = $(basename $(ls Plugins/libSPU2* | cut -f1 -d\ ) )
-CDVD = $(basename $(ls Plugins/libCDVD* | cut -f1 -d\ ) )
-PAD1 = $(basename $(ls Plugins/libPADxwin-* | cut -f1 -d\ ) )
-PAD2 = $(basename $(ls Plugins/libPADxwin-* | cut -f1 -d\ ) )
+GS = $(firstplugin Plugins/libGS* )
+SPU2 = $(firstplugin Plugins/libSPU2* )
+CDVD = $(firstplugin Plugins/libCDVD* )
+PAD1 = $(firstplugin Plugins/libPADxwin* )
+PAD2 = $(firstplugin Plugins/libPADxwin* )
+DEV9 = $(firstplugin Plugins/libDEV9null* )
Mcd1 = ${HOME}/.pcsx2/memcards/Mcd001.mcr
Mcd2 = ${HOME}/.pcsx2/memcards/Mcd002.mcr
PluginsDir = ${HOME}/.pcsx2/Plugins/
diff --git a/games-emulation/pcsx2/pcsx2-0.5.ebuild b/games-emulation/pcsx2/pcsx2-0.5.ebuild
new file mode 100644
index 000000000000..46574cabada5
--- /dev/null
+++ b/games-emulation/pcsx2/pcsx2-0.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/pcsx2-0.5.ebuild,v 1.1 2003/12/12 22:03:46 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Playstation2 emulator"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/${PV:0:3}release/Pcsx2Src-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="virtual/x11
+ =x11-libs/gtk+-1*
+ || (
+ >=games-emulation/ps2emu-cddvdlinuz-0.3
+ >=games-emulation/ps2emu-cdvdiso-0.3
+ )
+ >=games-emulation/ps2emu-gssoft-0.61
+ >=games-emulation/ps2emu-padxwin-0.5
+ >=games-emulation/ps2emu-spu2null-0.21
+ >=games-emulation/ps2emu-dev9null-0.1"
+DEPEND="${RDEPEND}
+ dev-lang/nasm"
+
+S=${WORKDIR}/Pcsx2Src-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-time-renames.patch
+}
+
+src_compile() {
+ cd ${S}/ix86-32/GoldRec
+ emake OPTIMIZE="${CFLAGS}" || die "goldrec building failed"
+ cd ${S}/Linux
+ emake OPTIMIZE="${CFLAGS}" || die "linux building failed"
+}
+
+src_install() {
+ newgamesbin Linux/pcsx2 pcsx2.bin
+ dogamesbin ${FILESDIR}/pcsx2
+ dodir ${GAMES_LIBDIR}/ps2emu/Langs
+ rm -rf Intl/Langs/cvs
+ cp -r Intl/Langs/* ${D}/${GAMES_LIBDIR}/ps2emu/Langs/
+ dodoc Docs/*.txt
+ prepgamesdirs
+}