svn commit: r566790 - in head/games: . kodi-addon-game.libretro.genplus

Bernhard Froehlich decke at FreeBSD.org
Sun Feb 28 18:49:26 UTC 2021


Author: decke
Date: Sun Feb 28 18:49:24 2021
New Revision: 566790
URL: https://svnweb.freebsd.org/changeset/ports/566790

Log:
  Genesis Plus GX is an open-source Sega 8/16 bit emulator focused on
  accuracy and portability. Initially ported and developped on
  Gamecube / Wii consoles through libogc / devkitPPC, this emulator is now
  available on many other platforms through various frontends such as:
  - Retroarch (libretro)
  - Bizhawk
  - OpenEmu
  
  The source code, initially based on Genesis Plus 1.2a by Charles
  MacDonald has been heavily modified & enhanced, with respect to original
  goals and design, in order to improve emulation accuracy as well as
  adding support for new peripherals, cartridge or console hardware and
  many other exciting features.
  
  The result is that Genesis Plus GX is now more a continuation of the
  original project than a simple port, providing very accurate emulation
  and 100% compatibility with Genesis / Mega Drive, Sega/Mega CD, Master
  System, Game Gear & SG-1000 released software (including all unlicensed
  or pirate known dumps), also emulating backwards compatibility modes
  when available. All the people who contributed (directly or indirectly)
  to this project are listed on the Credits page.
  
  WWW: https://github.com/libretro/Genesis-Plus-GX
  
  PR:		245260
  Submitted by:	rozhuk.im at gmail.com

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

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun Feb 28 18:46:10 2021	(r566789)
+++ head/games/Makefile	Sun Feb 28 18:49:24 2021	(r566790)
@@ -446,6 +446,7 @@
     SUBDIR += kobodeluxe
     SUBDIR += kodi-addon-game.libretro
     SUBDIR += kodi-addon-game.libretro.beetle-psx
+    SUBDIR += kodi-addon-game.libretro.genplus
     SUBDIR += kolf
     SUBDIR += kollision
     SUBDIR += konquest

Added: head/games/kodi-addon-game.libretro.genplus/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.genplus/Makefile	Sun Feb 28 18:49:24 2021	(r566790)
@@ -0,0 +1,43 @@
+# Created by: Rozhuk Ivan <rozhuk.im at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	game.libretro.genplus
+PORTVERSION=	1.7.4.15
+DISTVERSIONSUFFIX=	-Matrix
+CATEGORIES=	games
+
+MAINTAINER=	rozhuk.im at gmail.com
+COMMENT=	Kodi game addon for Sega - MS/GG/MD/CD (Genesis Plus GX)
+
+LICENSE=	GPGX
+LICENSE_NAME=	GPGX
+LICENSE_FILE=	${WRKSRC}/depends/common/genplus/LICENSE.txt
+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 \
+		libretro:genplus
+GH_PROJECT=	Genesis-Plus-GX:genplus
+# Keep in sync with: depends/common/genplus/genplus.txt
+GH_TAGNAME=	0164eb9730c0803674a54a3694633a56f4801661:genplus
+
+CMAKE_ARGS=	-DCMAKE_BUILD_TYPE=Release \
+		-DBUILD_SHARED_LIBS=1 \
+		-DADDONS_TO_BUILD=${PORTNAME} \
+		-DGENPLUS_LIB=depends/common/genplus/genesis_plus_gx_libretro.so
+
+post-extract:
+	@${MV} ${WRKSRC_genplus}/* ${WRKSRC}/depends/common/genplus/
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|find_library(GENPLUS_LIB.*|add_subdirectory(depends/common/genplus)|g' \
+		${WRKSRC}/CMakeLists.txt
+
+post-install:
+	${RM} -rf ${STAGEDIR}${PREFIX}/lib/libretro
+
+.include <bsd.port.mk>

Added: head/games/kodi-addon-game.libretro.genplus/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.genplus/distinfo	Sun Feb 28 18:49:24 2021	(r566790)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1611230470
+SHA256 (kodi-game-game.libretro.genplus-1.7.4.15-Matrix_GH0.tar.gz) = 7a2cb0872e1d4a6908672dd250aeae8a3369c525b73cde30c370e0de87e22f9e
+SIZE (kodi-game-game.libretro.genplus-1.7.4.15-Matrix_GH0.tar.gz) = 862196
+SHA256 (libretro-Genesis-Plus-GX-0164eb9730c0803674a54a3694633a56f4801661_GH0.tar.gz) = 549961291e5615caa156186d5975353db84488ef7395a9d095b37ae30cf22891
+SIZE (libretro-Genesis-Plus-GX-0164eb9730c0803674a54a3694633a56f4801661_GH0.tar.gz) = 6512941

Added: head/games/kodi-addon-game.libretro.genplus/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.genplus/pkg-descr	Sun Feb 28 18:49:24 2021	(r566790)
@@ -0,0 +1,23 @@
+Genesis Plus GX is an open-source Sega 8/16 bit emulator focused on
+accuracy and portability. Initially ported and developped on
+Gamecube / Wii consoles through libogc / devkitPPC, this emulator is now
+available on many other platforms through various frontends such as:
+- Retroarch (libretro)
+- Bizhawk
+- OpenEmu
+
+The source code, initially based on Genesis Plus 1.2a by Charles
+MacDonald has been heavily modified & enhanced, with respect to original
+goals and design, in order to improve emulation accuracy as well as
+adding support for new peripherals, cartridge or console hardware and
+many other exciting features.
+
+The result is that Genesis Plus GX is now more a continuation of the
+original project than a simple port, providing very accurate emulation
+and 100% compatibility with Genesis / Mega Drive, Sega/Mega CD, Master
+System, Game Gear & SG-1000 released software (including all unlicensed
+or pirate known dumps), also emulating backwards compatibility modes
+when available. All the people who contributed (directly or indirectly)
+to this project are listed on the Credits page.
+
+WWW: https://github.com/libretro/Genesis-Plus-GX


More information about the svn-ports-all mailing list