pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Oct 19 08:23:15 UTC 2024

Modified Files:
        pkgsrc/emulators: Makefile
Added Files:
        pkgsrc/emulators/supermodel: DESCR Makefile PLIST distinfo
        pkgsrc/emulators/supermodel/patches:
            patch-Makefiles_Makefile.SDL.UNIX.GCC

Log Message:
Import emulators/supermodel

Supermodel emulates Sega's Model 3 arcade platform, allowing you to play a
number of ground-breaking arcade classics on your PC. It uses OpenGL and
the SDL library.

Model 3 first made its debut in 1996 with Virtua Fighter 3 and Scud Race,
and for the subsequent two years boasted the most powerful 3D hardware of
any gaming platform.


To generate a diff of this commit:
cvs rdiff -u -r1.364 -r1.365 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/supermodel/DESCR \
    pkgsrc/emulators/supermodel/Makefile pkgsrc/emulators/supermodel/PLIST \
    pkgsrc/emulators/supermodel/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/supermodel/patches/patch-Makefiles_Makefile.SDL.UNIX.GCC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.364 pkgsrc/emulators/Makefile:1.365
--- pkgsrc/emulators/Makefile:1.364     Tue Aug 27 16:56:17 2024
+++ pkgsrc/emulators/Makefile   Sat Oct 19 08:23:14 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.364 2024/08/27 16:56:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.365 2024/10/19 08:23:14 nia Exp $
 #
 
 COMMENT=       Emulators for other machines and systems
@@ -200,6 +200,7 @@ SUBDIR+=    snes9x-gtk
 SUBDIR+=       softvms
 SUBDIR+=       spim
 SUBDIR+=       stella
+SUBDIR+=       supermodel
 SUBDIR+=       suse100_32_alsa
 SUBDIR+=       suse100_32_aspell
 SUBDIR+=       suse100_32_base

Added files:

