pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/arnold Initial import of arnold-20020127:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/995958431085
branches:  trunk
changeset: 461955:995958431085
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Wed Sep 24 10:53:27 2003 +0000

description:
Initial import of arnold-20020127:

        Arnold is an Amstrad CPC, Amstrad CPC+ and KC Compact emulator.
        Arnold is accurate and emulates the Amstrad systems to the cycle
        level. It also emulates 99% of all demo effects.

diffstat:

 emulators/arnold/DESCR            |   3 ++
 emulators/arnold/Makefile         |  48 +++++++++++++++++++++++++++++++++++++++
 emulators/arnold/PLIST            |  28 ++++++++++++++++++++++
 emulators/arnold/distinfo         |   6 ++++
 emulators/arnold/patches/patch-aa |  46 +++++++++++++++++++++++++++++++++++++
 emulators/arnold/patches/patch-ab |  22 +++++++++++++++++
 6 files changed, 153 insertions(+), 0 deletions(-)

diffs (177 lines):

diff -r 5e8087052fbd -r 995958431085 emulators/arnold/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/arnold/DESCR    Wed Sep 24 10:53:27 2003 +0000
@@ -0,0 +1,3 @@
+Arnold is an Amstrad CPC, Amstrad CPC+ and KC Compact emulator.
+Arnold is accurate and emulates the Amstrad systems to the cycle
+level. It also emulates 99% of all demo effects.
diff -r 5e8087052fbd -r 995958431085 emulators/arnold/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/arnold/Makefile Wed Sep 24 10:53:27 2003 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
+#
+
+DISTNAME=              arnsrc27012002
+PKGNAME=               arnold-20020127
+WRKSRC=                        ${WRKDIR}/arnold/src
+CATEGORIES=            emulators
+MASTER_SITES=          http://arnold.emuunlim.com/download/
+EXTRACT_SUFX=          .zip
+
+MAINTAINER=            dillo%NetBSD.org@localhost
+HOMEPAGE=              http://arnold.emuunlim.com/
+COMMENT=               Amstrad CPC, Amstrad CPC+ and KC Compact emulator
+
+# we want case sensitive file names.
+EXTRACT_CMD.zip=        ${LOCALBASE}/bin/unzip -aqo $${extract_file}
+
+USE_BUILDLINK2=                yes
+GNU_CONFIGURE=         yes
+ALL_TARGET=            arnold
+
+SHAREDIR=              ${PREFIX}/share/arnold
+DOCDIR=                        ${PREFIX}/share/doc/arnold
+MAKE_ENV+=             SHAREDIR=${SHAREDIR}
+
+post-extract:
+       ${CHMOD} +x ${WRKSRC}/configure
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/../arnold ${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${SHAREDIR}
+       ${INSTALL_DATA_DIR} ${SHAREDIR}/roms
+       for dir in amsdose cpc464e cpc6128e cpc664e cpcplus kcc; \
+       do \
+               ${INSTALL_DATA_DIR} ${SHAREDIR}/roms/$$dir; \
+               for f in ${WRKSRC}/../roms/$$dir/*; \
+               do \
+                       ${INSTALL_DATA} $$f ${SHAREDIR}/roms/$$dir; \
+               done \
+       done
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/../readme.txt ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/../readme.linux ${DOCDIR}
+
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5e8087052fbd -r 995958431085 emulators/arnold/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/arnold/PLIST    Wed Sep 24 10:53:27 2003 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
+bin/arnold
+share/arnold/roms/amsdose/amsdos.rom
+share/arnold/roms/amsdose/file_id.diz
+share/arnold/roms/cpc464e/basic.rom
+share/arnold/roms/cpc464e/file_id.diz
+share/arnold/roms/cpc464e/os.rom
+share/arnold/roms/cpc6128e/basic.rom
+share/arnold/roms/cpc6128e/file_id.diz
+share/arnold/roms/cpc6128e/os.rom
+share/arnold/roms/cpc664e/basic.rom
+share/arnold/roms/cpc664e/file_id.diz
+share/arnold/roms/cpc664e/os.rom
+share/arnold/roms/cpcplus/out.tmp
+share/arnold/roms/cpcplus/system.cpr
+share/arnold/roms/kcc/kccbas.rom
+share/arnold/roms/kcc/kccos.rom
+share/doc/arnold/readme.txt
+share/doc/arnold/readme.linux
+@dirrm share/doc/arnold
+@dirrm share/arnold/roms/kcc
+@dirrm share/arnold/roms/cpcplus
+@dirrm share/arnold/roms/cpc664e
+@dirrm share/arnold/roms/cpc6128e
+@dirrm share/arnold/roms/cpc464e
+@dirrm share/arnold/roms/amsdose
+@dirrm share/arnold/roms
+@dirrm share/arnold
diff -r 5e8087052fbd -r 995958431085 emulators/arnold/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/arnold/distinfo Wed Sep 24 10:53:27 2003 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
+
+SHA1 (arnsrc27012002.zip) = de3102b954d79176dce259375dc1824189027f8e
+Size (arnsrc27012002.zip) = 916680 bytes
+SHA1 (patch-aa) = 83ba9c44664d7d6fb938db0d250b4fc24702c09f
+SHA1 (patch-ab) = 3a733e50ee6f12dc2c37c378409e765a8b4d0c8d
diff -r 5e8087052fbd -r 995958431085 emulators/arnold/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/arnold/patches/patch-aa Wed Sep 24 10:53:27 2003 +0000
@@ -0,0 +1,46 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
+
+--- Makefile.in.orig   Sat Jan 19 15:49:14 2002
++++ Makefile.in
+@@ -25,7 +25,7 @@ SDLINC = @SDL_CFLAGS@
+ SDLLIB = @SDL_LIBS@
+ 
+ #-Wall for max warnings!
+-CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused
++CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused -DSHAREDIR=\"${SHAREDIR}\"
+ #-g3 -pg -dm -dp -a
+ LFLAGS1 = @LDFLAGS@ @LIBS@ $(GTKLIB) $(SDLLIB) $(X11LIBS)
+ #debug
+@@ -55,9 +55,30 @@ IFACEGEN_O= ifacegen/ifacegen.o ifacegen
+ UNIX_O= unix/main.o unix/host.o unix/global.o unix/settings.o \
+       unix/display.o unix/display_sdl.o unix/gtkui.o unix/sdlsound.o
+ 
++CPC_O2=       arnold.o asic.o audioevent.o bmp.o cpc.o \
++      crtc.o debugmain.o dirstuff.o dumpym.o fdc.o \
++      garray.o multface.o printer.o psgplay.o \
++      psg.o render.o render5.o scrsnap.o \
++      snapshot.o sampload.o spo256.o \
++      voc.o tzx.o wav.o westpha.o yiq.o \
++      debug.o z8536.o \
++      gdebug.o breakpt.o \
++      diskimg.o \
++      dsk.o extdsk.o \
++      iextdsk.o maketrk.o \
++      z80.o memdump.o \
++      riff.o snapv3.o expbuf.o \
++      cheatsys.o cpcdbg.o
++ 
++IFACEGEN_O2= ifacegen.o fnp.o romfn.o \
++      filetool.o
++ 
++UNIX_O2= main.o host.o global.o settings.o \
++      display.o display_sdl.o gtkui.o sdlsound.o
++ 
+ arnold:  $(CPC_O) $(IFACEGEN_O) $(UNIX_O)
+-      $(BIND) -o arnold $(LFLAGS1) $(CPC_O) $(IFACEGEN_O)     \
+-      $(UNIX_O) $(LFLAGS2) 
++      $(BIND) -o arnold $(LFLAGS1) $(CPC_O2) $(IFACEGEN_O2)   \
++      $(UNIX_O2) $(LFLAGS2) 
+       mv arnold ..
+ ctags:
+       ctags -R
diff -r 5e8087052fbd -r 995958431085 emulators/arnold/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/arnold/patches/patch-ab Wed Sep 24 10:53:27 2003 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
+
+--- unix/main.c.orig   Sun Nov  4 21:15:22 2001
++++ unix/main.c
+@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
+               char LocalDirectory[1024];
+               char ProgramDirectory[1024]="";
+               
+-              getcwd(ProgramDirectory, 1024);
++              strcpy(ProgramDirectory, SHAREDIR);
+ 
+ sprintf(LocalDirectory,"%s/roms/amsdose/",ProgramDirectory);
+       
+@@ -94,8 +94,6 @@ LocalDirectory);     
+ 
+       if (CPCEmulation_Initialise())
+         {
+-              chdir(ProgramDirectory);
+-
+               CPC_SetCPCType(CPC_TYPE_CPC6128);
+ 
+               if (argc!=0)



Home | Main Index | Thread Index | Old Index