summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-05-30 14:42:05 +0000
committernia <nia@pkgsrc.org>2020-05-30 14:42:05 +0000
commitb4b90a1a9e89ba06210e924e0f0716a0bd916edb (patch)
tree90214a11b247e3b3fe0efd0476a7dcc992edbec9
parent3f96fb70d491e6051bb2fb809f886ee38ab10c4d (diff)
downloadpkgsrc-b4b90a1a9e89ba06210e924e0f0716a0bd916edb.tar.gz
libretro-snes9x2010: Update to 20200518
Changes: * libretro: added granularity in SuperFX overclock - There doesn't seem to be any benefit of overclocking above 15 MHz (150%). The user should be allowed to be more precise with their overclock setting now. * Fix MMC reg for 64bit builds - Fixes a segmentation fault when playing large ROM games. * Fix MMC bank register bit 7 (FuSoYa) - Fixes the 64Mbit ExLoRom map. * ROM: fail if ROM is invalid - Fixes an issue whereby a non-SNES file would cause a segmentation fault. This may occur if the selected ROM is corrupt, or a file has an incorrect extension. * APU: remove unused SoundSync - Additionally modified the resampler to use buffer size as a parameter instead of the number of samples within the buffer. Previously, the buffer size was being changed to the number of samples, and then changed back within the resampler. * snes9x: add defines for unused multi-cart support - The compiler was already optimising these unused functions out. The libretro core can define SNES_SUPPORT_MULTI_CART 1 to re-enable support for multi-cart in the future. * snes9x: refactor defines and remove overscan - Out of bounds memory fix from * snes9x: APU: Fix buffer overrun - Additionally: This fixes linking with LTO. Disable audio if an error occurs in init instead of continuing and segfaulting. * snes9x: reduce APU buffer to 64ms - I believe this to be a more sane setting than a 1000ms buffer. * snes9x: backport config from upstream - Most options were not available in English, despite it being the default language. All the options that were available in Turkish are now available in English. * snes9x: fix headercount increment * libretro: fix pitch measurement
-rw-r--r--emulators/libretro-snes9x2010/Makefile30
-rw-r--r--emulators/libretro-snes9x2010/distinfo10
2 files changed, 10 insertions, 30 deletions
diff --git a/emulators/libretro-snes9x2010/Makefile b/emulators/libretro-snes9x2010/Makefile
index 2f3a5ff911b..bf216714a6e 100644
--- a/emulators/libretro-snes9x2010/Makefile
+++ b/emulators/libretro-snes9x2010/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:16 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/30 14:42:05 nia Exp $
-DISTNAME= libretro-snes9x2010-20180626
+DISTNAME= libretro-snes9x2010-20200518
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= snes9x2010
-GITHUB_TAG= 21e176e8f0595c5577e6c2fb5164f92b8855396e
+GITHUB_TAG= 187e2b58fc09dfeb9fdb5a95bc26786219a111cf
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.libretro.com/library/snes9x_2010/
@@ -12,27 +11,8 @@ COMMENT= Libretro core based on the snes9x Super Nintendo emulator
LICENSE= snes9x-license
MAKE_FILE= Makefile.libretro
-USE_TOOLS+= gmake
-OPSYSVARS+= SOEXT
-SOEXT.Darwin= dylib
-SOEXT.*= so
-PLIST_SUBST+= SOEXT=${SOEXT}
-
-MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+= -DMSB_FIRST
-.endif
-
-BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=libretro/link.T
-
-INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
-
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/snes9x2010_libretro.so \
- ${DESTDIR}${PREFIX}/lib/libretro/snes9x2010_libretro.so
+LIBRETRO_CORE= snes9x2010
+.include "../../emulators/retroarch/core.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-snes9x2010/distinfo b/emulators/libretro-snes9x2010/distinfo
index f0771fc4b81..84ae4da3348 100644
--- a/emulators/libretro-snes9x2010/distinfo
+++ b/emulators/libretro-snes9x2010/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/08/10 20:55:13 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/05/30 14:42:05 nia Exp $
-SHA1 (libretro-snes9x2010-20180626-21e176e8f0595c5577e6c2fb5164f92b8855396e.tar.gz) = 353ce80dade293d986723f20b03885d9b42b80eb
-RMD160 (libretro-snes9x2010-20180626-21e176e8f0595c5577e6c2fb5164f92b8855396e.tar.gz) = af5b0829d8782ea02f050aeedd54beded8674819
-SHA512 (libretro-snes9x2010-20180626-21e176e8f0595c5577e6c2fb5164f92b8855396e.tar.gz) = a392b8fbe67d3316b4ba80ae200c34a324c7ac42dba788feb4e9847c358f0bc2da88d9fe466fb3a1eea23c62026e6df710ac04246b8d5de56502f4102029d7a2
-Size (libretro-snes9x2010-20180626-21e176e8f0595c5577e6c2fb5164f92b8855396e.tar.gz) = 383317 bytes
+SHA1 (libretro-snes9x2010-20200518-187e2b58fc09dfeb9fdb5a95bc26786219a111cf.tar.gz) = 04c5295d65f21b983070143e16e6394f6be5f9d0
+RMD160 (libretro-snes9x2010-20200518-187e2b58fc09dfeb9fdb5a95bc26786219a111cf.tar.gz) = 15f95c4856a66238ec138019b1c5dbbc17fda17e
+SHA512 (libretro-snes9x2010-20200518-187e2b58fc09dfeb9fdb5a95bc26786219a111cf.tar.gz) = 7c4997c21f5a0af6a9c7db9e9a11c2584e112866b08df8683a5006422fd880b40e9d64263048b10bf90376b1c819fe0e3aaa421c39eb5633b67974ba3f34acaf
+Size (libretro-snes9x2010-20200518-187e2b58fc09dfeb9fdb5a95bc26786219a111cf.tar.gz) = 393093 bytes