pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/mgba



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jan 25 19:26:19 UTC 2020

Modified Files:
        pkgsrc/emulators/mgba: Makefile PLIST distinfo options.mk
        pkgsrc/emulators/mgba/patches:
            patch-include_mgba-util_platform_posix_threading.h
Added Files:
        pkgsrc/emulators/mgba: PLIST.shaders

Log Message:
mgba: Update to 0.8.0

0.8.0: (2020-01-21)
Features:
 - Improved logging configuration
 - One-Player BattleChip/Progress/Beast Link Gate support
 - Add Game Boy Color palettes for original Game Boy games
 - Debugger: Add unary operators and memory dereferencing
 - GB: Expose platform information to CLI debugger
 - Support Discord Rich Presence
 - Debugger: Add tracing to file
 - Enhanced map viewer, supporting bitmapped GBA modes and more displayed info
 - OpenGL renderer with high-resolution upscaling support
 - Experimental high level "XQ" audio for most GBA games
 - Interframe blending for games that use flicker effects
 - Frame inspector for dissecting and debugging rendering
 - Switch: Option to use built-in brightness sensor for Boktai
 - Ports: Ability to enable or disable all SGB features (closes mgba.io/i/1205)
 - Ports: Ability to crop SGB borders off screen (closes mgba.io/i/1204)
 - Cheats: Add support for loading Libretro-style cht files
 - GBA Cheats: Add support for loading EZ Flash-style cht files
 - Support for unlicensed Wisdom Tree Game Boy mapper
 - Qt: Add export button for tile view (closes mgba.io/i/1507)
 - Qt: Add recent game list clearing (closes mgba.io/i/1380)
 - GB: Yanking gamepak now supported
 - Qt: Memory range dumping (closes mgba.io/i/1298)
Emulation fixes:
 - GB: Fix using boot ROM with MMM01 games
 - GB Audio: Only reset channel 3 sample in DMG mode
 - GB Audio: Sample inactive channels (fixes mgba.io/i/1455, mgba.io/i/1456)
 - GB Audio: Fix channel 4 volume (fixes mgba.io/i/1529)
 - GB I/O: Filter IE top bits properly (fixes mgba.io/i/1329)
 - GB Memory: Better emulate 0xFEA0 region on DMG, MGB and AGB
 - GB Video: Delay LYC STAT check (fixes mgba.io/i/1331)
 - GB Video: Fix window being enabled mid-scanline (fixes mgba.io/i/1328)
 - GB Video: Fix mode 0 window edge case (fixes mgba.io/i/1519)
 - GB Video: Fix color scaling in AGB mode
 - GBA: All IRQs have 7 cycle delay (fixes mgba.io/i/539, mgba.io/i/1208)
 - GBA: Reset now reloads multiboot ROMs
 - GBA BIOS: Fix multiboot entry point (fixes Magic Floor)
Other fixes:
 - Core: Improved lockstep driver reliability (Le Hoang Quyen)
 - FFmpeg: Drain recording buffers
 - GB: Fix reading ROM immediately after unmapping BIOS
 - GB SIO: Fix lockstep failing games aren't reloaded
 - GBA Cheats: Fix value incrementing in CB slide codes (fixes mgba.io/i/1501)
 - Libretro: Fix crash changing allowing opposing directions (hhromic)
 - Qt: Fix some Qt display driver race conditions
 - Qt: Fix menu bar staying hidden in full screen (fixes mgba.io/i/317)
 - Qt: Only show emulator restart warning once per settings saving
 - Qt: Fix LibraryController initialization (fixes mgba.io/i/1324)
 - Shaders: Fix gba-color shader resolution (fixes mgba.io/i/1435)
 - Switch: Fix audio when video rate desyncs (fixes mgba.io/i/1532)
