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/dosbox-core/CMakeLists.txt b/depends/common/dosbox-core/CMakeLists.txt index 52d8fca..a0dd074 100644 --- a/depends/common/dosbox-core/CMakeLists.txt +++ b/depends/common/dosbox-core/CMakeLists.txt @@ -26,7 +26,12 @@ if(CORE_SYSTEM_NAME STREQUAL windows) elseif(CORE_SYSTEM_NAME STREQUAL linux) set(BUILD_COMMAND $(MAKE) -C libretro -f Makefile.libretro BUNDLED_SDL=1 platform=unix ${LIBRETRO_DEBUG} GIT_VERSION=) elseif(CORE_SYSTEM_NAME STREQUAL osx) - set(BUILD_COMMAND $(MAKE) -C libretro -f Makefile.libretro BUNDLED_SDL=1 platform=osx ${LIBRETRO_DEBUG} GIT_VERSION=) + if(CPU STREQUAL arm64) + set(ARCH arm) + else() + set(ARCH intel) + endif() + set(BUILD_COMMAND $(MAKE) -C libretro -f Makefile.libretro BUNDLED_SDL=1 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 dosbox_core_libretro_ios${CMAKE_SHARED_LIBRARY_SUFFIX}) 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/depends/windows/mingw/mingw.txt b/depends/windows/mingw/mingw.txt index b9bc4cf..dfd57e1 100644 --- a/depends/windows/mingw/mingw.txt +++ b/depends/windows/mingw/mingw.txt @@ -1 +1 @@ -mingw https://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20231026.tar.xz +mingw http://mirrors.kodi.tv/build-deps/win32/msys2/msys2-base-x86_64-20231026.tar.xz diff --git a/game.libretro.dosbox-core/addon.xml.in b/game.libretro.dosbox-core/addon.xml.in index e729332..5106744 100644 --- a/game.libretro.dosbox-core/addon.xml.in +++ b/game.libretro.dosbox-core/addon.xml.in @@ -1,7 +1,7 @@