pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/PC6001VX PC6001VX: update to 3.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a43d3d440fe
branches:  trunk
changeset: 401259:3a43d3d440fe
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Sep 14 01:45:45 2019 +0000

description:
PC6001VX: update to 3.2.0.

pkgsrc changes:

- README.html is no longer in the distribution tarball
  so make it optional and generate it using asciidoc and
  source-highlight.

Upstream changes (from README.adoc):

.3.2.0 2019/9/14
* Compatible ROM implemented by AKIKAWA Hisashi is now built
  in the emulator. Now the emulator is bootable without genuine ROM.
* Fixed timer interrupt interval on SR models.(temporal fix)
* Assigned Alt+F9/F10 hotkey to state save/load.
* Dropped "Patch the ROM" setting. (Because it made JOYSTICK2 unusable.)

diffstat:

 emulators/PC6001VX/Makefile   |   8 +++-----
 emulators/PC6001VX/PLIST      |   4 ++--
 emulators/PC6001VX/distinfo   |  10 +++++-----
 emulators/PC6001VX/options.mk |  25 +++++++++++++++++++++++--
 4 files changed, 33 insertions(+), 14 deletions(-)

diffs (99 lines):

diff -r f9476a8fdead -r 3a43d3d440fe emulators/PC6001VX/Makefile
--- a/emulators/PC6001VX/Makefile       Fri Sep 13 20:23:50 2019 +0000
+++ b/emulators/PC6001VX/Makefile       Sat Sep 14 01:45:45 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2019/05/06 04:51:55 tsutsui Exp $
+# $NetBSD: Makefile,v 1.34 2019/09/14 01:45:45 tsutsui Exp $
 
-VERSION=               3.1.3
+VERSION=               3.2.0
 DISTNAME=              PC6001VX_${VERSION}_src
 PKGNAME=               ${DISTNAME:S/_src//:S/_/-/}
 #PKGREVISION=          
@@ -16,7 +16,7 @@
 USE_TOOLS+=            pkg-config
 USE_LANGUAGES=         c c++
 
-INSTALLATION_DIRS+=    bin share/doc/PC6001VX
+INSTALLATION_DIRS+=    bin
 
 .include "options.mk"
 
@@ -27,8 +27,6 @@
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/PC6001VX \
            ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/README.html \
-           ${DESTDIR}${PREFIX}/share/doc/PC6001VX
 
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qtmultimedia/buildlink3.mk"
diff -r f9476a8fdead -r 3a43d3d440fe emulators/PC6001VX/PLIST
--- a/emulators/PC6001VX/PLIST  Fri Sep 13 20:23:50 2019 +0000
+++ b/emulators/PC6001VX/PLIST  Sat Sep 14 01:45:45 2019 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.3 2018/04/28 12:29:53 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/09/14 01:45:45 tsutsui Exp $
 bin/PC6001VX
-share/doc/PC6001VX/README.html
+${PLIST.manual}share/doc/PC6001VX/README.html
diff -r f9476a8fdead -r 3a43d3d440fe emulators/PC6001VX/distinfo
--- a/emulators/PC6001VX/distinfo       Fri Sep 13 20:23:50 2019 +0000
+++ b/emulators/PC6001VX/distinfo       Sat Sep 14 01:45:45 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2019/05/06 04:51:55 tsutsui Exp $
+$NetBSD: distinfo,v 1.14 2019/09/14 01:45:45 tsutsui Exp $
 
-SHA1 (PC6001VX_3.1.3_src.tar.gz) = f7d0465b356d40cad9e1755cb786cb6e45f2ec93
-RMD160 (PC6001VX_3.1.3_src.tar.gz) = 3c018533d68360ab5d4556cbaaf03bd44cc19fe5
-SHA512 (PC6001VX_3.1.3_src.tar.gz) = c5c7b10cd4f0c73063b6f91884b85683144675cce1946d26a8feb3d8fd754ec72055932084230ecc69ecc121c57cca6801364315184813337913de725ad21b37
-Size (PC6001VX_3.1.3_src.tar.gz) = 4086896 bytes
+SHA1 (PC6001VX_3.2.0_src.tar.gz) = dd3766433d1b235ef74696c756f6c96d8bcd97cf
+RMD160 (PC6001VX_3.2.0_src.tar.gz) = 70756448456d6bac80703554e837f25921db7385
+SHA512 (PC6001VX_3.2.0_src.tar.gz) = 18ac15416f3fa89cf93084bdeb4a56b915f50b04b7148ee14e956a84506e3e4c43c20d7537df91766d404f602ef30e10a005b5ae517d05e87951760ebb27385b
+Size (PC6001VX_3.2.0_src.tar.gz) = 3893509 bytes
diff -r f9476a8fdead -r 3a43d3d440fe emulators/PC6001VX/options.mk
--- a/emulators/PC6001VX/options.mk     Fri Sep 13 20:23:50 2019 +0000
+++ b/emulators/PC6001VX/options.mk     Sat Sep 14 01:45:45 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2018/12/22 16:06:30 tsutsui Exp $
+# $NetBSD: options.mk,v 1.2 2019/09/14 01:45:45 tsutsui Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.PC6001VX
-PKG_SUPPORTED_OPTIONS= debug ffmpeg sdl2
+PKG_SUPPORTED_OPTIONS= debug ffmpeg manual sdl2
 
 # debug enables for debug monitor support, which can be disabled
 # for low performance machines.
@@ -11,6 +11,11 @@
 # SDL2 is required for joystick support.
 PKG_SUGGESTED_OPTIONS+=        sdl2
 
+# Generate README.html from README.adoc using asciidoc and source-highlight.
+PKG_SUGGESTED_OPTIONS+=        manual
+
+PLIST_VARS+=           manual
+
 .include "../../mk/bsd.options.mk"
 
 .if empty(PKG_OPTIONS:Mdebug)
@@ -28,3 +33,19 @@
 .else
 QMAKE_ARGS+=   "DEFINES+=NOJOYSTICK"
 .endif
+
+.if !empty(PKG_OPTIONS:Mmanual)
+PLIST.manual=  yes
+
+BUILD_DEPENDS+=        asciidoc-[0-9]*:../../textproc/asciidoc
+BUILD_DEPENDS+=        source-highlight-[0-9]*:../../textproc/source-highlight
+
+INSTALLATION_DIRS+=    share/doc/PC6001VX
+
+post-build:
+       cd ${WRKSRC} && asciidoc -o README.html README.adoc
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/README.html \
+           ${DESTDIR}${PREFIX}/share/doc/PC6001VX
+.endif



Home | Main Index | Thread Index | Old Index