Index: pkgsrc/emulators/supermodel/DESCR
diff -u /dev/null pkgsrc/emulators/supermodel/DESCR:1.1
--- /dev/null   Sat Oct 19 08:23:15 2024
+++ pkgsrc/emulators/supermodel/DESCR   Sat Oct 19 08:23:15 2024
@@ -0,0 +1,7 @@
+Supermodel emulates Sega's Model 3 arcade platform, allowing you to play a
+number of ground-breaking arcade classics on your PC. It uses OpenGL and
+the SDL library.
+
+Model 3 first made its debut in 1996 with Virtua Fighter 3 and Scud Race,
+and for the subsequent two years boasted the most powerful 3D hardware of
+any gaming platform.
Index: pkgsrc/emulators/supermodel/Makefile
diff -u /dev/null pkgsrc/emulators/supermodel/Makefile:1.1
--- /dev/null   Sat Oct 19 08:23:15 2024
+++ pkgsrc/emulators/supermodel/Makefile        Sat Oct 19 08:23:15 2024
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2024/10/19 08:23:15 nia Exp $
+
+DISTNAME=      Supermodel_0.2a_Src
+PKGNAME=       ${DISTNAME:tl:S/_src//1:S/_/-/g}
+CATEGORIES=    emulators
+MASTER_SITES=  https://www.supermodel3.com/Files/
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.supermodel3.com/index.html
+COMMENT=       Sega Model 3 Arcade Emulator
+LICENSE=       gnu-gpl-v3
+
+USE_TOOLS+=    gmake
+USE_LANGUAGES= c c++
+MAKE_FILE=     Makefiles/Makefile.SDL.UNIX.GCC
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Linux"
+CFLAGS+=       -DUSE_FILE32API=1
+.endif
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/doc/supermodel
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/Supermodel \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/Docs/*.txt \
+               ${DESTDIR}${PREFIX}/share/doc/supermodel
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/supermodel/PLIST
diff -u /dev/null pkgsrc/emulators/supermodel/PLIST:1.1
--- /dev/null   Sat Oct 19 08:23:15 2024
+++ pkgsrc/emulators/supermodel/PLIST   Sat Oct 19 08:23:15 2024
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2024/10/19 08:23:15 nia Exp $
+bin/Supermodel
+share/doc/supermodel/LICENSE.txt
+share/doc/supermodel/README.txt
Index: pkgsrc/emulators/supermodel/distinfo
diff -u /dev/null pkgsrc/emulators/supermodel/distinfo:1.1
--- /dev/null   Sat Oct 19 08:23:15 2024
+++ pkgsrc/emulators/supermodel/distinfo        Sat Oct 19 08:23:15 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/10/19 08:23:15 nia Exp $
+
+BLAKE2s (Supermodel_0.2a_Src.zip) = ad64ec39f3d82a693974c30a37e1263bb62f1cd94926a62d1278fd5ea1591a60
+SHA512 (Supermodel_0.2a_Src.zip) = 2dd924453749941df0b5992a94d4d3b73914a1ee7e1955fed10bfa22fbe1e770747ee85d21423a4be696cf3a1d74db967325aca921d679cf6cef045792e82de4
+Size (Supermodel_0.2a_Src.zip) = 1029004 bytes
+SHA1 (patch-Makefiles_Makefile.SDL.UNIX.GCC) = 619306f14497704e25514b100880ee454edc06c2

Index: pkgsrc/emulators/supermodel/patches/patch-Makefiles_Makefile.SDL.UNIX.GCC
diff -u /dev/null pkgsrc/emulators/supermodel/patches/patch-Makefiles_Makefile.SDL.UNIX.GCC:1.1
--- /dev/null   Sat Oct 19 08:23:15 2024
+++ pkgsrc/emulators/supermodel/patches/patch-Makefiles_Makefile.SDL.UNIX.GCC   Sat Oct 19 08:23:15 2024
@@ -0,0 +1,34 @@
+$NetBSD: patch-Makefiles_Makefile.SDL.UNIX.GCC,v 1.1 2024/10/19 08:23:15 nia Exp $
+
+Respect pkgsrc settings.
+Automate generation of m68k emulation code.
+
+--- Makefiles/Makefile.SDL.UNIX.GCC.orig       2012-01-11 15:47:40.000000000 +0000
++++ Makefiles/Makefile.SDL.UNIX.GCC
+@@ -65,12 +65,11 @@ OUTFILE = $(BIN_DIR)/Supermodel
+ # Compiler and Linker
+ ###############################################################################
+ 
+-CC = gcc
+-LD = gcc
+-COMPILER_FLAGS = $(SDL_CFLAGS) -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -O3
+-CFLAGS = $(COMPILER_FLAGS)
+-CPPFLAGS = $(COMPILER_FLAGS)
+-LFLAGS = -o $(OUTFILE) $(SDL_LIBFLAGS) -lGL -lGLU -lz -lm -lstdc++
++LD = $(CXX)
++COMPILER_FLAGS = $(SDL_CFLAGS) -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98
++CFLAGS += $(COMPILER_FLAGS)
++CPPFLAGS += $(COMPILER_FLAGS)
++LFLAGS = -o $(OUTFILE) $(LDFLAGS) $(SDL_LIBFLAGS) -lGLU -lz -lm
+ 
+ #
+ # Build options...
+@@ -220,3 +219,8 @@ $(OBJ_DIR)/amp_%.o:        Src/Sound/MPEG/%.cpp
+       
+ $(OBJ_DIR)/amp_%.o:   Src/Sound/MPEG/%.cpp
+       $(CC) $< $(CPPFLAGS) -o $(OBJ_DIR)/amp_$(*F).o
++
++
++$(OBJ_DIR)/m68kops.h $(OBJ_DIR)/m68kops.c $(OBJ_DIR)/m68kopac.c $(OBJ_DIR)/m68kopdm.c $(OBJ_DIR)/m68kopnz.c:  $(OBJ_DIR)/m68kmake Src/CPU/68K/Musashi/m68k_in.c Src/CPU/68K/Musashi/m68k.h 
Src/CPU/68K/Musashi/m68kconf.h | $(OBJ_DIR)
++      $(info Generating 68K emulator: $@)
++      $(OBJ_DIR)/m68kmake $(OBJ_DIR) Src/CPU/68K/Musashi/m68k_in.c



Home | Main Index | Thread Index | Old Index