pkgsrc-WIP-changes archive

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

libretro-picodrive: Update



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Jun 4 23:48:19 2017 +0100
Changeset:	7f496bc00a74b458adbf0ac3a1683788c32cc97b

Modified Files:
	libretro-picodrive/Makefile
	libretro-picodrive/distinfo
Added Files:
	libretro-picodrive/TODO

Log Message:
libretro-picodrive: Update

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7f496bc00a74b458adbf0ac3a1683788c32cc97b

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

diffstat:
 libretro-picodrive/Makefile | 29 ++++++++++++++++++++++-------
 libretro-picodrive/TODO     | 10 ++++++++++
 libretro-picodrive/distinfo |  8 ++++----
 3 files changed, 36 insertions(+), 11 deletions(-)

diffs:
diff --git a/libretro-picodrive/Makefile b/libretro-picodrive/Makefile
index efdbc62a6d..31ad69c8a2 100644
--- a/libretro-picodrive/Makefile
+++ b/libretro-picodrive/Makefile
@@ -1,26 +1,41 @@
 # $NetBSD: Makefile,v 1.2 2015/02/05 16:57:53 wiz Exp $
 
-DISTNAME=	libretro-picodrive-20160304
+DISTNAME=	libretro-picodrive-20170418
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=libretro/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/libretro/picodrive
+HOMEPAGE=	https://wiki.libretro.com/index.php?title=PicoDrive
 COMMENT=	Fast MegaDrive/MegaCD/32X emulator
 LICENSE=	picodrive-license
 
 GITHUB_PROJECT=	picodrive
-GITHUB_TAG=	dfafb96d909d7a0545ba02d493ce253e7ac4347e
+GITHUB_TAG=	cbc93b68dca1d72882d07b54bbe1ef25b980558a
 
 MAKE_FILE=	Makefile.libretro
 USE_TOOLS+=	gmake
 
-.if !empty(MACHINE_ARCH:M*armv6*)
-MAKE_ENV+=	HAVE_ARMV6=1
-.elif !empty(MACHINE_ARCH:M*armv7*)
-MAKE_ENV+=	HAVE_ARMV7=1
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !empty(MACHINE_ARCH:M*arm*)
+BUILD_MAKE_FLAGS+=	ARCH=arm
+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=0
+BUILD_MAKE_FLAGS+=	asm_cdmemory=1
+BUILD_MAKE_FLAGS+=	asm_mix=1
+BUILD_MAKE_FLAGS+=	use_cyclone=0
+BUILD_MAKE_FLAGS+=	use_fame=1
+BUILD_MAKE_FLAGS+=	use_drz80=1
+BUILD_MAKE_FLAGS+=	use_cz80=0
+BUILD_MAKE_FLAGS+=	use_sh2drc=1
+BUILD_MAKE_FLAGS+=	use_svpdrc=1
 .endif
 
+NOT_FOR_PLATFORM+=	${BIGENDIANPLATFORMS}
+
 INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
 
 do-install:
diff --git a/libretro-picodrive/TODO b/libretro-picodrive/TODO
new file mode 100644
index 0000000000..de87565154
--- /dev/null
+++ b/libretro-picodrive/TODO
@@ -0,0 +1,10 @@
+The upstream code has problems. They use a specific toolchain to mitigate
+that.
+
+I couldn't get it to start without segfaulting on NetBSD amd64 with clang
+and gcc5, same on Armbian with gcc 4.9.
+
+According to upstream it depends on gcc 4.8, which works on amd64.
+
+(This has always been the case, and isn't just specific to this newer
+version.)
diff --git a/libretro-picodrive/distinfo b/libretro-picodrive/distinfo
index 4f0fb4ab36..498818288c 100644
--- a/libretro-picodrive/distinfo
+++ b/libretro-picodrive/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.2 2015/11/03 20:30:59 agc Exp $
 
-SHA1 (libretro-picodrive-20160304-dfafb96d909d7a0545ba02d493ce253e7ac4347e.tar.gz) = 9d3208061c31350e7754463c6c57fa16f9e95c5d
-RMD160 (libretro-picodrive-20160304-dfafb96d909d7a0545ba02d493ce253e7ac4347e.tar.gz) = 1ad3da8aefa360f40f63575541121135bf0922c1
-SHA512 (libretro-picodrive-20160304-dfafb96d909d7a0545ba02d493ce253e7ac4347e.tar.gz) = 12ed65fab4919365d7544022f544b5533ee173934ff88cfacc327a47275ee0493c134b53c3912786ac1c6cdfe28b20db9b96066e49957a77ddbbf2de420fcf23
-Size (libretro-picodrive-20160304-dfafb96d909d7a0545ba02d493ce253e7ac4347e.tar.gz) = 1379504 bytes
+SHA1 (libretro-picodrive-20170418-cbc93b68dca1d72882d07b54bbe1ef25b980558a.tar.gz) = d03188e6ac54f33b7714450a0b1c6a973232b7b3
+RMD160 (libretro-picodrive-20170418-cbc93b68dca1d72882d07b54bbe1ef25b980558a.tar.gz) = c406dd15fd8db07c80b7e16d007092afd3b97b94
+SHA512 (libretro-picodrive-20170418-cbc93b68dca1d72882d07b54bbe1ef25b980558a.tar.gz) = 5bee0a017a1d2257692460211abf0fa9ce69c8e0b9d2f84e685f76a22487f826e84381d6c1d4dd678edcbce565e44601d71c5fc6c5fa358ebf544b9b2ed1141a
+Size (libretro-picodrive-20170418-cbc93b68dca1d72882d07b54bbe1ef25b980558a.tar.gz) = 1382599 bytes


Home | Main Index | Thread Index | Old Index