Files
Toastconcern--FrameStudio/third_party/opus/src/meson.build
T
ToastconcernandClaude Opus 5.5 f7345a5ac3 Frame Studio and Frame Home: cross-platform builds
Frame Studio now builds for Windows (x64, x86, ARM64), Linux (x64, x86, ARM64)
and macOS (Apple Silicon, Intel):
- studio/platform.h with Win32 and POSIX implementations (dialogs through
  tinyfiledialogs on Linux/macOS), a GLFW window beside the Win32 one, and a
  platform-neutral frame pacer
- MoltenVK support in the renderer (portability enumeration) and bundled in
  the macOS app
- 32-bit builds: large-address-aware, LZMA packing within a 32-bit address space
- unaligned file reads in the loaders go through loadUnaligned (no UB)
- scripts/build-studio.sh, studio/build_windows.bat [x64|x86|arm64],
  cmake/llvm-mingw.cmake, and a GitHub Actions workflow building every target

Frame Home installs without Studio: frame/install-frame-home.{sh,ps1} and
"Install Frame Home.bat" (packaged as FrameHome-installer.zip).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 12:03:25 -05:00

46 lines
1.2 KiB
Meson

opus_sources = sources['OPUS_SOURCES']
opus_sources_float = sources['OPUS_SOURCES_FLOAT']
if not disable_float_api
opus_sources += opus_sources_float
endif
opus_lib_c_args = []
if host_machine.system() == 'windows'
opus_lib_c_args += ['-DDLL_EXPORT']
endif
opus_lib = library('opus',
opus_sources,
version: libversion,
darwin_versions: macosversion,
c_args: opus_lib_c_args,
include_directories: opus_includes,
link_whole: [celt_lib, silk_lib, dnn_lib],
dependencies: libm,
install: true)
opus_dep = declare_dependency(link_with: opus_lib,
include_directories: opus_public_includes)
# Extra uninstalled Opus programs
if not extra_programs.disabled()
foreach prog : ['opus_compare', 'opus_demo', 'repacketizer_demo']
executable(prog, '@0@.c'.format(prog),
include_directories: opus_includes,
link_with: opus_lib,
dependencies: libm,
install: false)
endforeach
if opt_custom_modes
executable('opus_custom_demo', '../celt/opus_custom_demo.c',
include_directories: opus_includes,
link_with: opus_lib,
dependencies: libm,
install: false)
endif
endif