diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-16 14:25:34 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-16 14:25:34 +0000 |
commit | f031553f642edb2527564320bac84e996acd2247 (patch) | |
tree | 9ee15402dbf39c44568f31adc532650c6f2abec9 /emulators/gcube | |
parent | 3daf186f1f8d58cf5c9919dbf938acc07bd78188 (diff) | |
download | pkgsrc-f031553f642edb2527564320bac84e996acd2247.tar.gz |
Initial import of gcube-0.2.
Gcube is an open source Nintendo GameCube(TM) emulator beeing developed
by monk with the main purpose of running at least one commercial game
fully emulated.
Diffstat (limited to 'emulators/gcube')
-rw-r--r-- | emulators/gcube/DESCR | 3 | ||||
-rw-r--r-- | emulators/gcube/Makefile | 40 | ||||
-rw-r--r-- | emulators/gcube/PLIST | 10 | ||||
-rw-r--r-- | emulators/gcube/distinfo | 6 | ||||
-rw-r--r-- | emulators/gcube/patches/patch-aa | 19 | ||||
-rw-r--r-- | emulators/gcube/patches/patch-ab | 33 |
6 files changed, 111 insertions, 0 deletions
diff --git a/emulators/gcube/DESCR b/emulators/gcube/DESCR new file mode 100644 index 00000000000..c136b0759fc --- /dev/null +++ b/emulators/gcube/DESCR @@ -0,0 +1,3 @@ +Gcube is an open source Nintendo GameCube(TM) emulator beeing developed +by monk with the main purpose of running at least one commercial game +fully emulated. diff --git a/emulators/gcube/Makefile b/emulators/gcube/Makefile new file mode 100644 index 00000000000..67637712a02 --- /dev/null +++ b/emulators/gcube/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $ +# + +DISTNAME= gcube-v0.2-src +PKGNAME= gcube-0.2 +CATEGORIES= emulators +MASTER_SITES= http://gcube.exemu.net/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://gcube.exemu.net/ +COMMENT= Opensource Nintendo GameCube(TM) emulator + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make +USE_X11= yes +WRKSRC= ${WRKDIR} + +.include "../../mk/bsd.prefs.mk" + +.if !empty(MACHINE_ARCH:Mi386) +BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm +CFLAGS+= -DASM_X86=1 +.endif + +INSTALLATION_DIRS= share/doc/${PKGBASE} bin + +do-install: +.for prog in isopack gcube bin2dol gcmap tplx + ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin +.endfor +.for f in README ChangeLog COPYING + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE} +.endfor + +.include "../../devel/SDL/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/gcube/PLIST b/emulators/gcube/PLIST new file mode 100644 index 00000000000..0fdd3504144 --- /dev/null +++ b/emulators/gcube/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $ +bin/bin2dol +bin/gcmap +bin/gcube +bin/isopack +bin/tplx +share/doc/gcube/COPYING +share/doc/gcube/ChangeLog +share/doc/gcube/README +@dirrm share/doc/gcube diff --git a/emulators/gcube/distinfo b/emulators/gcube/distinfo new file mode 100644 index 00000000000..48f380a9662 --- /dev/null +++ b/emulators/gcube/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $ + +SHA1 (gcube-v0.2-src.tar.bz2) = 0681f1bf3f64208616984a5352d9ebeaff5ed8c6 +Size (gcube-v0.2-src.tar.bz2) = 297817 bytes +SHA1 (patch-aa) = 1bb0e7b6429bc0df0694bf9cbd7b41975f727f73 +SHA1 (patch-ab) = 119d81c03a38bfc76a9fe063e6cb347b8fddd60d diff --git a/emulators/gcube/patches/patch-aa b/emulators/gcube/patches/patch-aa new file mode 100644 index 00000000000..f0187f659aa --- /dev/null +++ b/emulators/gcube/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $ + +--- Makefile.rules.orig 2004-07-16 14:47:19.000000000 +0200 ++++ Makefile.rules 2004-07-16 14:48:09.000000000 +0200 +@@ -1,10 +1,10 @@ + + SDL_CONFIG=sdl-config +-LIBS=-lSDL -lz -l$(OPENGL) ++LIBS=-lSDL -lz -l$(OPENGL) $(LDFLAGS) + +-CFLAGS=-g -Wall +-PROFLAGS=-g -Wall -pg -fprofile-arcs -ftest-coverage +-OPTFLAGS=-O3 -fno-strict-aliasing -fomit-frame-pointer -ffast-math -march=$(CPU) $(OPTIMIZE) ++#CFLAGS=-g -Wall ++#PROFLAGS=-g -Wall -pg -fprofile-arcs -ftest-coverage ++OPTFLAGS=-fno-strict-aliasing -fomit-frame-pointer -ffast-math + + OBJECTS=\ + ppc_disasm.o\ diff --git a/emulators/gcube/patches/patch-ab b/emulators/gcube/patches/patch-ab new file mode 100644 index 00000000000..68f1761a2bf --- /dev/null +++ b/emulators/gcube/patches/patch-ab @@ -0,0 +1,33 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/07/16 14:25:34 xtraeme Exp $ + +--- Makefile.orig 2004-07-16 14:57:16.000000000 +0200 ++++ Makefile 2004-07-16 14:57:30.000000000 +0200 +@@ -1,8 +1,8 @@ + # use assembler optimizations +-ASM_X86=1 ++#ASM_X86=1 + + # use debugger: 1 - by default, 2 - compile in but don't use by default +-GDEBUG=2 ++#GDEBUG=2 + + # by default, no window will open until fb address is set + # or video mode is specified. some programs might not reach that stage. +@@ -18,7 +18,7 @@ + MEMHACK=0 + + # specify the cpu used (for -march, check gcc manual) +-CPU=i686 ++#CPU=i686 + #CPU=athlon-xp + + # add here optimization flags +@@ -28,7 +28,7 @@ + OPENGL=GL + + # compilator +-CC=gcc ++#CC=gcc + + # if byteswap.h is present + USE_BYTESWAP_H=1 |