Skip to content

Commit

Permalink
emulators/libretro-kronos: Update to 2.1.5.20210601
Browse files Browse the repository at this point in the history
And Fix build on FreeBSD 13.1-RELEASE

PR:		265186
  • Loading branch information
Timothy Beyer authored and lwhsu committed Jul 21, 2022
1 parent 519bbdf commit a9848f7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
18 changes: 14 additions & 4 deletions emulators/libretro-kronos/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= libretro-kronos
PORTVERSION= 0.20210617
PORTVERSION= 2.1.5.20210601
CATEGORIES= emulators games

MAINTAINER= beyert@cs.ucr.edu
Expand Down Expand Up @@ -43,16 +43,26 @@ pre-build:

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == clang
# clang13 runs out of memory
LLVM_VER= 12
BUILD_DEPENDS+= clang++${LLVM_VER}:devel/llvm${LLVM_VER}
CC= ${LOCALBASE}/bin/clang${LLVM_VER}
CXX= ${LOCALBASE}/bin/clang++${LLVM_VER}
.endif

do-build:
cd ${WRKSRC}/yabause/src/libretro && ${DO_MAKE_BUILD}

post-patch:
.if ${ARCH} != "amd64"
@${REINPLACE_CMD} -e "s/HAVE_SSE = 1/HAVE_SSE = 0/" ${WRKSRC}/yabause/src/libretro/Makefile
@${REINPLACE_CMD} -e "s/HAVE_SSE = 1/HAVE_SSE = 0/" \
${WRKSRC}/yabause/src/libretro/Makefile
.endif

do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
${INSTALL_LIB} ${WRKSRC}/yabause/src/libretro/kronos_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
${INSTALL_LIB} ${WRKSRC}/yabause/src/libretro/kronos_libretro.so \
${STAGEDIR}/${PREFIX}/lib/libretro;

.include <bsd.port.post.mk>
6 changes: 3 additions & 3 deletions emulators/libretro-kronos/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1623926653
SHA256 (FCare-Kronos-0.20210617-a39f95a_GH0.tar.gz) = a9edd4b88b874f4b1d1fb0b9e66cf2bc8bc3b643ee02b127db84a79fce31a6e8
SIZE (FCare-Kronos-0.20210617-a39f95a_GH0.tar.gz) = 36104449
TIMESTAMP = 1656726449
SHA256 (FCare-Kronos-2.1.5.20210601-a39f95a_GH0.tar.gz) = a9edd4b88b874f4b1d1fb0b9e66cf2bc8bc3b643ee02b127db84a79fce31a6e8
SIZE (FCare-Kronos-2.1.5.20210601-a39f95a_GH0.tar.gz) = 36104449

0 comments on commit a9848f7

Please sign in to comment.