1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 0.8.1

- Add LIBRETRO_CONFLICTS_INSTALL=libretro-mgba
- Add patch to fix crash when loading ROM in mgba-qt (taken from upstream fix)

PR:		247007
Submitted by:	James Wright <james.wright@digital-chaos.com>
Approved by:	greg@unrelenting.technology (maintainer), mentors (implicit)
Changelog:	https://github.com/mgba-emu/mgba/blob/0.8.1/CHANGES
This commit is contained in:
Hiroki Tagato 2020-06-12 10:57:09 +00:00
parent f90070a871
commit aef380e2c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538596
4 changed files with 160 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= mgba
DISTVERSION= 0.7.3
DISTVERSION= 0.8.1
CATEGORIES= emulators
MAINTAINER= greg@unrelenting.technology
@ -33,6 +33,7 @@ CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \
-DUSE_ZLIB:BOOL=ON \
-DUSE_LZMA:BOOL=ON \
-DUSE_SQLITE3:BOOL=ON \
-DUSE_DISCORD_RPC:BOOL=OFF \
-DBUILD_GL:BOOL=ON \
-DBUILD_GLES2:BOOL=OFF
LDFLAGS+= -Wl,--as-needed # glu
@ -59,6 +60,7 @@ FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
LIBRETRO_CMAKE_BOOL= BUILD_LIBRETRO
LIBRETRO_CMAKE_ON= -DLIBRETRO_LIBDIR:PATH="${PREFIX}/lib/libretro"
LIBRETRO_CONFLICTS_INSTALL= libretro-mgba
MAGICK_CMAKE_BOOL= USE_MAGICK
MAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1577739643
SHA256 (mgba-emu-mgba-0.7.3_GH0.tar.gz) = 6d5e8ab6f87d3d9fa85af2543db838568dbdfcecd6797f8153f1b3a10b4a8bdd
SIZE (mgba-emu-mgba-0.7.3_GH0.tar.gz) = 11228977
TIMESTAMP = 1591359084
SHA256 (mgba-emu-mgba-0.8.1_GH0.tar.gz) = df136ea50c9cca380ab93e00fd8d87811e41a49a804c5b0e018babef0c490f13
SIZE (mgba-emu-mgba-0.8.1_GH0.tar.gz) = 11893993

View File

@ -0,0 +1,11 @@
--- src/platform/qt/CoreManager.cpp.orig 2020-06-07 01:07:14 UTC
+++ src/platform/qt/CoreManager.cpp
@@ -65,7 +65,7 @@ CoreController* CoreManager::loadGame(const QString& p
if (vfOriginal && (size = vfOriginal->size(vfOriginal)) > 0) {
void* mem = vfOriginal->map(vfOriginal, size, MAP_READ);
vf = VFileMemChunk(mem, size);
- vfOriginal->unmap(vfOriginal, mem, (size_t) read);
+ vfOriginal->unmap(vfOriginal, mem, size);
vfOriginal->close(vfOriginal);
}
}

View File

