Index: multimedia/kodi-addon-game.libretro.beetle-psx-devel/Makefile =================================================================== --- multimedia/kodi-addon-game.libretro.beetle-psx-devel/Makefile (nonexistent) +++ multimedia/kodi-addon-game.libretro.beetle-psx-devel/Makefile (working copy) @@ -0,0 +1,47 @@ +# Created by: Rozhuk Ivan +# $FreeBSD$ + +PORTNAME= game.libretro.beetle-psx +PORTVERSION= 0.9.44.12 +DISTVERSIONSUFFIX= -Leia +CATEGORIES= games +PKGNAMEPREFIX= kodi-addon- +PKGNAMESUFFIX= -devel + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Kodi game addon for Sony - PlayStation (Beetle PSX) + +LICENSE= GPLv2+ + +BUILD_DEPENDS= kodi-devel>=19.0.a20200318:multimedia/kodi-devel +LIB_DEPENDS= libtinyxml.so:textproc/tinyxml +RUN_DEPENDS= kodi-devel>=19.0.a20200318:multimedia/kodi-devel \ + kodi-addon-game.libretro-devel>=0:multimedia/kodi-addon-game.libretro-devel + +USES= cmake:noninja gmake localbase +USE_GITHUB= yes +GH_ACCOUNT= kodi-game \ + libretro:beetle_psx +GH_PROJECT= beetle-psx-libretro:beetle_psx +# Keep in sync with: depends/common/beetle-psx/beetle-psx.txt +GH_TAGNAME= c7c8ffd3d2cf1c780ccf98417e60908f9adf970d:beetle_psx + +PLIST_SUB= SOVERSION=${PORTVERSION} + +CMAKE_ARGS= -DBUILD_SHARED_LIBS=1 \ + -DADDONS_TO_BUILD=${PORTNAME} \ + -DBEETLE-PSX_LIB=depends/common/beetle-psx/mednafen_psx_libretro.so + +post-extract: + @${MV} ${WRKSRC_beetle_psx}/* ${WRKSRC}/depends/common/beetle-psx/ + +post-patch: + @${REINPLACE_CMD} -e 's|find_library(BEETLE-PSX_LIB.*|add_subdirectory(depends/common/beetle-psx)|g' \ + ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's|defined(BSD)|!defined(CLOCK_REALTIME)|g' \ + ${WRKSRC}/depends/common/beetle-psx/libretro-common/rthreads/rthreads.c + +post-install: + rm -rf ${STAGEDIR}${PREFIX}/lib/libretro + +.include Index: multimedia/kodi-addon-game.libretro.beetle-psx-devel/distinfo =================================================================== --- multimedia/kodi-addon-game.libretro.beetle-psx-devel/distinfo (nonexistent) +++ multimedia/kodi-addon-game.libretro.beetle-psx-devel/distinfo (working copy) @@ -0,0 +1,5 @@ +TIMESTAMP = 1585786185 +SHA256 (kodi-game-game.libretro.beetle-psx-0.9.44.12-Leia_GH0.tar.gz) = 26fcf0cdad7cc13ce2d160b7cc227d74161109e53a162a7010c39ca9051e6519 +SIZE (kodi-game-game.libretro.beetle-psx-0.9.44.12-Leia_GH0.tar.gz) = 46486 +SHA256 (libretro-beetle-psx-libretro-c7c8ffd3d2cf1c780ccf98417e60908f9adf970d_GH0.tar.gz) = 61e1495f49a6584038c19bcd797668a430bc74fd94cd7be24fbd9ce31158dfa4 +SIZE (libretro-beetle-psx-libretro-c7c8ffd3d2cf1c780ccf98417e60908f9adf970d_GH0.tar.gz) = 2903983 Index: multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-descr =================================================================== --- multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-descr (nonexistent) +++ multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-descr (working copy) @@ -0,0 +1,16 @@ +Beetle PSX is a port/fork of Mednafen's PSX module to the libretro API. +It can be compiled in C++98 mode, excluding the Vulkan renderer, which +is written in C++11 for the time being. Beetle PSX currently runs on +Linux, OSX and Windows. + +Notable additions in this fork are: +- PBP and CHD file format support, developed by Zapeth; +- Software renderer internal resolution upscaling, implemented by simias; +- An OpenGL 3.3 renderer, developed by simias; +- A Vulkan renderer, developed by TinyTiger; +- PGXP perspective correct texturing and subpixel precision, developed by iCatButler; + + +This port is for multimedia/kodi-devel only. + +WWW: https://github.com/libretro/beetle-psx-libretro Index: multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-message =================================================================== --- multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-message (nonexistent) +++ multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-message (working copy) @@ -0,0 +1,12 @@ +[ +{ type: install + message: <