Misc:
 - CMake: Don't use libzip on embedded platforms (fixes mgba.io/i/1527)
 - Core: Add keysRead callback
 - Core: Create game-related paths if they don't exist (fixes mgba.io/i/1446)
 - Core: Add more memory search ops (closes mgba.io/i/1510)
 - Debugger: Make tracing compatible with breakpoints/watchpoints
 - Debugger: Print breakpoint/watchpoint number when inserting
 - Feature: Switch from ImageMagick to FFmpeg for GIF generation
 - FFmpeg: Support audio-only recording
 - GB Memory: Support running from blocked memory
 - GBA BIOS: Add timings for HLE BIOS math functions (fixes mgba.io/i/1396)
 - GBA BIOS: Fix clobbered registers in CpuSet (fixes mgba.io/i/1531)
 - GBA Savedata: EEPROM performance fixes
 - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
 - Debugger: Add breakpoint and watchpoint listing
 - mGUI: Remember name and position of last loaded game
 - OpenGL: Only resize textures when needed
 - Qt: Don't unload ROM immediately if it crashes
 - Qt: Support switching webcams
 - Qt: Cap window size on start to monitor size
 - Qt: Open a message box for Qt frontend errors
 - Qt: Increase maximum magnifications and scaling
 - Qt: Add native FPS button to settings view
 - Qt: Improve sync code
 - Qt: Add option to pause on minimizing window (closes mgba.io/i/1379)
 - Qt: Scale pixel color values to full range (fixes mgba.io/i/1511)
 - Qt: Remove What's This icon from dialogs
 - Qt: Printer quality of life improvements (fixes mgba.io/i/1540)
 - Qt: Add copy and QoL improvements to graphic views (closes mgba.io/i/1541)
 - Qt: Show list of all sprites in sprite view
 - Qt: Add option for disabling OSD messages
 - Qt, OpenGL: Disable integer scaling for dimensions that don't fit
 - SM83: Support PC-relative opcode decoding
 - Switch: Dynamic display resizing
 - Switch: Support file associations
 - Vita: L2/R2 and L3/R3 can now be mapped on PSTV (fixes mgba.io/i/1292)
Changes from beta 1:
Emulation fixes:
 - ARM: Fix STR writeback pipeline stage
 - ARM: Partially fix LDM/STM writeback with empty register list
 - ARM: Fix stepping when events are pending
 - GBA DMA: Fix case where DMAs could get misaligned (fixes mgba.io/i/1092)
 - GBA Memory: Fix open bus from IWRAM (fixes mgba.io/i/1575)
 - GBA Timers: Improve timer startup emulation
 - GBA Video: Fix OpenGL renderer 512x512 backgrounds (fixes mgba.io/i/1572)
 - GBA Video: Fix BLDY for semitransparent sprite on non-target-2 backgrounds
 - GBA Video: Fix effects blending improperly in some non-last windows
 - GBA Video: Copy higher priority target 1 flag
Other fixes:
 - 3DS: Fix screen darkening (fixes mgba.io/i/1562)
 - Core: Fix uninitialized memory issues with graphics caches
 - Core: Return null for out of bounds cached tile VRAM querying
 - GBA Video: Fix OpenGL fragment data binding
 - GBA Video: Fix mosaic in modes 1-5 in OpenGL (fixes mgba.io/i/1620)
 - Debugger: Fix tracing skipping instructions (fixes mgba.io/i/1614)
 - OpenGL: Only invalidate texture if dimensions change (fixes mgba.io/i/1612)
 - Qt: Fix fast forward mute being reset (fixes mgba.io/i/1574)
 - Qt: Fix scrollbar arrows in memory view (fixes mgba.io/i/1558)
 - Qt: Fix several cases where shader selections don't get saved
 - Qt: Fix division by zero error in invalid TilePainter state
 - Qt: Fix "restart needed" dialog after first config (fixes mgba.io/i/1601)
 - Qt: Fix undesired screen filtering when paused (fixes mgba.io/i/1602)
 - Qt: Fix sprite view using wrong base address (fixes mgba.io/i/1603)
 - Qt: Fix inability to clear default keybindings
 - Qt: Release held actions if they get rebound
 - Qt: Fix crash double-clicking menus in shortcut settings (fixes mgba.io/i/1627)
 - Qt: Fix record A/V window not updating resolution (fixes mgba.io/i/1626)
 - Vita: Fix analog controls (fixes mgba.io/i/1554)
 - Wii: Fix game fast-forwarding after slowing down
 - Wii: Improve audio buffering (fixes mgba.io/i/1617)
