Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 18:55:27 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566792 - in head/games: . kodi-addon-game.libretro.picodrive
Message-ID:  <202102281855.11SItRCd025769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Sun Feb 28 18:55:27 2021
New Revision: 566792
URL: https://svnweb.freebsd.org/changeset/ports/566792

Log:
  This is yet another Megadrive / Genesis / Sega CD / Mega CD / 32X / SMS
  emulator, which was written having ARM-based handheld devices in mind
  (such as smartphones and handheld consoles like GP2X and Pandora),
  but also runs on non-ARM little-endian hardware too.
  
  The emulator is heavily optimized for ARM, features assembly cores for
  68k, Z80 and VDP chip emulation, also has dynamic recompilers for SH2
  and SSP16 (for 32X and SVP emulation). It was started by Dave (aka fdave,
  finalburn author) as basic Genesis/Megadrive emulator for Pocket PC,
  then taken over and expanded by notaz.
  
  PicoDrive was the first emulator ever to properly emulate Virtua Racing
  and it's SVP chip.
  
  WWW: https://github.com/libretro/picodrive
  
  PR:		245263
  Submitted by:	rozhuk.im@gmail.com

Added:
  head/games/kodi-addon-game.libretro.picodrive/
  head/games/kodi-addon-game.libretro.picodrive/Makefile   (contents, props changed)
  head/games/kodi-addon-game.libretro.picodrive/distinfo   (contents, props changed)
  head/games/kodi-addon-game.libretro.picodrive/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun Feb 28 18:52:47 2021	(r566791)
+++ head/games/Makefile	Sun Feb 28 18:55:27 2021	(r566792)
@@ -448,6 +448,7 @@
     SUBDIR += kodi-addon-game.libretro.beetle-psx
     SUBDIR += kodi-addon-game.libretro.genplus
     SUBDIR += kodi-addon-game.libretro.pcsx-rearmed
+    SUBDIR += kodi-addon-game.libretro.picodrive
     SUBDIR += kolf
     SUBDIR += kollision
     SUBDIR += konquest

