svn commit: r566789 - in head/games: . kodi-addon-game.libretro.beetle-psx

Bernhard Froehlich decke at FreeBSD.org
Sun Feb 28 18:46:12 UTC 2021


Author: decke
Date: Sun Feb 28 18:46:10 2021
New Revision: 566789
URL: https://svnweb.freebsd.org/changeset/ports/566789

Log:
  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.
  
  WWW: https://github.com/libretro/beetle-psx-libretro
  
  PR:		245258
  Submitted by:	rozhuk.im at gmail.com

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

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun Feb 28 18:45:51 2021	(r566788)
+++ head/games/Makefile	Sun Feb 28 18:46:10 2021	(r566789)
@@ -445,6 +445,7 @@
     SUBDIR += knights
     SUBDIR += kobodeluxe
     SUBDIR += kodi-addon-game.libretro
+    SUBDIR += kodi-addon-game.libretro.beetle-psx
     SUBDIR += kolf
     SUBDIR += kollision
     SUBDIR += konquest

Added: head/games/kodi-addon-game.libretro.beetle-psx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.beetle-psx/Makefile	Sun Feb 28 18:46:10 2021	(r566789)
@@ -0,0 +1,41 @@
+# Created by: Rozhuk Ivan <rozhuk.im at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	game.libretro.beetle-psx
+PORTVERSION=	0.9.44.22
+DISTVERSIONSUFFIX=	-Matrix
+CATEGORIES=	games
+
+MAINTAINER=	rozhuk.im at gmail.com
+COMMENT=	Kodi game addon for Sony - PlayStation (Beetle PSX)
+
+LICENSE=	GPLv2+
+
+LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
+RUN_DEPENDS=	kodi-addon-game.libretro>=0:games/kodi-addon-game.libretro
+
+USES=		cmake:noninja gmake kodi 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=	e1836bde1b250d41c6f91c2b6f06444d989f1138:beetle_psx
+
+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 <bsd.port.mk>

Added: head/games/kodi-addon-game.libretro.beetle-psx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.beetle-psx/distinfo	Sun Feb 28 18:46:10 2021	(r566789)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1611230274
+SHA256 (kodi-game-game.libretro.beetle-psx-0.9.44.22-Matrix_GH0.tar.gz) = 5f2c3f8e503f2d18b90d77ca9717b3522727e39750d2aedb7707d7786ad1ba2e
+SIZE (kodi-game-game.libretro.beetle-psx-0.9.44.22-Matrix_GH0.tar.gz) = 46846
+SHA256 (libretro-beetle-psx-libretro-e1836bde1b250d41c6f91c2b6f06444d989f1138_GH0.tar.gz) = 1495fc8f7fcaeb2b1f1ae9d8b5a0ffaad0fc0cd72634746964b42b67bc3a9732
+SIZE (libretro-beetle-psx-libretro-e1836bde1b250d41c6f91c2b6f06444d989f1138_GH0.tar.gz) = 2795575

Added: head/games/kodi-addon-game.libretro.beetle-psx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.beetle-psx/pkg-descr	Sun Feb 28 18:46:10 2021	(r566789)
@@ -0,0 +1,6 @@
+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.
+
+WWW: https://github.com/libretro/beetle-psx-libretro

Added: head/games/kodi-addon-game.libretro.beetle-psx/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/kodi-addon-game.libretro.beetle-psx/pkg-message	Sun Feb 28 18:46:10 2021	(r566789)
@@ -0,0 +1,12 @@
+[
+{ type: install
+  message: <<EOM
+
+BIOS files required, download and save to:
+~/.kodi/userdata/addon_data/game.libretro.beetle-psx/resources/system/
+
+WWW: https://kodi.wiki/view/Game_add-ons#BIOS_requirements
+
+EOM
+}
+]


More information about the svn-ports-all mailing list