FreeBSD Bugzilla – Attachment 223435 Details for
Bug 254417
games/kodi-addon-game.libretro.beetle-psx: use games/libretro-beetle_psx
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
1e20141dc2.patch (text/plain), 2.71 KB, created by
Ivan Rozhuk
on 2021-03-20 01:04:21 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2021-03-20 01:04:21 UTC
Size:
2.71 KB
patch
obsolete
>From 1e20141dc298ebf50baf1880b73b8879c8958781 Mon Sep 17 00:00:00 2001 >From: Rozhuk Ivan <rozhuk.im@gmail.com> >Date: Sat, 20 Mar 2021 03:53:49 +0300 >Subject: [PATCH] games/kodi-addon-game.libretro.beetle-psx > >--- > .../Makefile | 49 ++++++++++--------- > 1 file changed, 25 insertions(+), 24 deletions(-) > >diff --git a/games/kodi-addon-game.libretro.beetle-psx/Makefile b/games/kodi-addon-game.libretro.beetle-psx/Makefile >index 527f4c3fcb66..e76e429e13e9 100644 >--- a/games/kodi-addon-game.libretro.beetle-psx/Makefile >+++ b/games/kodi-addon-game.libretro.beetle-psx/Makefile >@@ -11,31 +11,32 @@ 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 >+LIBRETRO_PORT= libretro-beetle_psx > >-USES= cmake:noninja gmake kodi localbase >+RUN_DEPENDS= kodi-addon-game.libretro>=0:games/kodi-addon-game.libretro \ >+ ${LIBRETRO_PORT}>=0:games/${LIBRETRO_PORT} >+ >+NO_ARCH= yes >+ >+USES= kodi > 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 >+GH_ACCOUNT= kodi-game >+ >+do-build: >+ @${MKDIR} ${WRKSRC}/lib >+ @LIBRARY_FILENAME_FULL=`${MAKE} -C ../${LIBRETRO_PORT} -V PLIST_FILES | ${SED} 's| .*||g'` && \ >+ LIBRARY_FILENAME=`basename "$${LIBRARY_FILENAME_FULL}"` && \ >+ ${LN} -sf "${LOCALBASE}/$${LIBRARY_FILENAME_FULL}" ${WRKSRC}/lib/ && \ >+ ${REINPLACE_CMD} -e 's|@PLATFORM@|freebsd|g' \ >+ -e "s|@LIBRARY_FILENAME@|$${LIBRARY_FILENAME}|g" \ >+ ${WRKSRC}/${PORTNAME}/addon.xml.in >+ @${MV} ${WRKSRC}/${PORTNAME}/addon.xml.in ${WRKSRC}/${PORTNAME}/addon.xml >+ @${RM} -f ${WRKSRC}/${PORTNAME}/addon.xml.in.bak >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/kodi/addons/${PORTNAME} \ >+ ${STAGEDIR}${PREFIX}/share/kodi/addons >+ @(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} * ${STAGEDIR}${PREFIX}/lib/kodi/addons/${PORTNAME}) >+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/share/kodi/addons) > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rozhuk.im
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 254417
: 223435