summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-04 10:58:56 +0000
committernia <nia@pkgsrc.org>2020-03-04 10:58:56 +0000
commitb94597b0ab0c14d164917a488ca18d9e3a441c62 (patch)
treec69f0c6fc1f29eda28fdc05508b0dbf6e9677af6 /emulators
parent652e1812762c9623589d9c9e4662c7d911b806d7 (diff)
downloadpkgsrc-b94597b0ab0c14d164917a488ca18d9e3a441c62.tar.gz
dosbox-x: Update to 0.83.0
0.83.0 - Added mt32.romdir dosbox.conf configuration option for users who store the MT32 ROMs elsewhere other than the current working directory. - Configuration GUI settings menu is now vertically divided to ensure that it fits on the screen even if the window is at minimum size. - PC-98 GDC status fixed to follow the explicit definition of one bit as hblank and the other as vsync instead of carrying over VGA port 3DAh style logic of hblank/vblank vs vsync. This fixes the BPS logo scanline effects in PC-98 game 'frontier-universe-bps-neo-kobe-pc98-ia' - Added dosbox.conf option to select between two known behaviors in PC-98 mode regarding the PC speaker and the PIT timer. The default behavior follows the newer hardware, the alternate setting is for older games written against the PC-9801 behavior. - Added dosbox.conf option nocachedir which, when set, instructs MOUNT to automatically act as if -nocachedir were given. - Linux/X11 SDL1 builds fixed not to issue resize commands to the window to avoid fighting the window manager. This prevents "spastic resizing" under Gnome 3 in Centos 8. - Source tree now includes build script for Linux users who prefer Clang/LLVM over GCC.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/dosbox-x/Makefile18
-rw-r--r--emulators/dosbox-x/distinfo11
-rw-r--r--emulators/dosbox-x/patches/patch-include_dos__inc.h17
3 files changed, 17 insertions, 29 deletions
diff --git a/emulators/dosbox-x/Makefile b/emulators/dosbox-x/Makefile
index 169e992f7a7..08078fe6d7a 100644
--- a/emulators/dosbox-x/Makefile
+++ b/emulators/dosbox-x/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/02/05 13:57:40 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/03/04 10:58:56 nia Exp $
-DISTNAME= dosbox-x-0.82.26
+DISTNAME= dosbox-x-0.83.0
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=joncampbell123/}
GITHUB_TAG= dosbox-x-v${PKGVERSION_NOREV}
@@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/dosbox-x-${GITHUB_TAG}
GNU_CONFIGURE= yes
-USE_TOOLS+= autoconf automake pkg-config
+USE_TOOLS+= autoconf autoreconf automake pkg-config
USE_LANGUAGES= c gnu++11
# C++11
@@ -20,14 +20,20 @@ GCC_REQD+= 4.7
LIBS.NetBSD+= -lcompat
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+CPPFLAGS+= -Dfopen64=fopen
+CPPFLAGS+= -Dftello64=ftello
+CPPFLAGS+= -Dfseeko64=fseeko
+.endif
+
CONFIGURE_ARGS+= --disable-alsatest
CONFIGURE_ARGS+= --disable-sdl2test
CONFIGURE_ARGS+= --disable-sdltest
CONFIGURE_ARGS+= --disable-sdl
CONFIGURE_ARGS+= --enable-sdl2
-.include "../../mk/bsd.prefs.mk"
-
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
CONFIGURE_ARGS+= --disable-dynrec
CONFIGURE_ARGS+= --disable-fpu-x86
@@ -50,7 +56,7 @@ CHECK_PORTABILITY_SKIP+= vs2015/sdl2/build-scripts/androidbuildlibs.sh
CHECK_PORTABILITY_SKIP+= vs2015/sdl2/build-scripts/iosbuild.sh
pre-configure:
- cd ${WRKSRC} && ${SH} autogen.sh
+ cd ${WRKSRC} && autoreconf -fi
post-install:
${INSTALL_DATA} ${WRKSRC}/src/dosbox.png \
diff --git a/emulators/dosbox-x/distinfo b/emulators/dosbox-x/distinfo
index 18bcc57f40f..96da6b2ab05 100644
--- a/emulators/dosbox-x/distinfo
+++ b/emulators/dosbox-x/distinfo
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.6 2020/02/05 13:57:40 nia Exp $
+$NetBSD: distinfo,v 1.7 2020/03/04 10:58:56 nia Exp $
-SHA1 (dosbox-x-0.82.26.tar.gz) = 831813f86e73599e8d49df0dd742bcb9bbaa7a5a
-RMD160 (dosbox-x-0.82.26.tar.gz) = e19fea27b36406486e09ff65c8464d169f843bd8
-SHA512 (dosbox-x-0.82.26.tar.gz) = ee4fb2c7a163bd905ae66770718360554682ab4081a0099d590bedd174ded1ffc3a59fcc5c1e03dc67be4f9efae6c96e2f384e4dabbaf59641be8c43e688d825
-Size (dosbox-x-0.82.26.tar.gz) = 35807557 bytes
+SHA1 (dosbox-x-0.83.0.tar.gz) = 8ed89cf05fe10dda7b575f6501df877bf9fd9455
+RMD160 (dosbox-x-0.83.0.tar.gz) = dc1ef637dd138f09d580ccdbc5fa0fef84d561aa
+SHA512 (dosbox-x-0.83.0.tar.gz) = 300e6d12c8c143acb66510204d535d1f4a11ab23a56cdebfeda2e0930a2775d3255ffb2a7ea65f839c0d9c2309137b0bdffef67fdadc28481080de066f52c940
+Size (dosbox-x-0.83.0.tar.gz) = 35815954 bytes
SHA1 (patch-configure.ac) = 12028b528aa1f4b4d13a25c144954d9f69755e6b
SHA1 (patch-include_byteorder.h) = 86eccfbc2318ddc8d71a6de8723947a48d98a126
-SHA1 (patch-include_dos__inc.h) = 26ba2b11dcfa923085f3745b0f8aca542f5dc692
diff --git a/emulators/dosbox-x/patches/patch-include_dos__inc.h b/emulators/dosbox-x/patches/patch-include_dos__inc.h
deleted file mode 100644
index 215ccc9fd3d..00000000000
--- a/emulators/dosbox-x/patches/patch-include_dos__inc.h
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-include_dos__inc.h,v 1.1 2019/09/22 09:54:14 nia Exp $
-
-Use ftello and fseeko on NetBSD.
-
---- include/dos_inc.h.orig 2019-04-06 04:12:19.000000000 +0000
-+++ include/dos_inc.h
-@@ -290,6 +290,10 @@ static INLINE Bit16u DOS_PackDate(Bit16u
- #define fopen64 fopen
- #define ftello64 ftello
- #define fseeko64 fseeko
-+#elif defined (__NetBSD__)
-+ #define fopen64 fopen
-+ #define ftello64 ftello
-+ #define fseeko64 fseeko
- #elif defined (_MSC_VER)
- #define fopen64 fopen
- #if (_MSC_VER >= 1400)