Update to mgba-0.8.1.
Compatibility note: mgba-qt now uses a shader by default that requires GLSL 1.50 support, which may not be supported by some older graphics hardware. The SDL frontend doesn't load any shaders.
This commit is contained in:
parent
4487a3de8a
commit
a4a2f4346f
@ -1,17 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.39 2020/02/14 11:11:33 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.40 2020/04/13 02:53:05 bentley Exp $
|
||||
|
||||
COMMENT-main = Game Boy Color/Advance emulator
|
||||
COMMENT-qt = Game Boy Color/Advance emulator with GUI
|
||||
COMMENT-libretro = Game Boy Color/Advance core for retroarch
|
||||
|
||||
V = 0.7.3
|
||||
V = 0.8.1
|
||||
GH_ACCOUNT = mgba-emu
|
||||
GH_PROJECT = mgba
|
||||
GH_TAGNAME = $V
|
||||
PKGNAME-main = mgba-$V
|
||||
PKGNAME-qt = mgba-qt-$V
|
||||
PKGNAME-libretro = libretro-mgba-$V
|
||||
REVISION-libretro = 0
|
||||
|
||||
MULTI_PACKAGES = -main -qt -libretro
|
||||
DEBUG_PACKAGES = -main -qt -libretro
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mgba-0.7.3.tar.gz) = bV6Ktvh9PZ+oWvJUPbg4Vo29/OzWeX+BU/GzoQtKi90=
|
||||
SIZE (mgba-0.7.3.tar.gz) = 11228977
|
||||
SHA256 (mgba-0.8.1.tar.gz) = 3xNupQycyjgKuT4A/Y2HgR5BpJqATFsOAYur7wxJDxM=
|
||||
SIZE (mgba-0.8.1.tar.gz) = 11893993
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.3 2019/01/27 11:11:20 bentley Exp $
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.4 2020/04/13 02:53:05 bentley Exp $
|
||||
|
||||
Add option to drop privileges with pledge().
|
||||
From https://github.com/mgba-emu/mgba/pull/1271.
|
||||
@ -6,15 +6,15 @@ From https://github.com/mgba-emu/mgba/pull/1271.
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -23,6 +23,7 @@ if (NOT WIN32)
|
||||
set(USE_EDITLINE ON CACHE BOOL "Whether or not to enable the CLI-mode debugger")
|
||||
endif()
|
||||
set(USE_GDB_STUB ON CACHE BOOL "Whether or not to enable the GDB stub ARM debugger")
|
||||
+set(USE_PLEDGE_UNVEIL OFF CACHE BOOL "Whether or not to drop privileges with pledge and unveil")
|
||||
set(USE_FFMPEG ON CACHE BOOL "Whether or not to enable FFmpeg support")
|
||||
set(USE_ZLIB ON CACHE BOOL "Whether or not to enable zlib support")
|
||||
set(USE_MINIZIP ON CACHE BOOL "Whether or not to enable external minizip support")
|
||||
@@ -475,6 +476,10 @@ find_feature(USE_SQLITE3 "sqlite3")
|
||||
@@ -31,6 +31,7 @@ if(NOT LIBMGBA_ONLY)
|
||||
set(USE_EDITLINE ON CACHE BOOL "Whether or not to enable the CLI-mode debugger")
|
||||
endif()
|
||||
set(USE_GDB_STUB ON CACHE BOOL "Whether or not to enable the GDB stub ARM debugger")
|
||||
+ set(USE_PLEDGE_UNVEIL OFF CACHE BOOL "Whether or not to drop privileges with pledge and unveil")
|
||||
set(USE_FFMPEG ON CACHE BOOL "Whether or not to enable FFmpeg support")
|
||||
set(USE_ZLIB ON CACHE BOOL "Whether or not to enable zlib support")
|
||||
set(USE_MINIZIP ON CACHE BOOL "Whether or not to enable external minizip support")
|
||||
@@ -473,6 +474,10 @@ find_feature(USE_SQLITE3 "sqlite3")
|
||||
find_feature(USE_ELF "libelf")
|
||||
find_feature(ENABLE_PYTHON "PythonLibs")
|
||||
|
||||
@ -25,7 +25,7 @@ Index: CMakeLists.txt
|
||||
if(USE_FFMPEG)
|
||||
set(USE_LIBAVRESAMPLE ON)
|
||||
set(USE_LIBSWRESAMPLE ON)
|
||||
@@ -515,6 +520,10 @@ if(USE_GDB_STUB)
|
||||
@@ -504,6 +509,10 @@ if(USE_GDB_STUB)
|
||||
endif()
|
||||
source_group("Debugger" FILES ${DEBUGGER_SRC})
|
||||
|
||||
@ -36,11 +36,11 @@ Index: CMakeLists.txt
|
||||
if(USE_FFMPEG)
|
||||
list(APPEND FEATURES FFMPEG)
|
||||
if(USE_LIBSWRESAMPLE)
|
||||
@@ -1229,6 +1238,7 @@ if(NOT QUIET)
|
||||
@@ -1221,6 +1230,7 @@ if(NOT QUIET AND NOT LIBMGBA_ONLY)
|
||||
message(STATUS " CLI debugger: ${USE_EDITLINE}")
|
||||
endif()
|
||||
message(STATUS " GDB stub: ${USE_GDB_STUB}")
|
||||
+ message(STATUS " pledge/unveil: ${USE_PLEDGE_UNVEIL}")
|
||||
message(STATUS " Video recording: ${USE_FFMPEG}")
|
||||
message(STATUS " GIF recording: ${USE_MAGICK}")
|
||||
+ message(STATUS " pledge/unveil: ${USE_PLEDGE_UNVEIL}")
|
||||
message(STATUS " GIF/Video recording: ${USE_FFMPEG}")
|
||||
message(STATUS " Screenshot/advanced savestate support: ${USE_PNG}")
|
||||
message(STATUS " ZIP support: ${SUMMARY_ZIP}")
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_platform_sdl_main_c,v 1.3 2019/09/20 22:34:32 bentley Exp $
|
||||
$OpenBSD: patch-src_platform_sdl_main_c,v 1.4 2020/04/13 02:53:05 bentley Exp $
|
||||
|
||||
Add option to drop privileges with pledge().
|
||||
From https://github.com/mgba-emu/mgba/pull/1271.
|
||||
@ -18,7 +18,7 @@ Index: src/platform/sdl/main.c
|
||||
static struct VFile* _state = NULL;
|
||||
|
||||
static void _loadState(struct mCoreThread* thread) {
|
||||
@@ -150,6 +155,15 @@ int main(int argc, char** argv) {
|
||||
@@ -149,6 +154,15 @@ int main(int argc, char** argv) {
|
||||
renderer.player.bindings = &renderer.core->inputMap;
|
||||
mSDLInitBindingsGBA(&renderer.core->inputMap);
|
||||
mSDLInitEvents(&renderer.events);
|
||||
@ -34,7 +34,7 @@ Index: src/platform/sdl/main.c
|
||||
mSDLEventsLoadConfig(&renderer.events, mCoreConfigGetInput(&renderer.core->config));
|
||||
mSDLAttachPlayer(&renderer.events, &renderer.player);
|
||||
mSDLPlayerLoadConfig(&renderer.player, mCoreConfigGetInput(&renderer.core->config));
|
||||
@@ -247,6 +261,12 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArg
|
||||
@@ -264,6 +278,12 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArg
|
||||
state->close(state);
|
||||
}
|
||||
}
|
||||
@ -47,7 +47,7 @@ Index: src/platform/sdl/main.c
|
||||
renderer->runloop(renderer, &thread);
|
||||
mSDLPauseAudio(&renderer->audio);
|
||||
if (mCoreThreadHasCrashed(&thread)) {
|
||||
@@ -295,3 +315,43 @@ static void mSDLDeinit(struct mSDLRenderer* renderer)
|
||||
@@ -312,3 +332,43 @@ static void mSDLDeinit(struct mSDLRenderer* renderer)
|
||||
|
||||
SDL_Quit();
|
||||
}
|
||||
|
@ -1,9 +1,180 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.5 2019/01/27 09:48:29 bentley Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.6 2020/04/13 02:53:05 bentley Exp $
|
||||
@bin bin/mgba
|
||||
include/mgba/
|
||||
include/mgba-util/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
include/mgba-util/platform/3ds/
|
||||
include/mgba-util/platform/3ds/3ds-vfs.h
|
||||
include/mgba-util/platform/3ds/threading.h
|
||||
include/mgba-util/platform/posix/
|
||||
include/mgba-util/platform/posix/threading.h
|
||||
include/mgba-util/platform/psp2/
|
||||
include/mgba-util/platform/psp2/sce-vfs.h
|
||||
include/mgba-util/platform/psp2/threading.h
|
||||
include/mgba-util/platform/switch/
|
||||
include/mgba-util/platform/switch/threading.h
|
||||
include/mgba-util/platform/windows/
|
||||
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/
|
||||
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/
|
||||
include/mgba/debugger/debugger.h
|
||||
include/mgba/feature/
|
||||
include/mgba/feature/commandline.h
|
||||
include/mgba/feature/thread-proxy.h
|
||||
include/mgba/feature/video-logger.h
|
||||
include/mgba/flags.h
|
||||
include/mgba/gb/
|
||||
include/mgba/gb/core.h
|
||||
include/mgba/gb/interface.h
|
||||
include/mgba/gba/
|
||||
include/mgba/gba/core.h
|
||||
include/mgba/gba/interface.h
|
||||
include/mgba/internal/
|
||||
include/mgba/internal/arm/
|
||||
include/mgba/internal/arm/arm.h
|
||||
include/mgba/internal/arm/debugger/
|
||||
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/
|
||||
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/
|
||||
include/mgba/internal/gb/audio.h
|
||||
include/mgba/internal/gb/cheats.h
|
||||
include/mgba/internal/gb/debugger/
|
||||
include/mgba/internal/gb/debugger/debugger.h
|
||||
include/mgba/internal/gb/debugger/symbols.h
|
||||
include/mgba/internal/gb/extra/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
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/
|
||||
include/mgba/internal/sm83/debugger/
|
||||
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 lib/libmgba.so.${LIBmgba_VERSION}
|
||||
@man man/man6/mgba.6
|
||||
share/applications/
|
||||
share/doc/mGBA/
|
||||
share/doc/mGBA/CHANGES
|
||||
share/doc/mGBA/LICENSE
|
||||
@ -11,7 +182,9 @@ share/doc/mGBA/README.md
|
||||
share/doc/mGBA/README_DE.md
|
||||
share/doc/mGBA/licenses/
|
||||
share/doc/mGBA/licenses/blip_buf.txt
|
||||
share/doc/mGBA/licenses/discord-rpc.txt
|
||||
share/doc/mGBA/licenses/inih.txt
|
||||
share/doc/mGBA/licenses/rapidjson.txt
|
||||
share/mgba/
|
||||
share/mgba/nointro.dat
|
||||
share/mgba/shaders/
|
||||
|
Loading…
Reference in New Issue
Block a user