diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2021-02-28 18:55:27 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2021-02-28 18:55:27 +0000 |
commit | ae6436ed777a8cc835149b5f365340e02f6761ad (patch) | |
tree | fc9b4946a38637bd36ba414fd0a9725a9924b914 /games/kodi-addon-game.libretro.picodrive/Makefile | |
parent | 9ab8a77e90a3007ab8871e5d355ee4e2d324b55d (diff) | |
download | ports-ae6436ed777a8cc835149b5f365340e02f6761ad.tar.gz ports-ae6436ed777a8cc835149b5f365340e02f6761ad.zip |
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
Notes
Notes:
svn path=/head/; revision=566792
Diffstat (limited to 'games/kodi-addon-game.libretro.picodrive/Makefile')
-rw-r--r-- | games/kodi-addon-game.libretro.picodrive/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/games/kodi-addon-game.libretro.picodrive/Makefile b/games/kodi-addon-game.libretro.picodrive/Makefile new file mode 100644 index 000000000000..a1c168196001 --- /dev/null +++ b/games/kodi-addon-game.libretro.picodrive/Makefile @@ -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> |