Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 18:46:11 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566789 - in head/games: . kodi-addon-game.libretro.beetle-psx
Message-ID:  <202102281846.11SIkBw8019203@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	game.libretro.beetle-psx
+PORTVERSION=	0.9.44.22
+DISTVERSIONSUFFIX=	-Matrix
+CATEGORIES=	games
+
+MAINTAINER=	rozhuk.im@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
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102281846.11SIkBw8019203>