Misc:
 - GB Memory: Support manual SRAM editing (fixes mgba.io/i/1580)
 - GBA: Trim non-movie ROMs to 32 MiB if applicable
 - GBA Audio: Redo channel 4 batching for GBA only
 - GBA I/O: Stop logging several harmless invalid register reads
 - GBA Video: Changing OpenGL scaling no longer requires restart
 - Debugger: Separate aliases from main commands
 - Debugger: Print break-/watchpoint ID when breaking in CLI
 - Debugger: Minor interface cleanup
 - SDL: Use controller GUID instead of name
 - SM83: Rename LR35902 to SM83
 - Tools: Allow using threaded renderer in perf.py
 - Tools: Clean up unused argument in mgba-perf


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/emulators/mgba/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/mgba/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/mgba/PLIST.shaders
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/mgba/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/mgba/options.mk
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/mgba/Makefile
diff -u pkgsrc/emulators/mgba/Makefile:1.8 pkgsrc/emulators/mgba/Makefile:1.9
--- pkgsrc/emulators/mgba/Makefile:1.8  Sat Jan 18 21:49:19 2020
+++ pkgsrc/emulators/mgba/Makefile      Sat Jan 25 19:26:18 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/01/18 21:49:19 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2020/01/25 19:26:18 nia Exp $
 
-DISTNAME=      mgba-0.7.3
-PKGREVISION=   2
+DISTNAME=      mgba-0.8.0
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
 

Index: pkgsrc/emulators/mgba/PLIST
diff -u pkgsrc/emulators/mgba/PLIST:1.3 pkgsrc/emulators/mgba/PLIST:1.4
--- pkgsrc/emulators/mgba/PLIST:1.3     Wed Sep 25 08:48:43 2019
+++ pkgsrc/emulators/mgba/PLIST Sat Jan 25 19:26:18 2020
@@ -1,8 +1,149 @@
-@comment $NetBSD: PLIST,v 1.3 2019/09/25 08:48:43 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/01/25 19:26:18 nia Exp $
 bin/mgba
 ${PLIST.qt}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/dllexports.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
+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.0.8
 lib/libmgba.so.${PKGVERSION}
 ${PLIST.qt}man/man6/mgba-qt.6
 man/man6/mgba.6
@@ -12,7 +153,9 @@ share/doc/mGBA/LICENSE
 share/doc/mGBA/README.md
 share/doc/mGBA/README_DE.md
 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/icons/hicolor/128x128/apps/mgba.png
 share/icons/hicolor/16x16/apps/mgba.png
 share/icons/hicolor/24x24/apps/mgba.png
@@ -23,33 +166,3 @@ share/icons/hicolor/512x512/apps/mgba.pn
 share/icons/hicolor/64x64/apps/mgba.png
 share/icons/hicolor/96x96/apps/mgba.png
 ${PLIST.qt}share/mgba/nointro.dat
-${PLIST.shaders}share/mgba/shaders/agb001.shader/agb001.fs
-${PLIST.shaders}share/mgba/shaders/agb001.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/ags001.shader/ags001-light.fs
-${PLIST.shaders}share/mgba/shaders/ags001.shader/ags001.fs
-${PLIST.shaders}share/mgba/shaders/ags001.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/fish.shader/fish.fs
-${PLIST.shaders}share/mgba/shaders/fish.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/gba-color.shader/gba-color.fs
-${PLIST.shaders}share/mgba/shaders/gba-color.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/lcd.shader/lcd.fs
-${PLIST.shaders}share/mgba/shaders/lcd.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/motion_blur.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/motion_blur.shader/motion_blur.fs
-${PLIST.shaders}share/mgba/shaders/pixelate.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/scanlines.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/scanlines.shader/scanlines.fs
-${PLIST.shaders}share/mgba/shaders/soften.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/soften.shader/soften.fs
-${PLIST.shaders}share/mgba/shaders/vba_pixelate.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/vba_pixelate.shader/vba_pixelate.fs
-${PLIST.shaders}share/mgba/shaders/vignette.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/vignette.shader/vignette.fs
-${PLIST.shaders}share/mgba/shaders/wiiu.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/wiiu.shader/wiiu.fs
-${PLIST.shaders}share/mgba/shaders/xbr-lv2.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/xbr-lv2.shader/xbr.fs
-${PLIST.shaders}share/mgba/shaders/xbr-lv2.shader/xbr.vs
-${PLIST.shaders}share/mgba/shaders/xbr-lv3.shader/manifest.ini
-${PLIST.shaders}share/mgba/shaders/xbr-lv3.shader/xbr.fs
-${PLIST.shaders}share/mgba/shaders/xbr-lv3.shader/xbr.vs

