summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-05-30 14:32:32 +0000
committernia <nia@pkgsrc.org>2020-05-30 14:32:32 +0000
commitf3b7a9c41f386cb527479cbfba134fcb8a9ed5f4 (patch)
treea24f04a62264483715fa9e66382335c9ac988273 /emulators
parentf20a883a82969212734416168cef05b59a980f74 (diff)
downloadpkgsrc-f3b7a9c41f386cb527479cbfba134fcb8a9ed5f4.tar.gz
libretro-picodrive: Update to 20200527
This update brings new core options for controlling emulation speed and accuracy.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/libretro-picodrive/Makefile77
-rw-r--r--emulators/libretro-picodrive/distinfo11
2 files changed, 37 insertions, 51 deletions
diff --git a/emulators/libretro-picodrive/Makefile b/emulators/libretro-picodrive/Makefile
index b830e5be72e..22199439da6 100644
--- a/emulators/libretro-picodrive/Makefile
+++ b/emulators/libretro-picodrive/Makefile
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2020/05/26 09:45:15 nia Exp $
+# $NetBSD: Makefile,v 1.9 2020/05/30 14:32:32 nia Exp $
-DISTNAME= libretro-picodrive-20180722
-PKGREVISION= 1
+DISTNAME= libretro-picodrive-20200527
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= picodrive
-GITHUB_TAG= 2db90628f5f29f1d4030172ce4f57ab757fa9d93
+GITHUB_TAG= b8fb8f285317632f42ecbbd36cf4fe18ea9189f1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.libretro.com/library/picodrive/
@@ -13,53 +11,42 @@ COMMENT= Libretro core based on the Picodrive MegaDrive/MegaCD/32X emulator
LICENSE= mame-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/bsd.prefs.mk"
NOT_FOR_PLATFORM= ${BIGENDIANPLATFORMS}
-.if !empty(MACHINE_ARCH:M*armv7*)
+.if ${MACHINE_ARCH} == "earmv7hf"
# Avoid mixing in Thumb code with Picodrive's ARM asm.
-CFLAGS+= -marm
-BUILD_MAKE_FLAGS+= ARCH=arm
-BUILD_MAKE_FLAGS+= ARM_ASM=1
-BUILD_MAKE_FLAGS+= use_cyclone=0
-BUILD_MAKE_FLAGS+= use_fame=1
-BUILD_MAKE_FLAGS+= use_drz80=0
-BUILD_MAKE_FLAGS+= use_cz80=1
-BUILD_MAKE_FLAGS+= use_sh2drc=1
-BUILD_MAKE_FLAGS+= use_svpdrc=1
-.elif !empty(MACHINE_ARCH:M*armv6*)
-CFLAGS+= -marm
-BUILD_MAKE_FLAGS+= ARCH=arm
-BUILD_MAKE_FLAGS+= ARM_ASM=1
-BUILD_MAKE_FLAGS+= asm_memory=1
-BUILD_MAKE_FLAGS+= asm_render=1
-BUILD_MAKE_FLAGS+= asm_ym2612=1
-BUILD_MAKE_FLAGS+= asm_misc=1
-BUILD_MAKE_FLAGS+= asm_cdpico=1
-BUILD_MAKE_FLAGS+= asm_cdmemory=1
-BUILD_MAKE_FLAGS+= asm_mix=1
-BUILD_MAKE_FLAGS+= use_cyclone=0
-BUILD_MAKE_FLAGS+= use_fame=0
-BUILD_MAKE_FLAGS+= use_drz80=1
-BUILD_MAKE_FLAGS+= use_cz80=0
-BUILD_MAKE_FLAGS+= use_sh2drc=1
-BUILD_MAKE_FLAGS+= use_svpdrc=1
+CFLAGS+= -marm
+MAKE_FLAGS+= ARCH=arm
+MAKE_FLAGS+= ARM_ASM=1
+MAKE_FLAGS+= use_cyclone=0
+MAKE_FLAGS+= use_fame=1
+MAKE_FLAGS+= use_drz80=0
+MAKE_FLAGS+= use_cz80=1
+MAKE_FLAGS+= use_sh2drc=1
+MAKE_FLAGS+= use_svpdrc=1
+.elif ${MACHINE_ARCH} == "earmv6hf"
+CFLAGS+= -marm
+MAKE_FLAGS+= ARCH=arm
+MAKE_FLAGS+= ARM_ASM=1
+MAKE_FLAGS+= asm_memory=1
+MAKE_FLAGS+= asm_render=1
+MAKE_FLAGS+= asm_ym2612=1
+MAKE_FLAGS+= asm_misc=1
+MAKE_FLAGS+= asm_cdpico=1
+MAKE_FLAGS+= asm_cdmemory=1
+MAKE_FLAGS+= asm_mix=1
+MAKE_FLAGS+= use_cyclone=0
+MAKE_FLAGS+= use_fame=0
+MAKE_FLAGS+= use_drz80=1
+MAKE_FLAGS+= use_cz80=0
+MAKE_FLAGS+= use_sh2drc=1
+MAKE_FLAGS+= use_svpdrc=1
.endif
-INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
-
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/picodrive_libretro.so \
- ${DESTDIR}${PREFIX}/lib/libretro/picodrive_libretro.so
+LIBRETRO_CORE= picodrive
+.include "../../emulators/retroarch/core.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-picodrive/distinfo b/emulators/libretro-picodrive/distinfo
index 32ddfd417a8..2b03539ec9a 100644
--- a/emulators/libretro-picodrive/distinfo
+++ b/emulators/libretro-picodrive/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/08/08 23:47:49 nia Exp $
+$NetBSD: distinfo,v 1.5 2020/05/30 14:32:32 nia Exp $
-SHA1 (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 61b5269de3b1f36f22f13f4d2626bf5bd25b2690
-RMD160 (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 40a1b55c0e3f96cdf84aca88b03e4e2492915dea
-SHA512 (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 3241fd627a2a506f2e01241a2cef0635dc2efb1598a8c538809f7c104b3de20629b76342a2223bcff958def5cf71b1da5cc0f136879374339a1067170439035c
-Size (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 1411113 bytes
-SHA1 (patch-Makefile.libretro) = 466689dd6ea1de117f2e70e8811b37fb1013a751
+SHA1 (libretro-picodrive-20200527-b8fb8f285317632f42ecbbd36cf4fe18ea9189f1.tar.gz) = 94f7f72adbc3b2fc3afb7ccf4e571e667d1f0ebc
+RMD160 (libretro-picodrive-20200527-b8fb8f285317632f42ecbbd36cf4fe18ea9189f1.tar.gz) = f7fe39aadc2da256cab70a44542bd496cdeac1f3
+SHA512 (libretro-picodrive-20200527-b8fb8f285317632f42ecbbd36cf4fe18ea9189f1.tar.gz) = 9f6720421beeef30bfaefc46bd814f0f1a461d0e7517a0f72181aae0acf59086293a225e20e7ac091575ded3455f71e68c242166b32256ba4d0590e995b7561d
+Size (libretro-picodrive-20200527-b8fb8f285317632f42ecbbd36cf4fe18ea9189f1.tar.gz) = 1439548 bytes