diff --git a/emulators/dosbox-staging/Makefile b/emulators/dosbox-staging/Makefile index 9bb797537d82..ec96d7ef63dc 100644 --- a/emulators/dosbox-staging/Makefile +++ b/emulators/dosbox-staging/Makefile @@ -1,41 +1,41 @@ PORTNAME= dosbox-staging DISTVERSIONPREFIX= v -DISTVERSION= 0.77.1 -PORTREVISION= 2 +DISTVERSION= 0.78.0 CATEGORIES= emulators MAINTAINER= makc@FreeBSD.org COMMENT= DOS/x86 emulator based on DOSBox LICENSE= GPLv2 LIB_DEPENDS= libopusfile.so:audio/opusfile \ - libpng.so:graphics/png + libpng.so:graphics/png \ + libslirp.so:net/libslirp USES= compiler:c++14-lang gl meson pkgconfig sdl USE_GL= gl USE_SDL= sdl2 net2 USE_GITHUB= yes MESON_ARGS= -Duse_mt32emu=false LDFLAGS+= -pthread OPTIONS_DEFINE= ALSA DOCS FLUIDSYNTH OPTIONS_DEFAULT= FLUIDSYNTH ALSA_DESC= ALSA midi support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_TRUE= use_alsa FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_MESON_TRUE= use_fluidsynth post-patch: @${REINPLACE_CMD} 's,/usr/share/doc/dosbox-staging,${DOCSDIR},' \ ${WRKSRC}/docs/dosbox.1 ${MV} ${WRKSRC}/docs/dosbox.1 ${WRKSRC}/docs/dosbox-staging.1 @${REINPLACE_CMD} '/^Exec/s,dosbox,dosbox-staging,' \ ${WRKSRC}/contrib/linux/dosbox-staging.desktop .include diff --git a/emulators/dosbox-staging/distinfo b/emulators/dosbox-staging/distinfo index a25b3503edfd..17b0346d2783 100644 --- a/emulators/dosbox-staging/distinfo +++ b/emulators/dosbox-staging/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630255597 -SHA256 (dosbox-staging-dosbox-staging-v0.77.1_GH0.tar.gz) = 85359efb7cd5c5c0336d88bdf023b7b462a8233490e00274fef0b85cca2f5f3c -SIZE (dosbox-staging-dosbox-staging-v0.77.1_GH0.tar.gz) = 2622418 +TIMESTAMP = 1640703893 +SHA256 (dosbox-staging-dosbox-staging-v0.78.0_GH0.tar.gz) = 2e6dcfc45d7345b2d89287911718c93f30463f1d58a9bfdc3a353000520cbbf8 +SIZE (dosbox-staging-dosbox-staging-v0.78.0_GH0.tar.gz) = 2908118 diff --git a/emulators/dosbox-staging/files/patch-meson.build b/emulators/dosbox-staging/files/patch-meson.build index c2e0b4118a0a..f7204b0eced5 100644 --- a/emulators/dosbox-staging/files/patch-meson.build +++ b/emulators/dosbox-staging/files/patch-meson.build @@ -1,20 +1,20 @@ ---- meson.build.orig 2021-07-17 10:53:48 UTC +--- meson.build.orig 2021-12-25 12:42:08 UTC +++ meson.build -@@ -340,7 +340,7 @@ subdir('tests') - # dosbox executable - # - version_file = vcs_tag(input : 'src/version.cpp.in', output : 'version.cpp') --executable('dosbox', ['src/main.cpp', 'src/dosbox.cpp', version_file], -+executable('dosbox-staging', ['src/main.cpp', 'src/dosbox.cpp', version_file], - dependencies : [atomic_dep, threads_dep, sdl2_dep] + internal_deps, - include_directories : incdir, - install : true) -@@ -352,7 +352,7 @@ data_dir = get_option('datadir') +@@ -421,7 +421,7 @@ if host_machine.system() == 'windows' + dosbox_sources += res_file + endif + +-executable('dosbox', dosbox_sources, ++executable('dosbox-staging', dosbox_sources, + dependencies : [atomic_dep, + stdcppfs_dep, + sdl2_dep, +@@ -454,7 +454,7 @@ data_dir = get_option('datadir') licenses_dir = data_dir / 'licenses' / 'dosbox-staging' doc_dir = data_dir / 'doc' / 'dosbox-staging' -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) diff --git a/emulators/dosbox-staging/pkg-plist b/emulators/dosbox-staging/pkg-plist index e25cd69875b9..c1a8e58a5dbc 100644 --- a/emulators/dosbox-staging/pkg-plist +++ b/emulators/dosbox-staging/pkg-plist @@ -1,12 +1,20 @@ bin/dosbox-staging man/man1/dosbox-staging.1.gz share/applications/dosbox-staging.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/THANKS +%%DATADIR%%/translations/de.lng +%%DATADIR%%/translations/en.lng +%%DATADIR%%/translations/es.lng +%%DATADIR%%/translations/fr.lng +%%DATADIR%%/translations/it.lng +%%DATADIR%%/translations/pl.cp437.lng +%%DATADIR%%/translations/pl.lng +%%DATADIR%%/translations/ru.lng 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/32x32/apps/dosbox-staging.png share/icons/hicolor/scalable/apps/dosbox-staging.svg share/metainfo/dosbox-staging.metainfo.xml