Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2020 09:30:37 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545581 - in head/emulators: . dosbox-staging dosbox-staging/files
Message-ID:  <202008210930.07L9Ubbl008366@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Fri Aug 21 09:30:37 2020
New Revision: 545581
URL: https://svnweb.freebsd.org/changeset/ports/545581

Log:
  Add emulators/dosbox-staging - DOS/x86 emulator forked from DOSBox
  
  I've renamed binary and man page to avoid conflict with emulators/dosbox.
  
  Changelog: https://dosbox-staging.github.io/v0-75-0/
  
  PR:	246318, 248253

Added:
  head/emulators/dosbox-staging/
     - copied from r535101, head/emulators/dosbox/
  head/emulators/dosbox-staging/pkg-plist   (contents, props changed)
Deleted:
  head/emulators/dosbox-staging/files/
Modified:
  head/emulators/Makefile
  head/emulators/dosbox-staging/Makefile
  head/emulators/dosbox-staging/distinfo
  head/emulators/dosbox-staging/pkg-descr

Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile	Fri Aug 21 09:16:43 2020	(r545580)
+++ head/emulators/Makefile	Fri Aug 21 09:30:37 2020	(r545581)
@@ -26,6 +26,7 @@
     SUBDIR += dgen-sdl
     SUBDIR += dolphin-emu
     SUBDIR += dosbox
+    SUBDIR += dosbox-staging
     SUBDIR += dtcyber
     SUBDIR += dynagen
     SUBDIR += dynamips-community

Modified: head/emulators/dosbox-staging/Makefile
==============================================================================
--- head/emulators/dosbox/Makefile	Wed May 13 10:43:12 2020	(r535101)
+++ head/emulators/dosbox-staging/Makefile	Fri Aug 21 09:30:37 2020	(r545581)
@@ -1,48 +1,50 @@
-# Created by: Tom Carrick <knyghtmare@knyghtmare.com>
 # $FreeBSD$
 
-PORTNAME=	dosbox
-DISTVERSION=	0.74-3
-PORTREVISION=	1
+PORTNAME=	dosbox-staging
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.75.0
 CATEGORIES=	emulators
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
 
-MAINTAINER=	knyght@gmail.com
-COMMENT=	Emulator of a PC with DOS
+MAINTAINER=	makc@FreeBSD.org
+COMMENT=	DOS/x86 emulator based on DOSBox
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libpng.so:graphics/png
+LIB_DEPENDS=	libopusfile.so:audio/opusfile \
+		libpng.so:graphics/png
 
-USES=		sdl
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-core-inline
-USE_SDL=	sdl net sound
+USES=		autoreconf compiler:c++11-lang gl pkgconfig sdl
 
-PLIST_FILES=	bin/dosbox man/man1/dosbox.1.gz share/pixmaps/dosbox.ico
-PORTDOCS=	NEWS README
+USE_GL=		gl
+USE_SDL=	sdl2 net2
+USE_GITHUB=	yes
 
-DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \
-		"${PREFIX}/share/pixmaps/dosbox.ico" "dosbox" \
-		"System;Emulator;" true
+GNU_CONFIGURE=	yes
+LDFLAGS+=	-pthread
 
-OPTIONS_DEFINE=	DOCS
-OPTIONS_RADIO=	DEBUGGER
-OPTIONS_RADIO_DEBUGGER=DEBUGGER_ENABLE DEBUGGER_HEAVY
-DEBUGGER_ENABLE_DESC=Enable internal debugger
-DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features
+OPTIONS_DEFINE=	ALSA DOCS
 
-DEBUGGER_ENABLE_CONFIGURE_ON=	--enable-debug=yes
-DEBUGGER_HEAVY_CONFIGURE_ON=	--enable-debug=heavy
+ALSA_DESC=		ALSA midi support
+ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
+ALSA_CONFIGURE_ENABLE=	alsa-midi
 
+PORTDOCS=	NEWS README README.md
+
 post-patch:
-	@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
+	@${REINPLACE_CMD} 's,/usr/share/doc/dosbox-staging,${DOCSDIR},' \
 		${WRKSRC}/docs/dosbox.1
+	@${REINPLACE_CMD} '/^Exec/s,dosbox,dosbox-staging,' \
+		${WRKSRC}/contrib/linux/dosbox-staging.desktop
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox
-	${INSTALL_DATA} ${WRKSRC}/src/dosbox.ico ${STAGEDIR}${PREFIX}/share/pixmaps/
-	${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox-staging
+	${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${PREFIX}/share/man/man1/dosbox-staging.1
+	@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
+	${INSTALL_DATA} ${WRKSRC}/contrib/linux/dosbox-staging.desktop ${STAGEDIR}${DESKTOPDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_DATA} ${WRKSRC}/contrib/icons/dosbox-staging.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 

Modified: head/emulators/dosbox-staging/distinfo
==============================================================================
--- head/emulators/dosbox/distinfo	Wed May 13 10:43:12 2020	(r535101)
+++ head/emulators/dosbox-staging/distinfo	Fri Aug 21 09:30:37 2020	(r545581)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1568054998
-SHA256 (dosbox-0.74-3.tar.gz) = c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a
-SIZE (dosbox-0.74-3.tar.gz) = 1326339
+TIMESTAMP = 1589360149
+SHA256 (dosbox-staging-dosbox-staging-v0.75.0_GH0.tar.gz) = 6279690a05b9cc134484b8c7d11e9c1cb53b50bdb9bf32bdf683bd66770b6658
+SIZE (dosbox-staging-dosbox-staging-v0.75.0_GH0.tar.gz) = 1805354

Modified: head/emulators/dosbox-staging/pkg-descr
==============================================================================
--- head/emulators/dosbox/pkg-descr	Wed May 13 10:43:12 2020	(r535101)
+++ head/emulators/dosbox-staging/pkg-descr	Fri Aug 21 09:30:37 2020	(r545581)
@@ -1,13 +1,3 @@
-DOSBox is an emulator of a PC with DOS.
-The main focus of this project is emulating old DOS games using the
-local file system for files.
+Modernized fork of DOSBox emulator.
 
-Currently emulated is:
-
-o CPU:286/386 realmode/pmode
-o GFX:VGA/EGS/CGA/SVGA/VESA
-o SND:PC-Speaker/Tandy 3-Voice/Adlib/SoundBlaster
-o MSC:Keyboard/Mouse
-o DOS:Directory FileSystem/XMS/EMS
-
-WWW: http://dosbox.sourceforge.net/
+WWW: https://dosbox-staging.github.io/

Added: head/emulators/dosbox-staging/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/dosbox-staging/pkg-plist	Fri Aug 21 09:30:37 2020	(r545581)
@@ -0,0 +1,4 @@
+bin/dosbox-staging
+share/applications/dosbox-staging.desktop
+share/icons/hicolor/scalable/apps/dosbox-staging.svg
+share/man/man1/dosbox-staging.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008210930.07L9Ubbl008366>