Index: pkgsrc/emulators/mgba/distinfo
diff -u pkgsrc/emulators/mgba/distinfo:1.4 pkgsrc/emulators/mgba/distinfo:1.5
--- pkgsrc/emulators/mgba/distinfo:1.4  Wed Sep 25 08:48:43 2019
+++ pkgsrc/emulators/mgba/distinfo      Sat Jan 25 19:26:18 2020
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.4 2019/09/25 08:48:43 nia Exp $
+$NetBSD: distinfo,v 1.5 2020/01/25 19:26:18 nia Exp $
 
-SHA1 (mgba-0.7.3.tar.gz) = 4e265b8332d9ddf0bffc800a3727ce406eaa984a
-RMD160 (mgba-0.7.3.tar.gz) = 4f9869af512e2621d4b403ac875e62edc1010adc
-SHA512 (mgba-0.7.3.tar.gz) = 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789
-Size (mgba-0.7.3.tar.gz) = 11228977 bytes
+SHA1 (mgba-0.8.0.tar.gz) = b7d03be1715f6e14de1c748357171e72e78d7181
+RMD160 (mgba-0.8.0.tar.gz) = 24e8f0a8513872cf0162f47bbc6fd1ef03a6660e
+SHA512 (mgba-0.8.0.tar.gz) = 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2
+Size (mgba-0.8.0.tar.gz) = 11797469 bytes
 SHA1 (patch-CMakeLists.txt) = 025f67fa8cabfcbb7a2e1761e3352f23df5068f8
 SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
-SHA1 (patch-include_mgba-util_platform_posix_threading.h) = c5c737be68340e3571934d43bf0c6eab8bc34978
+SHA1 (patch-include_mgba-util_platform_posix_threading.h) = deabb02eda72a4682ad84f263982eb6f8db4699b
 SHA1 (patch-src_platform_qt_CMakeLists.txt) = e8adb538c1319d6a5c380aa091aa3b10e3ed29e7
 SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21

Index: pkgsrc/emulators/mgba/options.mk
diff -u pkgsrc/emulators/mgba/options.mk:1.2 pkgsrc/emulators/mgba/options.mk:1.3
--- pkgsrc/emulators/mgba/options.mk:1.2        Mon Dec 23 23:03:24 2019
+++ pkgsrc/emulators/mgba/options.mk    Sat Jan 25 19:26:18 2020
@@ -1,11 +1,12 @@
-# $NetBSD: options.mk,v 1.2 2019/12/23 23:03:24 nia Exp $
+# $NetBSD: options.mk,v 1.3 2020/01/25 19:26:18 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mgba
 
 PKG_SUPPORTED_OPTIONS+=        ffmpeg imagemagick qt5 opengl
 PKG_SUGGESTED_OPTIONS+=        ffmpeg imagemagick qt5 opengl
 
-PLIST_VARS+=   qt shaders
+PLIST_SRC+=    PLIST
+PLIST_VARS+=   qt
 
 .include "../../mk/bsd.options.mk"
 
@@ -45,5 +46,5 @@ CMAKE_ARGS+=  -DUSE_EPOXY=OFF
 .endif
 
 .if !empty(PKG_OPTIONS:Mopengl) && !empty(PKG_OPTIONS:Mqt5)
-PLIST.shaders= yes
+PLIST_SRC+=    PLIST.shaders
 .endif