@ -1,8 +1,149 @@
bin/mgba
%%QT5%%bin/mgba-qt
include/mgba-util/arm-algo.h
include/mgba-util/circle-buffer.h
include/mgba-util/common.h
include/mgba-util/configuration.h
include/mgba-util/crc32.h
include/mgba-util/elf-read.h
include/mgba-util/export.h
include/mgba-util/formatting.h
include/mgba-util/gui.h
include/mgba-util/gui/file-select.h
include/mgba-util/gui/font-metrics.h
include/mgba-util/gui/font.h
include/mgba-util/gui/menu.h
include/mgba-util/hash.h
include/mgba-util/math.h
include/mgba-util/memory.h
include/mgba-util/patch.h
include/mgba-util/patch/fast.h
include/mgba-util/patch/ips.h
include/mgba-util/patch/ups.h
include/mgba-util/platform/3ds/3ds-vfs.h
include/mgba-util/platform/3ds/threading.h
include/mgba-util/platform/posix/threading.h
include/mgba-util/platform/psp2/sce-vfs.h
include/mgba-util/platform/psp2/threading.h
include/mgba-util/platform/switch/threading.h
include/mgba-util/platform/windows/getopt.h
include/mgba-util/platform/windows/threading.h
include/mgba-util/png-io.h
include/mgba-util/ring-fifo.h
include/mgba-util/socket.h
include/mgba-util/string.h
include/mgba-util/table.h
include/mgba-util/text-codec.h
include/mgba-util/threading.h
include/mgba-util/vector.h
include/mgba-util/vfs.h
include/mgba/core/bitmap-cache.h
include/mgba/core/blip_buf.h
include/mgba/core/cache-set.h
include/mgba/core/cheats.h
include/mgba/core/config.h
include/mgba/core/core.h
include/mgba/core/cpu.h
include/mgba/core/directories.h
include/mgba/core/input.h
include/mgba/core/interface.h
include/mgba/core/library.h
include/mgba/core/lockstep.h
include/mgba/core/log.h
include/mgba/core/map-cache.h
include/mgba/core/mem-search.h
include/mgba/core/rewind.h
include/mgba/core/scripting.h
include/mgba/core/serialize.h
include/mgba/core/sync.h
include/mgba/core/thread.h
include/mgba/core/tile-cache.h
include/mgba/core/timing.h
include/mgba/core/version.h
include/mgba/debugger/debugger.h
include/mgba/feature/commandline.h
include/mgba/feature/thread-proxy.h
include/mgba/feature/video-logger.h
include/mgba/flags.h
lib/libmgba.so.0.7
lib/libmgba.so.0.7.3
include/mgba/gb/core.h
include/mgba/gb/interface.h
include/mgba/gba/core.h
include/mgba/gba/interface.h
include/mgba/internal/arm/arm.h
include/mgba/internal/arm/debugger/cli-debugger.h
include/mgba/internal/arm/debugger/debugger.h
include/mgba/internal/arm/debugger/memory-debugger.h
include/mgba/internal/arm/decoder-inlines.h
include/mgba/internal/arm/decoder.h
include/mgba/internal/arm/emitter-arm.h
include/mgba/internal/arm/emitter-inlines.h
include/mgba/internal/arm/emitter-thumb.h
include/mgba/internal/arm/isa-arm.h
include/mgba/internal/arm/isa-inlines.h
include/mgba/internal/arm/isa-thumb.h
include/mgba/internal/arm/macros.h
include/mgba/internal/debugger/cli-debugger.h
include/mgba/internal/debugger/gdb-stub.h
include/mgba/internal/debugger/parser.h
include/mgba/internal/debugger/symbols.h
include/mgba/internal/gb/audio.h
include/mgba/internal/gb/cheats.h
include/mgba/internal/gb/debugger/debugger.h
include/mgba/internal/gb/debugger/symbols.h
include/mgba/internal/gb/extra/cli.h
include/mgba/internal/gb/gb.h
include/mgba/internal/gb/io.h
include/mgba/internal/gb/mbc.h
include/mgba/internal/gb/memory.h
include/mgba/internal/gb/overrides.h
include/mgba/internal/gb/renderers/cache-set.h
include/mgba/internal/gb/renderers/proxy.h
include/mgba/internal/gb/renderers/software.h
include/mgba/internal/gb/serialize.h
include/mgba/internal/gb/sio.h
include/mgba/internal/gb/sio/lockstep.h
include/mgba/internal/gb/sio/printer.h
include/mgba/internal/gb/timer.h
include/mgba/internal/gb/video.h
include/mgba/internal/gba/audio.h
include/mgba/internal/gba/bios.h
include/mgba/internal/gba/cheats.h
include/mgba/internal/gba/dma.h
include/mgba/internal/gba/extra/audio-mixer.h
include/mgba/internal/gba/extra/cli.h
include/mgba/internal/gba/gba.h
include/mgba/internal/gba/hardware.h
include/mgba/internal/gba/input.h
include/mgba/internal/gba/io.h
include/mgba/internal/gba/matrix.h
include/mgba/internal/gba/memory.h
include/mgba/internal/gba/overrides.h
include/mgba/internal/gba/renderers/cache-set.h
include/mgba/internal/gba/renderers/common.h
include/mgba/internal/gba/renderers/gl.h
include/mgba/internal/gba/renderers/proxy.h
include/mgba/internal/gba/renderers/video-software.h
include/mgba/internal/gba/rr/mgm.h
include/mgba/internal/gba/rr/rr.h
include/mgba/internal/gba/rr/vbm.h
include/mgba/internal/gba/savedata.h
include/mgba/internal/gba/serialize.h
include/mgba/internal/gba/sharkport.h
include/mgba/internal/gba/sio.h
include/mgba/internal/gba/sio/lockstep.h
include/mgba/internal/gba/timer.h
include/mgba/internal/gba/vfame.h
include/mgba/internal/gba/video.h
include/mgba/internal/sm83/debugger/cli-debugger.h
include/mgba/internal/sm83/debugger/debugger.h
include/mgba/internal/sm83/debugger/memory-debugger.h
include/mgba/internal/sm83/decoder.h
include/mgba/internal/sm83/emitter-sm83.h
include/mgba/internal/sm83/isa-sm83.h
include/mgba/internal/sm83/sm83.h
lib/libmgba.so
lib/libmgba.so.0.8
lib/libmgba.so.0.8.1
%%LIBRETRO%%lib/libretro/mgba_libretro.so
%%QT5%%man/man6/mgba-qt.6.gz
man/man6/mgba.6.gz