From dcf31cc0f1f6bfcbdd9501aeae23b423708bbdac Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Sun, 28 Feb 2021 18:49:24 +0000 Subject: [PATCH] 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@gmail.com --- games/Makefile | 1 + .../kodi-addon-game.libretro.genplus/Makefile | 43 +++++++++++++++++++ .../kodi-addon-game.libretro.genplus/distinfo | 5 +++ .../pkg-descr | 23 ++++++++++ 4 files changed, 72 insertions(+) create mode 100644 games/kodi-addon-game.libretro.genplus/Makefile create mode 100644 games/kodi-addon-game.libretro.genplus/distinfo create mode 100644 games/kodi-addon-game.libretro.genplus/pkg-descr diff --git a/games/Makefile b/games/Makefile index 87eec90a912b..e20df1d380d1 100644 --- a/games/Makefile +++ b/games/Makefile @@ -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 diff --git a/games/kodi-addon-game.libretro.genplus/Makefile b/games/kodi-addon-game.libretro.genplus/Makefile new file mode 100644 index 000000000000..d82a4e23fff7 --- /dev/null +++ b/games/kodi-addon-game.libretro.genplus/Makefile @@ -0,0 +1,43 @@ +# Created by: Rozhuk Ivan +# $FreeBSD$ + +PORTNAME= game.libretro.genplus +PORTVERSION= 1.7.4.15 +DISTVERSIONSUFFIX= -Matrix +CATEGORIES= games + +MAINTAINER= rozhuk.im@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 diff --git a/games/kodi-addon-game.libretro.genplus/distinfo b/games/kodi-addon-game.libretro.genplus/distinfo new file mode 100644 index 000000000000..ac3b14b76b56 --- /dev/null +++ b/games/kodi-addon-game.libretro.genplus/distinfo @@ -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 diff --git a/games/kodi-addon-game.libretro.genplus/pkg-descr b/games/kodi-addon-game.libretro.genplus/pkg-descr new file mode 100644 index 000000000000..e1ee9222514c --- /dev/null +++ b/games/kodi-addon-game.libretro.genplus/pkg-descr @@ -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