Added: head/games/kodi-addon-game.libretro.picodrive/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.picodrive/Makefile	Sun Feb 28 18:55:27 2021	(r566792)
@@ -0,0 +1,50 @@
+# Created by: Rozhuk Ivan <rozhuk.im@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	game.libretro.picodrive
+PORTVERSION=	1.97.0.19
+DISTVERSIONSUFFIX=	-Matrix
+CATEGORIES=	games
+
+MAINTAINER=	rozhuk.im@gmail.com
+COMMENT=	Kodi game addon for Sega - MS/MD/CD/32X (PicoDrive)
+
+LICENSE=	MAME-LICENSE
+LICENSE_NAME=	MAME license
+LICENSE_FILE=	${WRKSRC}/depends/common/picodrive/COPYING
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
+LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
+RUN_DEPENDS=	kodi-addon-game.libretro>=0:games/kodi-addon-game.libretro
+
+USES=		cmake:noninja gmake kodi
+USE_GITHUB=	yes
+GH_ACCOUNT=	kodi-game
+
+# Keep in sync with: depends/common/picodrive/picodrive.txt and work/picodrive-*/.gitmodules
+GH_TUPLE=	libretro:picodrive:046371ad2a3842d938cc74db5a615764ca2ff4ac:libretro_picodrive \
+		notaz:libpicofe:76e45c3489a0c32d91744413c198f685b553f6c0:notaz_libpicofe \
+		notaz:cyclone68000:94a9d9a888e72cbfa4db12113cd113cf5e154f7f:notaz_cyclone68000 \
+		digital-sound-antiques:emu2413:a18c81927fae4963f88a4c946ca150246cb9e9be:digital_sound_antiques_emu2413 \
+		lieff:minimp3:ef9e212fa29bb72d23558da21bb5694fd2d01768:lieff_minimp3
+
+CMAKE_ARGS=	-DCMAKE_BUILD_TYPE=Release \
+		-DBUILD_SHARED_LIBS=1 \
+		-DADDONS_TO_BUILD=${PORTNAME} \
+		-DPICODRIVE_LIB=depends/common/picodrive/picodrive_libretro.so
+
+post-extract:
+	@${MV} ${WRKSRC_notaz_libpicofe}/* ${WRKSRC_libretro_picodrive}/platform/libpicofe/
+	@${MV} ${WRKSRC_notaz_cyclone68000}/* ${WRKSRC_libretro_picodrive}/cpu/cyclone/
+	@${MV} ${WRKSRC_digital_sound_antiques_emu2413}/* ${WRKSRC_libretro_picodrive}/pico/sound/emu2413/
+	@${MV} ${WRKSRC_lieff_minimp3}/* ${WRKSRC_libretro_picodrive}/platform/common/minimp3
+	@${MV} ${WRKSRC_libretro_picodrive}/* ${WRKSRC}/depends/common/picodrive/
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|find_library(PICODRIVE_LIB.*|add_subdirectory(depends/common/picodrive)|g' \
+		${WRKSRC}/CMakeLists.txt
+
+post-install:
+	${RM} -rf ${STAGEDIR}${PREFIX}/lib/libretro
+
+.include <bsd.port.mk>

Added: head/games/kodi-addon-game.libretro.picodrive/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.picodrive/distinfo	Sun Feb 28 18:55:27 2021	(r566792)
@@ -0,0 +1,13 @@
+TIMESTAMP = 1611234477
+SHA256 (kodi-game-game.libretro.picodrive-1.97.0.19-Matrix_GH0.tar.gz) = 6685fc276a54affad89c8cbc8f980114bd750153a19e82f6f810ab47456801aa
+SIZE (kodi-game-game.libretro.picodrive-1.97.0.19-Matrix_GH0.tar.gz) = 791215
+SHA256 (libretro-picodrive-046371ad2a3842d938cc74db5a615764ca2ff4ac_GH0.tar.gz) = 101155a1a0da985a2d8a7c62967a3ee110825b68703a2519ba906d2eba7fe994
+SIZE (libretro-picodrive-046371ad2a3842d938cc74db5a615764ca2ff4ac_GH0.tar.gz) = 1573265
+SHA256 (notaz-libpicofe-76e45c3489a0c32d91744413c198f685b553f6c0_GH0.tar.gz) = a0a1c7e65f88b8fb17f0c3139a947c3677fcab848b90e24ee1cd0c6ae5ffe8c2
+SIZE (notaz-libpicofe-76e45c3489a0c32d91744413c198f685b553f6c0_GH0.tar.gz) = 86695
+SHA256 (notaz-cyclone68000-94a9d9a888e72cbfa4db12113cd113cf5e154f7f_GH0.tar.gz) = 1bd2f6558b3cf276ed6d895df303c3e8fc45e501017b10c2f96b35a73d052401
+SIZE (notaz-cyclone68000-94a9d9a888e72cbfa4db12113cd113cf5e154f7f_GH0.tar.gz) = 64417
+SHA256 (digital-sound-antiques-emu2413-a18c81927fae4963f88a4c946ca150246cb9e9be_GH0.tar.gz) = b183c44a83451cb5c8ce16f800e11a8c848b8554f6f98e909a279edc927d8db1
+SIZE (digital-sound-antiques-emu2413-a18c81927fae4963f88a4c946ca150246cb9e9be_GH0.tar.gz) = 17155
+SHA256 (lieff-minimp3-ef9e212fa29bb72d23558da21bb5694fd2d01768_GH0.tar.gz) = 1290ecb0f0d489506169bc3b886fe8323e5b27e72bf647afd13500716ac64824
+SIZE (lieff-minimp3-ef9e212fa29bb72d23558da21bb5694fd2d01768_GH0.tar.gz) = 19744364

Added: head/games/kodi-addon-game.libretro.picodrive/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.picodrive/pkg-descr	Sun Feb 28 18:55:27 2021	(r566792)
@@ -0,0 +1,15 @@
+This is yet another Megadrive / Genesis / Sega CD / Mega CD / 32X / SMS
+emulator, which was written having ARM-based handheld devices in mind
+(such as smartphones and handheld consoles like GP2X and Pandora),
+but also runs on non-ARM little-endian hardware too.
+
+The emulator is heavily optimized for ARM, features assembly cores for
+68k, Z80 and VDP chip emulation, also has dynamic recompilers for SH2
+and SSP16 (for 32X and SVP emulation). It was started by Dave (aka fdave,
+finalburn author) as basic Genesis/Megadrive emulator for Pocket PC,
+then taken over and expanded by notaz.
+
+PicoDrive was the first emulator ever to properly emulate Virtua Racing
+and it's SVP chip.
+
+WWW: https://github.com/libretro/picodrive



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102281855.11SItRCd025769>