From 0e48caed36d8f006ffb1aa7bd921c307ffa93f6a Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Sun, 14 Jan 2024 07:50:20 +0000 Subject: [PATCH] Updated by kodi-game-scripting https://github.com/kodi-game/kodi-game-scripting/ --- Jenkinsfile | 2 +- depends/common/beetle-psx/CMakeLists.txt | 7 ++++++- depends/common/beetle-psx/beetle-psx.txt | 2 +- depends/windows/mingw/CMakeLists.txt | 15 +++++++-------- game.libretro.beetle-psx/addon.xml.in | 2 +- 5 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a4c5f12..aaa3557 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1 +1 @@ -buildPlugin(version: "Nexus", platforms: ["android-aarch64", "android-armv7", "osx-x86_64", "windows-i686", "windows-x86_64"]) +buildPlugin(version: "Nexus", platforms: ["android-aarch64", "android-armv7", "osx-x86_64", "osx-arm64", "windows-i686", "windows-x86_64"]) diff --git a/depends/common/beetle-psx/CMakeLists.txt b/depends/common/beetle-psx/CMakeLists.txt index 05eba17..eaff738 100644 --- a/depends/common/beetle-psx/CMakeLists.txt +++ b/depends/common/beetle-psx/CMakeLists.txt @@ -26,7 +26,12 @@ if(CORE_SYSTEM_NAME STREQUAL windows) elseif(CORE_SYSTEM_NAME STREQUAL linux) set(BUILD_COMMAND $(MAKE) -C . -f Makefile platform=unix ${LIBRETRO_DEBUG} GIT_VERSION=) elseif(CORE_SYSTEM_NAME STREQUAL osx) - set(BUILD_COMMAND $(MAKE) -C . -f Makefile platform=osx ${LIBRETRO_DEBUG} GIT_VERSION=) + if(CPU STREQUAL arm64) + set(ARCH arm) + else() + set(ARCH intel) + endif() + set(BUILD_COMMAND $(MAKE) -C . -f Makefile platform=osx arch=${ARCH} ${LIBRETRO_DEBUG} GIT_VERSION=) elseif(CORE_SYSTEM_NAME STREQUAL ios OR CORE_SYSTEM_NAME STREQUAL darwin_embedded) if(CORE_PLATFORM_NAME STREQUAL ios) set(LIBRETRO_SONAME mednafen_psx_libretro_ios${CMAKE_SHARED_LIBRARY_SUFFIX}) diff --git a/depends/common/beetle-psx/beetle-psx.txt b/depends/common/beetle-psx/beetle-psx.txt index 5198767..acd3c78 100644 --- a/depends/common/beetle-psx/beetle-psx.txt +++ b/depends/common/beetle-psx/beetle-psx.txt @@ -1 +1 @@ -beetle-psx https://github.com/libretro/beetle-psx-libretro/archive/05fda4c7e4e98392aca86198644b0c0153369771.tar.gz +beetle-psx https://github.com/libretro/beetle-psx-libretro/archive/3053eda1eb27a43725e02a6f53de5328d7fbc55b.tar.gz diff --git a/depends/windows/mingw/CMakeLists.txt b/depends/windows/mingw/CMakeLists.txt index c42cea2..a4c2779 100644 --- a/depends/windows/mingw/CMakeLists.txt +++ b/depends/windows/mingw/CMakeLists.txt @@ -1,14 +1,13 @@ cmake_minimum_required(VERSION 3.5) project(mingw) -# TODO: Upload msys2 packages to mirrors -#foreach(repo msys mingw32 mingw64) -# if(${repo} STREQUAL msys) -# file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/etc/pacman.d/mirrorlist.${repo} "Server = http://mirrors.kodi.tv/build-deps/win32/msys2/repos/${repo}2/$arch\n") -# else() -# file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/etc/pacman.d/mirrorlist.${repo} "Server = http://mirrors.kodi.tv/build-deps/win32/msys2/repos/${repo}\n") -# endif() -#endforeach() +foreach(repo msys mingw32 mingw64) + if(${repo} STREQUAL msys) + file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/etc/pacman.d/mirrorlist.${repo} "Server = http://mirrors.kodi.tv/build-deps/win32/msys2/repos/${repo}2/$arch\n") + else() + file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/etc/pacman.d/mirrorlist.${repo} "Server = http://mirrors.kodi.tv/build-deps/win32/msys2/repos/${repo}\n") + endif() +endforeach() include(CheckSymbolExists) check_symbol_exists(_X86_ "Windows.h" _X86_) diff --git a/game.libretro.beetle-psx/addon.xml.in b/game.libretro.beetle-psx/addon.xml.in index d773d21..1e18262 100644 --- a/game.libretro.beetle-psx/addon.xml.in +++ b/game.libretro.beetle-psx/addon.xml.in @@ -1,7 +1,7 @@