View | Details | Raw Unified | Return to bug 245258 | Differences between
and this patch

Collapse All | Expand All

(-)multimedia/kodi-addon-game.libretro.beetle-psx-devel/Makefile (+48 lines)
Line 0 Link Here
1
# Created by: Rozhuk Ivan <rozhuk.im@gmail.com>
2
# $FreeBSD$
3
4
PORTNAME=	game.libretro.beetle-psx
5
PORTVERSION=	0.9.44.12
6
DISTVERSIONSUFFIX=	-Leia
7
CATEGORIES=	games
8
PKGNAMEPREFIX=	kodi-addon-
9
PKGNAMESUFFIX=	-devel
10
11
MAINTAINER=	rozhuk.im@gmail.com
12
COMMENT=	Kodi game addon for Sony - PlayStation (Beetle PSX)
13
14
LICENSE=	GPLv2+
15
16
BUILD_DEPENDS=	kodi-devel>=19.0.a20200318:multimedia/kodi-devel
17
LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
18
RUN_DEPENDS=	kodi-devel>=19.0.a20200318:multimedia/kodi-devel \
19
		kodi-addon-game.libretro-devel>=0:multimedia/kodi-addon-game.libretro-devel
20
21
USES=		cmake:noninja gmake localbase
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	kodi-game \
24
		libretro:beetle_psx
25
GH_PROJECT=	beetle-psx-libretro:beetle_psx
26
# Keep in sync with: depends/common/beetle-psx/beetle-psx.txt
27
GH_TAGNAME=	c7c8ffd3d2cf1c780ccf98417e60908f9adf970d:beetle_psx
28
29
PLIST_SUB=	SOVERSION=${PORTVERSION}
30
31
CMAKE_ARGS=	-DCMAKE_BUILD_TYPE=Release \
32
		-DBUILD_SHARED_LIBS=1 \
33
		-DADDONS_TO_BUILD=${PORTNAME} \
34
		-DBEETLE-PSX_LIB=depends/common/beetle-psx/mednafen_psx_libretro.so
35
36
post-extract:
37
	@${MV} ${WRKSRC_beetle_psx}/* ${WRKSRC}/depends/common/beetle-psx/
38
39
post-patch:
40
	@${REINPLACE_CMD} -e 's|find_library(BEETLE-PSX_LIB.*|add_subdirectory(depends/common/beetle-psx)|g' \
41
		${WRKSRC}/CMakeLists.txt
42
	@${REINPLACE_CMD} -e 's|defined(BSD)|!defined(CLOCK_REALTIME)|g' \
43
		${WRKSRC}/depends/common/beetle-psx/libretro-common/rthreads/rthreads.c
44
45
post-install:
46
	rm -rf ${STAGEDIR}${PREFIX}/lib/libretro
47
48
.include <bsd.port.mk>
(-)multimedia/kodi-addon-game.libretro.beetle-psx-devel/distinfo (+5 lines)
Line 0 Link Here
1
TIMESTAMP = 1585786185
2
SHA256 (kodi-game-game.libretro.beetle-psx-0.9.44.12-Leia_GH0.tar.gz) = 26fcf0cdad7cc13ce2d160b7cc227d74161109e53a162a7010c39ca9051e6519
3
SIZE (kodi-game-game.libretro.beetle-psx-0.9.44.12-Leia_GH0.tar.gz) = 46486
4
SHA256 (libretro-beetle-psx-libretro-c7c8ffd3d2cf1c780ccf98417e60908f9adf970d_GH0.tar.gz) = 61e1495f49a6584038c19bcd797668a430bc74fd94cd7be24fbd9ce31158dfa4
5
SIZE (libretro-beetle-psx-libretro-c7c8ffd3d2cf1c780ccf98417e60908f9adf970d_GH0.tar.gz) = 2903983
(-)multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-descr (+16 lines)
Line 0 Link Here
1
Beetle PSX is a port/fork of Mednafen's PSX module to the libretro API.
2
It can be compiled in C++98 mode, excluding the Vulkan renderer, which
3
is written in C++11 for the time being. Beetle PSX currently runs on
4
Linux, OSX and Windows.
5
6
Notable additions in this fork are:
7
- PBP and CHD file format support, developed by Zapeth;
8
- Software renderer internal resolution upscaling, implemented by simias;
9
- An OpenGL 3.3 renderer, developed by simias;
10
- A Vulkan renderer, developed by TinyTiger;
11
- PGXP perspective correct texturing and subpixel precision, developed by iCatButler;
12
13
14
This port is for multimedia/kodi-devel only.
15
16
WWW: https://github.com/libretro/beetle-psx-libretro
(-)multimedia/kodi-addon-game.libretro.beetle-psx-devel/pkg-plist (+7 lines)
Line 0 Link Here
1
lib/kodi/addons/game.libretro.beetle-psx/game.libretro.beetle-psx.so
2
share/kodi/addons/game.libretro.beetle-psx/addon.xml
3
share/kodi/addons/game.libretro.beetle-psx/resources/buttonmap.xml
4
share/kodi/addons/game.libretro.beetle-psx/resources/icon.png
5
share/kodi/addons/game.libretro.beetle-psx/resources/language/resource.language.en_gb/strings.po
6
share/kodi/addons/game.libretro.beetle-psx/resources/settings.xml
7
share/kodi/addons/game.libretro.beetle-psx/resources/topology.xml

Return to bug 245258