MACOS: Switch to Fluidlite for i386

Next version of Fluidsynth requires full-fledged C++11 support.
This commit is contained in:
Le Philousophe
2025-10-12 13:38:47 +00:00
parent f9d8d02e94
commit 8568df381c
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -153,8 +153,10 @@ common_package(libsdl2)
ports_package(libsdl2_net)
# Lighten glib build by removing Objective C and Cocoa and fix intl detection
m4_ifdef(`USE_FLUIDLITE',m4_dnl
helpers_package(fluidlite),m4_dnl
COPY --from=apple-common /lib-helpers/packages/fluidsynth lib-helpers/packages/fluidsynth
helpers_package(fluidsynth, -DCMAKE_SYSTEM_NAME=Darwin -DLIB_SUFFIX= -DCMAKE_FRAMEWORK_PATH=${TARGET_DIR}/SDK/MacOSX`'MACOSX_SDK_VERSION`'.sdk/usr/lib)
helpers_package(fluidsynth, -DCMAKE_SYSTEM_NAME=Darwin -DLIB_SUFFIX= -DCMAKE_FRAMEWORK_PATH=${TARGET_DIR}/SDK/MacOSX`'MACOSX_SDK_VERSION`'.sdk/usr/lib))
helpers_package(retrowave, -DCMAKE_SYSTEM_NAME=Darwin)
+4
View File
@@ -7,6 +7,10 @@ m4_define(`MACOSX_TARGET_VERSION',17)m4_dnl
m4_define(`MACOSX_DEPLOYMENT_TARGET',10.6)m4_dnl
m4_define(`MACOSX_ARCHITECTURES',`i386')m4_dnl
m4_define(`MACOSX_PORTS_ARCH_ARG',`--i386')m4_dnl
m4_dnl Fluidsynth uses C++11 stdlib features which are not provided on this old platform
m4_define(`USE_FLUIDLITE')m4_dnl
m4_include(`apple/macosx.m4')m4_dnl
local_package(sdk10.13-patcher)