Try to set the architecture correctly when compiling for Intel on ARM64
Macs, this also sets the zip name correctly for our releases.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Make some adjustments to the Mac builder for the Intel build to build
with `-intel`.
Remove unzip and zip and replace with 7zip.
Remove `-mtune=generic` from the base flags.
Remove flex and swig and use them from brew.
Add giflib, needed by libwebp.
Add the `no_autotools_cross_options` and
`remove_arch_flags_from_build_ninja` dist flags.
Set intel macOS target to 10.10 when on an ARM64 host.
Add a patch for glib to build with an older macOS.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Followup on 9d46f8e6 (build: fix Mac builder regression, 2025-07-20) to
add this `DIST_FLAGS` flag for bison as well, because it also uses this
header file.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the Mac build, broken by 8c3d0f09 (build: fix regression in Mac
builder, 2025-07-19) due to the SDK paths conflicting with a gettext
header.
Fix this regression by introducing the `DIST_FLAGS` feature with a
`no_sdk_paths_in_flags` flag that `build_dist()` treats specially to
remove the include and lib SDK paths from `CPPFLAGS` and `LDFLAGS`.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the Mac builder, broken by 3d4c03d0 (build: fix Mac M1 build on my
Mini, 2025-07-19). Remove `-lintl -liconv` from `LDFLAGS` because they
are not available before they are built.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the Mac builder on my M1 Mini.
Update glib and get it building.
Add command line tools include and lib directories to flags.
Add a necessary clang flag to fix vbam build with CoreAudio.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
improve on the fex type check, so it works on windows x86/64
move BindAppIcon from BindControls in guiinit.cpp to wxvbam to avoid a timing issue that see's the icon not populated on windows till late.
adds 3 more icon sizes to the icon on windows.
Fix re-installing binary packages on next cached run by clearing the
cache entries for `vcpkg list`. Also remove the binary packages
directory after installing.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Set the CMake cache variables for `vcpkg list` in `CACHE` instead of
`PARENT_SCOPE`, because the parent scope is now a transient function and
nothing was being cached, causing very slow run speed.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Keep a list of already installed dependencies and use the count to
determine if any are not installed.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Followup on 357eccc6 (build: fix checking if bin pkg host deps
installed, 2025-07-13) keep a count of already installed host deps, and
when the host deps count is equal to it rather than zero, break out of
the loop. This fixes the infinite loop and hang caused by host deps
being required but already being installed.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the check for host dependency packages being downloaded to not run
if the package is already installed.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>