Index: pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h
diff -u pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h:1.1 pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h:1.2
--- pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h:1.1        Sat Jun  8 22:46:03 2019
+++ pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h    Sat Jan 25 19:26:19 2020
@@ -1,15 +1,18 @@
-$NetBSD: patch-include_mgba-util_platform_posix_threading.h,v 1.1 2019/06/08 22:46:03 nia Exp $
+$NetBSD: patch-include_mgba-util_platform_posix_threading.h,v 1.2 2020/01/25 19:26:19 nia Exp $
 
 Support NetBSD pthreads.
 
---- include/mgba-util/platform/posix/threading.h.orig  2019-02-25 01:33:16.000000000 +0000
+--- include/mgba-util/platform/posix/threading.h.orig  2020-01-22 02:17:11.000000000 +0000
 +++ include/mgba-util/platform/posix/threading.h
-@@ -95,6 +95,8 @@ static inline int ThreadSetName(const ch
- #elif defined(__FreeBSD__) || defined(__OpenBSD__)
-       pthread_set_name_np(pthread_self(), name);
+@@ -94,7 +94,11 @@ static inline int ThreadSetName(const ch
+       rename_thread(find_thread(NULL), name);
        return 0;
-+#elif defined(__NetBSD__)
+ #elif defined(HAVE_PTHREAD_SETNAME_NP)
++#if defined(__NetBSD__)
 +      return pthread_setname_np(pthread_self(), "%s", (void *)name);
- #elif defined(__HAIKU__)
-       rename_thread(find_thread(NULL), name);
++#else
+       return pthread_setname_np(pthread_self(), name);
++#endif
+ #else
+       UNUSED(name);
        return 0;

Added files:

Index: pkgsrc/emulators/mgba/PLIST.shaders
diff -u /dev/null pkgsrc/emulators/mgba/PLIST.shaders:1.1
--- /dev/null   Sat Jan 25 19:26:19 2020
+++ pkgsrc/emulators/mgba/PLIST.shaders Sat Jan 25 19:26:18 2020
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST.shaders,v 1.1 2020/01/25 19:26:18 nia Exp $
+share/mgba/shaders/agb001.shader/agb001.fs
+share/mgba/shaders/agb001.shader/manifest.ini
+share/mgba/shaders/ags001.shader/ags001-light.fs
+share/mgba/shaders/ags001.shader/ags001.fs
+share/mgba/shaders/ags001.shader/manifest.ini
+share/mgba/shaders/fish.shader/fish.fs
+share/mgba/shaders/fish.shader/manifest.ini
+share/mgba/shaders/gba-color.shader/gba-color.fs
+share/mgba/shaders/gba-color.shader/manifest.ini
+share/mgba/shaders/lcd.shader/lcd.fs
+share/mgba/shaders/lcd.shader/manifest.ini
+share/mgba/shaders/motion_blur.shader/manifest.ini
+share/mgba/shaders/motion_blur.shader/motion_blur.fs
+share/mgba/shaders/pixelate.shader/manifest.ini
+share/mgba/shaders/scanlines.shader/manifest.ini
+share/mgba/shaders/scanlines.shader/scanlines.fs
+share/mgba/shaders/soften.shader/manifest.ini
+share/mgba/shaders/soften.shader/soften.fs
+share/mgba/shaders/vba_pixelate.shader/manifest.ini
+share/mgba/shaders/vba_pixelate.shader/vba_pixelate.fs
+share/mgba/shaders/vignette.shader/manifest.ini
+share/mgba/shaders/vignette.shader/vignette.fs
+share/mgba/shaders/wiiu.shader/manifest.ini
+share/mgba/shaders/wiiu.shader/wiiu.fs
+share/mgba/shaders/xbr-lv2.shader/manifest.ini
+share/mgba/shaders/xbr-lv2.shader/xbr.fs
+share/mgba/shaders/xbr-lv2.shader/xbr.vs
+share/mgba/shaders/xbr-lv3.shader/manifest.ini
+share/mgba/shaders/xbr-lv3.shader/xbr.fs
+share/mgba/shaders/xbr-lv3.shader/xbr.vs



Home | Main Index | Thread Index | Old Index