summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-08-03 16:23:36 +0000
committernia <nia@pkgsrc.org>2022-08-03 16:23:36 +0000
commit9833ab55cc4cf71a9960a5190f89a002c9c2879a (patch)
tree873c70a0814a9dc9fce0daa6775fe8b2d1bcb188 /emulators
parent044f7844ea0671534ba0acbecf5c4a824f5f7595 (diff)
downloadpkgsrc-9833ab55cc4cf71a9960a5190f89a002c9c2879a.tar.gz
sameboy: update to 0.15.4
Changes Version 0.15.4 This version is backwards compatible with save states from SameBoy 0.14.3 and newer, as well as save states from any BESS compliant emulator New/Improved Features * The “Emulate Hardware” and “Preserve Brightness” color correction modes are now called “Modern – Balanced” and “Modern – Boost Contrast”, respectively, to better represent them in the context other modes that came after their introduction * A new “Modern – Accurate” color correction mode was added. This new mode preserves the modern saturation and contrast of “Modern – Balanced” but further improves on color balancing accuracy * The Anti-aliased Scale4x filter has been revised and improved Accuracy Improvements/Fixes * A color correction rounding error was fixed Bug Fixes * Fixed potential visual artifacts when using certain scaling filters on some combinations of resolutions and devices * Fixed a bug that made SameBoy crash on launch on older versions of macOS if an update was available * The SDL will no longer get stuck (unless “Skip” is used) when trying to use certain joypads’ D-pad to configure the directional keys * Attempt to work around an X11 bug that caused file and directory selection dialogs to ignore mouse keys Version 0.15.3 This version is backwards compatible with save states from SameBoy 0.14.3 and newer, as well as save states from any BESS compliant emulator Accuracy Improvements/Fixes * Improvements to all color correction modes Bug Fixes * Fixed a race condition that could cause the Memory Viewer to crash if used without pausing the ROM first * Fixed a bug that caused SameBoy to incorrectly warn about saves being unwritable * Fixed a bug that caused the SDL port to not respect the joypads-in-background setting at startup Version 0.15.2 This version is backwards compatible with save states from SameBoy 0.14.3 and newer, as well as save states from any BESS compliant emulator New/Improved Features * A setting to allow joypad input when SameBoy is not in focus was added to both frontends * The SDL GUI now follows the user-configured Game Boy palette * The SDL frontend now supports Game Boy palettes exported from the Cocoa port, and now includes 7 new palettes to choose from * The scrollbar in the SDL frontend is now draggable * The SDL GUI now correctly allows using the user-configured buttons in its menu * An OpenAL audio driver is now available for Linux and other Unix users in the SDL port * Up to two joypad hotkeys may now be configured to perform actions such as pausing and saving states in both frontends * The softbreak debugger command was given a better description * Both frontends will now warn you if progress cannot be saved when loading a ROM * Game Boy Player (using CPU AGB A) is now a selectable Game Boy Advance revision Accuracy Improvements/Fixes * Emulated a glitch where a misconfigured window can insert pixels between tiles on models prior to the Game Boy Color, fixes Star Trek - 25th Anniversary * Fixed a window-related regression, affecting edge cases where WX=0 * Accuracy improvements to emulation of the Game Boy Camera * Accurate emulation of JOYP switching delay on the DMG * Realistic emulation of button bouncing while keeping lag to a minimum Misc Internal Changes * Fixed a potential memory corruption when SameBoy is used as a library in a C++ project
Diffstat (limited to 'emulators')
-rw-r--r--emulators/sameboy/Makefile3
-rw-r--r--emulators/sameboy/Makefile.common4
-rw-r--r--emulators/sameboy/PLIST9
-rw-r--r--emulators/sameboy/distinfo8
-rw-r--r--emulators/sameboy/options.mk18
5 files changed, 34 insertions, 8 deletions
diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile
index 623b18d68b0..13d912a2938 100644
--- a/emulators/sameboy/Makefile
+++ b/emulators/sameboy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/07/07 05:46:15 nia Exp $
+# $NetBSD: Makefile,v 1.14 2022/08/03 16:23:36 nia Exp $
.include "Makefile.common"
@@ -18,6 +18,7 @@ BUILDLINK_TRANSFORM+= rm:-Werror
.include "../../graphics/MesaLib/buildlink3.mk"
.endif
+.include "options.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
diff --git a/emulators/sameboy/Makefile.common b/emulators/sameboy/Makefile.common
index 98ac48c9249..f0f6bff6aaf 100644
--- a/emulators/sameboy/Makefile.common
+++ b/emulators/sameboy/Makefile.common
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.16 2022/07/13 09:08:22 nia Exp $
+# $NetBSD: Makefile.common,v 1.17 2022/08/03 16:23:36 nia Exp $
# used by emulators/sameboy/Makefile
# used by emulators/libretro-sameboy/Makefile
-DISTNAME= sameboy-0.15.1
+DISTNAME= sameboy-0.15.4
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=LIJI32/}
GITHUB_PROJECT= SameBoy
diff --git a/emulators/sameboy/PLIST b/emulators/sameboy/PLIST
index 847ffbfa2c4..dc7173d46f7 100644
--- a/emulators/sameboy/PLIST
+++ b/emulators/sameboy/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/07/07 05:46:15 nia Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/08/03 16:23:36 nia Exp $
bin/sameboy
share/applications/sameboy.desktop
share/icons/hicolor/128x128/apps/sameboy.png
@@ -21,6 +21,13 @@ share/icons/hicolor/64x64/mimetypes/x-gameboy-color-rom.png
share/icons/hicolor/64x64/mimetypes/x-gameboy-rom.png
share/mime/packages/sameboy.xml
share/sameboy/LICENSE
+share/sameboy/Palettes/Desert.sbp
+share/sameboy/Palettes/Evening.sbp
+share/sameboy/Palettes/Fog.sbp
+share/sameboy/Palettes/Magic Eggplant.sbp
+share/sameboy/Palettes/Radioactive Pea.sbp
+share/sameboy/Palettes/Seaweed.sbp
+share/sameboy/Palettes/Twilight.sbp
share/sameboy/Shaders/AAOmniScaleLegacy.fsh
share/sameboy/Shaders/AAScale2x.fsh
share/sameboy/Shaders/AAScale4x.fsh
diff --git a/emulators/sameboy/distinfo b/emulators/sameboy/distinfo
index f27687fb94b..9d14aa70683 100644
--- a/emulators/sameboy/distinfo
+++ b/emulators/sameboy/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2022/07/13 09:08:22 nia Exp $
+$NetBSD: distinfo,v 1.17 2022/08/03 16:23:36 nia Exp $
-BLAKE2s (sameboy-0.15.1.tar.gz) = 87ef44662940cd0160ef877e8adcc4a063dcc46e67302817d757b9810606a039
-SHA512 (sameboy-0.15.1.tar.gz) = 14e8bca30a932cad9f6e1b547d844f35fa00dbd59c9157c68f8348d422952bb1445c7c3fe4d80f614355952e9a344a34ad6ff65f0bc5737eb0a18fa1bd08d45b
-Size (sameboy-0.15.1.tar.gz) = 3082898 bytes
+BLAKE2s (sameboy-0.15.4.tar.gz) = 246c0414b6489465bd6b7d46a13c6659bbf145ae8ffb9cd129a7cff89182d36a
+SHA512 (sameboy-0.15.4.tar.gz) = a9a9f056f302dd130fbc31ca5a5824b9863c0d3df8cdb650e8a2035adf78c2d1f2a6ecce4903968a45ca98bc3e668118fe552ae9b8ff28cd307cbdbf3359c41b
+Size (sameboy-0.15.4.tar.gz) = 3096947 bytes
SHA1 (patch-Core_gb.c) = 3945b96fcfa2047213e34a398b2e18b89057fdab
diff --git a/emulators/sameboy/options.mk b/emulators/sameboy/options.mk
new file mode 100644
index 00000000000..04c78fd3334
--- /dev/null
+++ b/emulators/sameboy/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2022/08/03 16:23:36 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.sameboy
+PKG_SUPPORTED_OPTIONS= openal
+PKG_SUGGESTED_OPTIONS.Darwin= openal
+
+.include "../../mk/bsd.options.mk"
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !empty(PKG_OPTIONS:Mopenal)
+MAKE_FLAGS+= ENABLE_OPENAL=1
+.if ${OPSYS} != "Darwin"
+. include "../../audio/openal-soft/buildlink3.mk"
+.endif
+.else
+MAKE_FLAGS+= ENABLE_OPENAL=0
+.endif