git: 04d41f9a48a5 - main - emulators/dosbox-staging: update to 0.81.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 15 Feb 2024 20:50:16 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=04d41f9a48a528a334544f53bf3a9e84c17f9943

commit 04d41f9a48a528a334544f53bf3a9e84c17f9943
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-02-15 20:41:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-02-15 20:49:33 +0000

    emulators/dosbox-staging: update to 0.81.0
    
    Release notes:
    https://dosbox-staging.github.io/releases/release-notes/0.81.0/
    
    Approved by:            makc (maintainer), arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D43924
---
 emulators/dosbox-staging/Makefile                | 12 ++--
 emulators/dosbox-staging/distinfo                |  6 +-
 emulators/dosbox-staging/files/patch-meson.build | 12 ++--
 emulators/dosbox-staging/pkg-plist               | 83 ++++++++++++++++++------
 4 files changed, 77 insertions(+), 36 deletions(-)

diff --git a/emulators/dosbox-staging/Makefile b/emulators/dosbox-staging/Makefile
index d797f7567b0e..ba0db8a0a691 100644
--- a/emulators/dosbox-staging/Makefile
+++ b/emulators/dosbox-staging/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	dosbox-staging
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.80.1
-PORTREVISION=	2
+DISTVERSION=	0.81.0
 CATEGORIES=	emulators
 
 MAINTAINER=	makc@FreeBSD.org
@@ -10,20 +9,21 @@ WWW=		https://dosbox-staging.github.io/
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libiir.so:audio/iir1 \
+LIB_DEPENDS=	libz-ng.so:archivers/zlib-ng \
+		libiir.so:audio/iir1 \
 		libopusfile.so:audio/opusfile \
 		libspeexdsp.so:audio/speexdsp \
 		libpng.so:graphics/png \
 		libslirp.so:net/libslirp
 
-USES=		compiler:c++14-lang gl meson pkgconfig sdl
+USES=		compiler:c++17-lang gl meson pkgconfig sdl
 
 USE_GL=		gl
-USE_SDL=	sdl2 image2 net2
+USE_SDL=	sdl2 net2
 USE_GITHUB=	yes
 
 MESON_ARGS=	-Dunit_tests=disabled -Duse_mt32emu=false
-LDFLAGS+=	-pthread -lz
+LDFLAGS+=	-pthread
 
 OPTIONS_DEFINE=	ALSA DOCS FLUIDSYNTH
 OPTIONS_DEFAULT=	FLUIDSYNTH
diff --git a/emulators/dosbox-staging/distinfo b/emulators/dosbox-staging/distinfo
index 498a8a168ad7..ee81b9f14312 100644
--- a/emulators/dosbox-staging/distinfo
+++ b/emulators/dosbox-staging/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1673205573
-SHA256 (dosbox-staging-dosbox-staging-v0.80.1_GH0.tar.gz) = 2ca69e65e6c181197b63388c60487a3bcea804232a28c44c37704e70d49a0392
-SIZE (dosbox-staging-dosbox-staging-v0.80.1_GH0.tar.gz) = 3876041
+TIMESTAMP = 1707996903
+SHA256 (dosbox-staging-dosbox-staging-v0.81.0_GH0.tar.gz) = 9b133dbf2fe8410bb475267a8f26844d56b9025079783ec6a4574841888ae600
+SIZE (dosbox-staging-dosbox-staging-v0.81.0_GH0.tar.gz) = 6943457
diff --git a/emulators/dosbox-staging/files/patch-meson.build b/emulators/dosbox-staging/files/patch-meson.build
index 7c0fed11957c..4a4d18d6c0bb 100644
--- a/emulators/dosbox-staging/files/patch-meson.build
+++ b/emulators/dosbox-staging/files/patch-meson.build
@@ -1,15 +1,15 @@
---- meson.build.orig	2022-09-30 15:59:10 UTC
+--- meson.build.orig	2024-02-11 04:55:05 UTC
 +++ meson.build
