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: Mon Jul 3 21:49:20 UTC 2023
Modified Files:
pkgsrc/emulators: Makefile
Added Files:
pkgsrc/emulators/advancemame: DESCR MESSAGE Makefile PLIST distinfo
options.mk
pkgsrc/emulators/advancemame/files: advancemame.desktop
Log Message:
Import emulators/advancemame
AdvanceMAME is an unofficial port of the arcade game emulator MAME
0.106 and multi-system emulator MESS 0.106 for Arcade Monitors and
TVs but also for LCDs and PC monitors.
The main difference compared with the official emulators is that
the Advance versions are able to program directly the video board
to always get a video mode with the correct size and frequency.
Generally the Advance emulators are able to use a video mode which
doesn't require any stretching or other unneeded effects to match
the original arcade display.
To generate a diff of this commit:
cvs rdiff -u -r1.351 -r1.352 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/advancemame/DESCR \
pkgsrc/emulators/advancemame/MESSAGE \
pkgsrc/emulators/advancemame/Makefile pkgsrc/emulators/advancemame/PLIST \
pkgsrc/emulators/advancemame/distinfo \
pkgsrc/emulators/advancemame/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/advancemame/files/advancemame.desktop
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.351 pkgsrc/emulators/Makefile:1.352
--- pkgsrc/emulators/Makefile:1.351 Sun Jul 2 17:32:30 2023
+++ pkgsrc/emulators/Makefile Mon Jul 3 21:49:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.351 2023/07/02 17:32:30 nia Exp $
+# $NetBSD: Makefile,v 1.352 2023/07/03 21:49:20 nia Exp $
#
COMMENT= Emulators for other machines and systems
@@ -14,6 +14,7 @@ SUBDIR+= PC6001VX
SUBDIR+= ROMBuild
SUBDIR+= ROMInfo
SUBDIR+= ZIPIdent
+SUBDIR+= advancemame
SUBDIR+= aliados
SUBDIR+= applyppf
SUBDIR+= aranym
Added files:
Index: pkgsrc/emulators/advancemame/DESCR
diff -u /dev/null pkgsrc/emulators/advancemame/DESCR:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/DESCR Mon Jul 3 21:49:20 2023
@@ -0,0 +1,11 @@
+AdvanceMAME is an unofficial port of the arcade game emulator MAME
+0.106 and multi-system emulator MESS 0.106 for Arcade Monitors and
+TVs but also for LCDs and PC monitors.
+
+The main difference compared with the official emulators is that
+the Advance versions are able to program directly the video board
+to always get a video mode with the correct size and frequency.
+
+Generally the Advance emulators are able to use a video mode which
+doesn't require any stretching or other unneeded effects to match
+the original arcade display.
Index: pkgsrc/emulators/advancemame/MESSAGE
diff -u /dev/null pkgsrc/emulators/advancemame/MESSAGE:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/MESSAGE Mon Jul 3 21:49:20 2023
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2023/07/03 21:49:20 nia Exp $
+
+AdvanceMENU expects ROMs to be installed to
+${PREFIX}/share/advance/rom or ${HOME}/.advance/rom.
+
+If none are installed it will not be able to launch.
+
+===========================================================================
Index: pkgsrc/emulators/advancemame/Makefile
diff -u /dev/null pkgsrc/emulators/advancemame/Makefile:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/Makefile Mon Jul 3 21:49:20 2023
@@ -0,0 +1,124 @@
+# $NetBSD: Makefile,v 1.1 2023/07/03 21:49:20 nia Exp $
+
+DISTNAME= advancemame-3.9
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=amadvance/}
+GITHUB_PROJECT= advancemame
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://www.advancemame.it/
+COMMENT= Arcade game emulator with advanced video support
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= egrep zip gzip pkg-config ksh gmake
+USE_LANGUAGES= c c++
+
+CONFIG_SHELL= ksh
+
+TOOL_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
+
+CONFIGURE_ARGS+= --enable-expat
+CONFIGURE_ARGS+= --enable-zlib
+CONFIGURE_ARGS+= --enable-sdl2
+CONFIGURE_ARGS+= --disable-sdl
+
+# i386-only, probably requires an external assembler
+# not tested
+CONFIGURE_ARGS+= --disable-asm
+CONFIGURE_ARGS+= --disable-asm-mips3
+
+CONFIGURE_ARGS+= --prefix=${DESTDIR}${PREFIX}
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
+CONFIGURE_ARGS+= --enable-pthread
+.else
+CONFIGURE_ARGS+= --disable-pthread
+.endif
+
+.include "../../mk/oss.buildlink3.mk"
+
+.if defined(OSS_TYPE) && ${OSS_TYPE} != "none"
+CONFIGURE_ARGS+= --enable-oss
+LDFLAGS+= ${BUILDLINK_LDADD.oss}
+.else
+CONFIGURE_ARGS+= --disable-oss
+.endif
+
+ICON_SIZES= 16 32 48 256
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/doc/advancemame
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+INSTALLATION_DIRS+= share/advance
+INSTALLATION_DIRS+= share/advance/rom
+INSTALLATION_DIRS+= share/advance/sample
+INSTALLATION_DIRS+= share/advance/artwork
+INSTALLATION_DIRS+= share/advance/image
+INSTALLATION_DIRS+= share/advance/image/ti99_4a
+INSTALLATION_DIRS+= share/advance/crc
+INSTALLATION_DIRS+= share/advance/snap
+INSTALLATION_DIRS+= share/advance/snap/ti99_4a
+INSTALLATION_DIRS+= share/applications
+.for size in ${ICON_SIZES}
+INSTALLATION_DIRS+= share/icons/hicolor/${size}x${size}/apps
+.endfor
+
+MANPAGES= advcfg.1 advdev.1 advj.1 advk.1 advm.1 advmame.1 \
+ advmenu.1 advs.1 advv.1
+
+HTMLDOCS= authors.html build.html carddos.html cardlinx.html \
+ cardwin.html cost.html faq.html history.html install.html \
+ readme.html release.html script.html svgawin.html
+
+post-configure:
+ # Sigh... avoid a conflict with an internal header.
+ ${RM} -f ${BUILDLINK_DIR}/include/png.h
+ ${PREFIX}/bin/convert ${WRKSRC}/contrib/logo/megaman.ico[2] \
+ ${WRKDIR}/advancemame-48.png
+ ${PREFIX}/bin/convert ${WRKSRC}/contrib/logo/megaman.ico[3] \
+ ${WRKDIR}/advancemame-32.png
+ ${PREFIX}/bin/convert ${WRKSRC}/contrib/logo/megaman.ico[4] \
+ ${WRKDIR}/advancemame-16.png
+ ${PREFIX}/bin/convert ${WRKSRC}/contrib/logo/megaman.ico[5] \
+ ${WRKDIR}/advancemame-256.png
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/mame/generic/blend/advmame \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/mess/generic/blend/advmess \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/menu/generic/blend/advmenu \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/s/generic/blend/advs \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/k/generic/blend/advk \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/j/generic/blend/advj \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/obj/m/generic/blend/advm \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${FILESDIR}/advancemame.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+.for size in ${ICON_SIZES}
+ ${INSTALL_DATA} ${WRKDIR}/advancemame-${size}.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps/advancemame.png
+.endfor
+.for file in ${MANPAGES}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${file} \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.endfor
+.for file in ${HTMLDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${file} \
+ ${DESTDIR}${PREFIX}/share/doc/advancemame
+.endfor
+
+.include "options.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/advancemame/PLIST
diff -u /dev/null pkgsrc/emulators/advancemame/PLIST:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/PLIST Mon Jul 3 21:49:20 2023
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/03 21:49:20 nia Exp $
+bin/advj
+bin/advk
+bin/advm
+bin/advmame
+bin/advmenu
+bin/advmess
+bin/advs
+man/man1/advcfg.1
+man/man1/advdev.1
+man/man1/advj.1
+man/man1/advk.1
+man/man1/advm.1
+man/man1/advmame.1
+man/man1/advmenu.1
+man/man1/advs.1
+man/man1/advv.1
+share/applications/advancemame.desktop
+share/doc/advancemame/authors.html
+share/doc/advancemame/build.html
+share/doc/advancemame/carddos.html
+share/doc/advancemame/cardlinx.html
+share/doc/advancemame/cardwin.html
+share/doc/advancemame/cost.html
+share/doc/advancemame/faq.html
+share/doc/advancemame/history.html
+share/doc/advancemame/install.html
+share/doc/advancemame/readme.html
+share/doc/advancemame/release.html
+share/doc/advancemame/script.html
+share/doc/advancemame/svgawin.html
+share/icons/hicolor/16x16/apps/advancemame.png
+share/icons/hicolor/256x256/apps/advancemame.png
+share/icons/hicolor/32x32/apps/advancemame.png
+share/icons/hicolor/48x48/apps/advancemame.png
+@pkgdir share/advance/snap/ti99_4a
+@pkgdir share/advance/sample
+@pkgdir share/advance/rom
+@pkgdir share/advance/image/ti99_4a
+@pkgdir share/advance/crc
+@pkgdir share/advance/artwork
Index: pkgsrc/emulators/advancemame/distinfo
diff -u /dev/null pkgsrc/emulators/advancemame/distinfo:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/distinfo Mon Jul 3 21:49:20 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/07/03 21:49:20 nia Exp $
+
+BLAKE2s (advancemame-3.9.tar.gz) = 967c6807e8181cfa607ad00e14c546faac352cea6113424b46b3d9cbde28a6a3
+SHA512 (advancemame-3.9.tar.gz) = 43f9ba746f222b17ade2d213d6af7cc8fe6b3ee6008633f02b8877f4c7f75628bdf1cc9718db09f5f9a482d194c8ba94f9047334e8012d23c598454e5dab2eb3
+Size (advancemame-3.9.tar.gz) = 27287755 bytes
Index: pkgsrc/emulators/advancemame/options.mk
diff -u /dev/null pkgsrc/emulators/advancemame/options.mk:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/options.mk Mon Jul 3 21:49:20 2023
@@ -0,0 +1,38 @@
+# $NetBSD: options.mk,v 1.1 2023/07/03 21:49:20 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.advancemame
+
+PKG_SUPPORTED_OPTIONS+= freetype curses slang alsa
+PKG_SUGGESTED_OPTIONS+= freetype curses
+PKG_SUGGESTED_OPTIONS.Linux+= alsa
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+= --enable-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-alsa
+.endif
+
+.if !empty(PKG_OPTIONS:Mfreetype)
+CONFIGURE_ARGS+= --enable-freetype
+.include "../../graphics/freetype2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-freetype
+.endif
+
+.if !empty(PKG_OPTIONS:Mcurses)
+FAKE_NCURSES= yes
+CONFIGURE_ARGS+= --enable-ncurses
+.include "../../mk/curses.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ncurses
+.endif
+
+.if !empty(PKG_OPTIONS:Mslang)
+CONFIGURE_ARGS+= --enable-slang
+.include "../../devel/libslang/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-slang
+.endif
Index: pkgsrc/emulators/advancemame/files/advancemame.desktop
diff -u /dev/null pkgsrc/emulators/advancemame/files/advancemame.desktop:1.1
--- /dev/null Mon Jul 3 21:49:20 2023
+++ pkgsrc/emulators/advancemame/files/advancemame.desktop Mon Jul 3 21:49:20 2023
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=AdvanceMAME
+GenericName=Arcade Game Emulator
+Comment=Arcade game and multi-system emulator with advanced video support
+Icon=advancemame
+Exec=advmenu
+Terminal=false
+Categories=Game;Emulator;
Home |
Main Index |
Thread Index |
Old Index