diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-07 07:13:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-07 07:13:45 +0000 |
commit | f7bd2f95c7b90ed9a2649790345f76de114496f5 (patch) | |
tree | e77077b213bb43b0c90506ec9be1393ab1dc183d /games-emulation/ps2emu-gssoft | |
parent | Version 1.0.2 tested and works on MIPS. Added ~mips keyword. (diff) | |
download | historical-f7bd2f95c7b90ed9a2649790345f76de114496f5.tar.gz historical-f7bd2f95c7b90ed9a2649790345f76de114496f5.tar.bz2 historical-f7bd2f95c7b90ed9a2649790345f76de114496f5.zip |
Version bump and clean up amd64 support.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-emulation/ps2emu-gssoft')
5 files changed, 102 insertions, 5 deletions
diff --git a/games-emulation/ps2emu-gssoft/ChangeLog b/games-emulation/ps2emu-gssoft/ChangeLog index e7a8a13436de..7b85d45be5ab 100644 --- a/games-emulation/ps2emu-gssoft/ChangeLog +++ b/games-emulation/ps2emu-gssoft/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/ps2emu-gssoft # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-gssoft/ChangeLog,v 1.6 2005/08/07 04:53:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-gssoft/ChangeLog,v 1.7 2005/08/07 07:13:45 vapier Exp $ + +*ps2emu-gssoft-0.9 (07 Aug 2005) + + 07 Aug 2005; Mike Frysinger <vapier@gentoo.org> + +files/ps2emu-gssoft-0.9-gentoo.patch, +ps2emu-gssoft-0.9.ebuild: + Version bump and clean up amd64 support. *ps2emu-gssoft-0.6.1 (12 Dec 2003) diff --git a/games-emulation/ps2emu-gssoft/Manifest b/games-emulation/ps2emu-gssoft/Manifest index 08c7228d1720..c3216937c0fd 100644 --- a/games-emulation/ps2emu-gssoft/Manifest +++ b/games-emulation/ps2emu-gssoft/Manifest @@ -1,14 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 0372546ea9bcec2916e5ce7d0f64129d ps2emu-gssoft-0.9.ebuild 1008 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 bff04080295f4bf58991f54ae1b0ff30 ps2emu-gssoft-0.6.1.ebuild 878 -MD5 bd00f8f9c6309f49596aef361b00f28b ChangeLog 468 +MD5 3208c718213ec16f2fe79665f8518707 ChangeLog 664 MD5 a1009be2d1e95d9ceaacdb2f481c82fc files/digest-ps2emu-gssoft-0.6.1 60 +MD5 630aac09a02e38ccd4fd77073b968dae files/digest-ps2emu-gssoft-0.9 58 +MD5 150b0f64695512493376ada8e4401757 files/ps2emu-gssoft-0.9-gentoo.patch 850 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFC9ZPxgIKl8Uu19MoRAgvyAJ9wWH2+amreF1sPDQd0BCo82i1cBQCfY83v -CUFtOLbLMO97sarZnU9tCYk= -=1ioZ +iD8DBQFC9bTAgIKl8Uu19MoRAlTqAJ0Z/RU+XCzbPjJMjVrt0ZJ/LsCqSACbBd5n +g2z2aXmxNZIDwcQ5L0t//OY= +=2equ -----END PGP SIGNATURE----- diff --git a/games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.9 b/games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.9 new file mode 100644 index 000000000000..c99f621f0e20 --- /dev/null +++ b/games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.9 @@ -0,0 +1 @@ +MD5 ece45f6b9b0956d94e79984a5f024234 GSsoft0.9.rar 330468 diff --git a/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-gentoo.patch b/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-gentoo.patch new file mode 100644 index 000000000000..cc705ab2a4b1 --- /dev/null +++ b/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-gentoo.patch @@ -0,0 +1,45 @@ +--- Src/Texts.c ++++ Src/Texts.c +@@ -17,6 +17,7 @@ + */
+
+ #include <math.h>
++#include <string.h> +
+ #include "GS.h"
+ #include "Texts.h"
+--- Src/Linux/Conf.c ++++ Src/Linux/Conf.c +@@ -21,6 +21,7 @@ + #include <sys/types.h>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <string.h> +
+ #include "GS.h"
+
+--- Src/x86/ix86_cpudetect.c ++++ Src/x86/ix86_cpudetect.c +@@ -124,16 +124,19 @@ +
+ __asm__ __volatile__ (
+ #ifdef __x86_64__
++#define AX "%%rax"
+ "sub $0x18, %%rsp\n"
++#else
++#define AX "%%eax"
+ #endif
+ "pushf\n"
+- "pop %%eax\n"
++ "pop "AX"\n"
+ "mov %%eax, %%edx\n"
+ "xor $0x200000, %%eax\n"
+- "push %%eax\n"
++ "push "AX"\n"
+ "popf\n"
+ "pushf\n"
+- "pop %%eax\n"
++ "pop "AX"\n"
+ "xor %%edx, %%eax\n"
+ "mov %%eax, %0\n"
+ #ifdef __x86_64__
diff --git a/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.9.ebuild b/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.9.ebuild new file mode 100644 index 000000000000..a16c2a83291a --- /dev/null +++ b/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.9.ebuild,v 1.1 2005/08/07 07:13:45 vapier Exp $ + +inherit games + +DESCRIPTION="PSEmu2 GPU plugin" +HOMEPAGE="http://www.pcsx2.net/" +SRC_URI="http://www.pcsx2.net/download/0.8release/GSsoft${PV}.rar" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="virtual/opengl + media-libs/libsdl + virtual/x11 + =x11-libs/gtk+-1*" +DEPEND="${RDEPEND} + app-arch/unrar" + +S=${WORKDIR}/GSsoft${PV} + +src_unpack() { + unrar x -idq "${DISTDIR}"/${A} + cd "${S}" + sed -i 's:-O2 -fomit-frame-pointer -ffast-math:$(OPTFLAGS):' Src/Linux/Makefile || die + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + cd Src/Linux + emake OPTFLAGS="${CFLAGS}" || die "make failed" +} + +src_install() { + dodoc ReadMe.txt + exeinto "${GAMES_LIBDIR}"/ps2emu/plugins + newexe Src/Linux/libGSsoft.so libGSsoft-${PV}.so || die + prepgamesdirs +} |