-@@ -34,7 +34,7 @@ data_dir = get_option('datadir')
+@@ -37,7 +37,7 @@ data_dir = get_option('datadir')
  licenses_dir = data_dir / 'licenses' / meson.project_name()
  doc_dir = data_dir / 'doc' / meson.project_name()
  
 -install_man('docs/dosbox.1')
 +install_man('docs/dosbox-staging.1')
- install_data('COPYING', install_dir: licenses_dir)
- install_data('AUTHORS', 'README', 'THANKS', install_dir: doc_dir)
- 
-@@ -708,7 +708,7 @@ if host_machine.system() == 'windows'
+ # Bundle licenses, but skip the ones that are not relevant for
+ # binary distribution or allow us to not distribute the license text.
+ install_data(
+@@ -1306,7 +1306,7 @@ if host_machine.system() == 'windows'
  endif
  
  executable(
diff --git a/emulators/dosbox-staging/pkg-plist b/emulators/dosbox-staging/pkg-plist
index b10f6c7fe321..b4965a7d540a 100644
--- a/emulators/dosbox-staging/pkg-plist
+++ b/emulators/dosbox-staging/pkg-plist
@@ -30,29 +30,34 @@ share/applications/dosbox-staging.desktop
 %%DATADIR%%/freedos-keyboard/KEYBRD2.SYS
 %%DATADIR%%/freedos-keyboard/KEYBRD3.SYS
 %%DATADIR%%/freedos-keyboard/KEYBRD4.SYS
-%%DATADIR%%/glshaders/crt/aperture.glsl
-%%DATADIR%%/glshaders/crt/caligari.glsl
-%%DATADIR%%/glshaders/crt/easymode.glsl
-%%DATADIR%%/glshaders/crt/easymode.tweaked.glsl
-%%DATADIR%%/glshaders/crt/fakelottes.glsl
-%%DATADIR%%/glshaders/crt/fakelottes.tweaked.glsl
-%%DATADIR%%/glshaders/crt/geom.glsl
-%%DATADIR%%/glshaders/crt/geom.tweaked.glsl
-%%DATADIR%%/glshaders/crt/hyllian-updated.glsl
-%%DATADIR%%/glshaders/crt/hyllian.glsl
-%%DATADIR%%/glshaders/crt/lottes-fast.glsl
-%%DATADIR%%/glshaders/crt/lottes-fast.subtle+gain.glsl
-%%DATADIR%%/glshaders/crt/lottes.glsl
-%%DATADIR%%/glshaders/crt/lottes.tweaked.glsl
-%%DATADIR%%/glshaders/crt/mattias.glsl
-%%DATADIR%%/glshaders/crt/pi-vertical.glsl
-%%DATADIR%%/glshaders/crt/pi.glsl
-%%DATADIR%%/glshaders/crt/yee64.glsl
-%%DATADIR%%/glshaders/crt/yeetron.glsl
-%%DATADIR%%/glshaders/crt/zfast-composite.glsl
-%%DATADIR%%/glshaders/crt/zfast.glsl
+%%DATADIR%%/glshaders/crt/arcade-1080p.glsl
+%%DATADIR%%/glshaders/crt/arcade-1440p.glsl
+%%DATADIR%%/glshaders/crt/arcade-4k.glsl
+%%DATADIR%%/glshaders/crt/arcade-sharp-1080p.glsl
+%%DATADIR%%/glshaders/crt/arcade-sharp-1440p.glsl
+%%DATADIR%%/glshaders/crt/arcade-sharp-4k.glsl
+%%DATADIR%%/glshaders/crt/cga-1080p.glsl
+%%DATADIR%%/glshaders/crt/cga-1440p.glsl
+%%DATADIR%%/glshaders/crt/cga-4k.glsl
+%%DATADIR%%/glshaders/crt/cga-720p.glsl
+%%DATADIR%%/glshaders/crt/composite-1080p.glsl
+%%DATADIR%%/glshaders/crt/composite-1440p.glsl
+%%DATADIR%%/glshaders/crt/composite-4k.glsl
+%%DATADIR%%/glshaders/crt/ega-1080p.glsl
+%%DATADIR%%/glshaders/crt/ega-1440p.glsl
+%%DATADIR%%/glshaders/crt/ega-4k.glsl
+%%DATADIR%%/glshaders/crt/ega-720p.glsl
+%%DATADIR%%/glshaders/crt/hercules.glsl
+%%DATADIR%%/glshaders/crt/monochrome-hires.glsl
+%%DATADIR%%/glshaders/crt/monochrome-lowres.glsl
+%%DATADIR%%/glshaders/crt/vga-1080p-fake-double-scan.glsl
+%%DATADIR%%/glshaders/crt/vga-1080p.glsl
+%%DATADIR%%/glshaders/crt/vga-1440p.glsl
+%%DATADIR%%/glshaders/crt/vga-4k.glsl
 %%DATADIR%%/glshaders/interpolation/catmull-rom.glsl
 %%DATADIR%%/glshaders/interpolation/sharp.glsl
+%%DATADIR%%/glshaders/misc/fixvideo-scanlines.glsl
+%%DATADIR%%/glshaders/misc/fixvideo.glsl
 %%DATADIR%%/glshaders/none.glsl
 %%DATADIR%%/glshaders/scaler/advinterp2x.glsl
 %%DATADIR%%/glshaders/scaler/advinterp3x.glsl
@@ -253,6 +258,15 @@ share/applications/dosbox-staging.desktop
 %%DATADIR%%/mapping-freedos.org/CP_30000.TXT
 %%DATADIR%%/mapping-freedos.org/CP_30006.TXT
 %%DATADIR%%/mapping-freedos.org/CP_30034.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1250.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1251.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1252.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1253.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1254.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1255.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1256.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1257.TXT
+%%DATADIR%%/mapping-unicode.org/CP_1258.TXT
 %%DATADIR%%/mapping-unicode.org/CP_437.TXT
 %%DATADIR%%/mapping-unicode.org/CP_737.TXT
 %%DATADIR%%/mapping-unicode.org/CP_775.TXT
@@ -272,15 +286,36 @@ share/applications/dosbox-staging.desktop
 %%DATADIR%%/mapping-unicode.org/CP_874.TXT
 %%DATADIR%%/mapping-unicode.org/license.txt
 %%DATADIR%%/mapping-wikipedia.org/CP_1117.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_1169.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_1270.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_20866.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28591.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28592.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28593.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28594.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28595.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28596.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28597.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28598.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28600.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28601.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28603.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28604.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_28606.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_3021.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_3848.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_708.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_720.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_773.TXT
+%%DATADIR%%/mapping-wikipedia.org/CP_776.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_777.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_778.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_851.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_853.TXT
 %%DATADIR%%/mapping-wikipedia.org/CP_899.TXT
 %%DATADIR%%/mapping/ASCII.TXT
+%%DATADIR%%/mapping/CAPITAL_SMALL.TXT
+%%DATADIR%%/mapping/DECOMPOSITION.TXT
 %%DATADIR%%/mapping/MAIN.TXT
 %%DATADIR%%/translations/de.lng
 %%DATADIR%%/translations/en.lng
@@ -290,9 +325,15 @@ share/applications/dosbox-staging.desktop
 %%DATADIR%%/translations/nl.lng
 %%DATADIR%%/translations/pl.lng
 %%DATADIR%%/translations/ru.lng
+share/icons/hicolor/1024x1024/apps/dosbox-staging.png
+share/icons/hicolor/128x128/apps/dosbox-staging.png
 share/icons/hicolor/16x16/apps/dosbox-staging.png
 share/icons/hicolor/22x22/apps/dosbox-staging.png
 share/icons/hicolor/24x24/apps/dosbox-staging.png
+share/icons/hicolor/256x256/apps/dosbox-staging.png
 share/icons/hicolor/32x32/apps/dosbox-staging.png
+share/icons/hicolor/48x48/apps/dosbox-staging.png
+share/icons/hicolor/512x512/apps/dosbox-staging.png
+share/icons/hicolor/96x96/apps/dosbox-staging.png
 share/icons/hicolor/scalable/apps/dosbox-staging.svg
 share/metainfo/dosbox-staging.metainfo.xml