pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/softvms emulators/softvms: Import version 1.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c09a19af5fb5
branches:  trunk
changeset: 382954:c09a19af5fb5
user:      tpaul <tpaul%pkgsrc.org@localhost>
date:      Thu Jul 19 04:05:08 2018 +0000

description:
emulators/softvms: Import version 1.9

An emulator capable of running some Sega VMS games.

VMS games run on a Sega Dreamcast memory card called a VMU (or VMS in
some regions). It has a 48x32 monochrome LCD display, gamepad,
speaker, directional pad, four action buttons, and the ability to
connect to other VMUs.

ok <maya>
ok'd and new patches by <leot>

diffstat:

 emulators/softvms/DESCR                     |   6 ++++++
 emulators/softvms/Makefile                  |  26 ++++++++++++++++++++++++++
 emulators/softvms/PLIST                     |   2 ++
 emulators/softvms/distinfo                  |   8 ++++++++
 emulators/softvms/patches/patch-Makefile.in |  26 ++++++++++++++++++++++++++
 emulators/softvms/patches/patch-mainwin.c   |  12 ++++++++++++
 6 files changed, 80 insertions(+), 0 deletions(-)

diffs (104 lines):

diff -r 485e1cd15e34 -r c09a19af5fb5 emulators/softvms/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/softvms/DESCR   Thu Jul 19 04:05:08 2018 +0000
@@ -0,0 +1,6 @@
+An emulator capable of running some Sega VMS games.
+
+VMS games run on a Sega Dreamcast memory card called a VMU (or VMS in
+some regions). It has a 48x32 monochrome LCD display, gamepad,
+speaker, directional pad, four action buttons, and the ability to
+connect to other VMUs.
diff -r 485e1cd15e34 -r c09a19af5fb5 emulators/softvms/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/softvms/Makefile        Thu Jul 19 04:05:08 2018 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2018/07/19 04:05:08 tpaul Exp $
+
+DISTNAME=      softvms
+PKGNAME=       softvms-1.9
+CATEGORIES=    emulators
+MASTER_SITES=  http://mc.pp.se/dc/files/
+MASTER_SITES+= https://travispaul.me/distfiles/
+
+MAINTAINER=    tpaul%NetBSD.org@localhost
+HOMEPAGE=      http://mc.pp.se/dc/sw.html
+COMMENT=       Emulator capable of running some Sega VMS games
+LICENSE=       mit
+
+WRKSRC=                        ${WRKDIR}/vms
+GNU_CONFIGURE=         yes
+DIST_SUBDIR=           ${PKGNAME_NOREV}
+INSTALLATION_DIRS=     bin
+
+BUILD_TARGET=          vms
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/vms ${DESTDIR}${PREFIX}/bin/vms
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../audio/SDL_sound/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 485e1cd15e34 -r c09a19af5fb5 emulators/softvms/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/softvms/PLIST   Thu Jul 19 04:05:08 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/19 04:05:08 tpaul Exp $
+bin/vms
diff -r 485e1cd15e34 -r c09a19af5fb5 emulators/softvms/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/softvms/distinfo        Thu Jul 19 04:05:08 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/07/19 04:05:08 tpaul Exp $
+
+SHA1 (softvms-1.9/softvms.tar.gz) = 90052ac4dce049c5afd0b7068984d7041f52a3f4
+RMD160 (softvms-1.9/softvms.tar.gz) = e911a2e75428930789b41cd652dc525d872af686
+SHA512 (softvms-1.9/softvms.tar.gz) = 413a0661a69e92ff016dfe3ae93968355171e5b060c9c1dc7d78260e15f83b479b946d42bfabf69393542b5ab0f1e6330068fe3290cbf652af8fa4b21941a10e
+Size (softvms-1.9/softvms.tar.gz) = 68595 bytes
+SHA1 (patch-Makefile.in) = 0c75a7584a00ec8183ed1afb9db6434f145e1c2d
+SHA1 (patch-mainwin.c) = aaaee194e2e2ddd5caa706849df63afd3b21c906
diff -r 485e1cd15e34 -r c09a19af5fb5 emulators/softvms/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/softvms/patches/patch-Makefile.in       Thu Jul 19 04:05:08 2018 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-Makefile.in,v 1.1 2018/07/19 04:05:08 tpaul Exp $
+
+Avoid GNU make-isms ($^).
+
+--- Makefile.in.orig   2004-10-03 00:14:51.000000000 +0000
++++ Makefile.in
+@@ -6,15 +6,16 @@ LDFLAGS = @LDFLAGS@ @X_LIBS@
+ LIBS = @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ @LIBS@
+ 
+ VMSOBJS = main.o mainwin.o cpu.o lcdimg.o getopt.o
++NPDCLCDIMGOBJS = nsplugin.o
+ 
+ vms: $(VMSOBJS)
+-      $(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
++      $(CC) -o $@ $(VMSOBJS) $(LDFLAGS) $(LIBS)
+ 
+ nsplugin: NPdreamcast_lcdimg.so
+       :
+ 
+-NPdreamcast_lcdimg.so: nsplugin.o
+-      $(LD) -G -o $@ $^
++NPdreamcast_lcdimg.so: $(NPDCLCDIMGOBJS)
++      $(LD) -G -o $@ $(NPDCLCDIMGOBJS)
+ 
+ clean :
+       rm -f vms $(VMSOBJS)
diff -r 485e1cd15e34 -r c09a19af5fb5 emulators/softvms/patches/patch-mainwin.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/softvms/patches/patch-mainwin.c Thu Jul 19 04:05:08 2018 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-mainwin.c,v 1.1 2018/07/19 04:05:08 tpaul Exp $
+
+Also include <X11/Xutil.h>, needed for XDestroyImage() and XPutPixel().
+
+--- mainwin.c.orig     2004-10-02 19:24:33.000000000 +0000
++++ mainwin.c
+@@ -1,4 +1,5 @@
+ #include <X11/Xlib.h>
++#include <X11/Xutil.h>
+ #include <X11/keysym.h>
+ #ifdef HAVE_LIMITS_H
+ #include <limits.h>



Home | Main Index | Thread Index | Old Index