Mon, 07 Apr 2025 02:18:37 -0500
Add a native file for macos on arm
This is just a copy of `homebrew.ini` with the sdk, version, and homebrew prefix changed.
Testing Done:
Built on an m1 mac using `meson setup --native-file scripts/homebrew-macos-arm64.ini build-native; cd build-native; ninja turtles`
Reviewed at https://reviews.imfreedom.org/r/3956/
| scripts/homebrew-macos-arm64.ini | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/homebrew-macos-arm64.ini Mon Apr 07 02:18:37 2025 -0500 @@ -0,0 +1,55 @@ +[constants] +macosx_sdk = '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/' +macosx_minver = '14.0' +common_args = ['--sysroot=' + macosx_sdk, '-mmacosx-version-min=' + macosx_minver, '-F' + macosx_sdk / 'System/Library/Frameworks'] +homebrew_prefix = '/opt/homebrew' + +icu4c_pc = homebrew_prefix / 'opt/icu4c/lib/pkgconfig' +libsoup3_pc = homebrew_prefix / 'opt/libsoup@3/lib/pkgconfig' +libxml2_pc = homebrew_prefix / 'opt/libxml2/lib/pkgconfig' +python3_pc = homebrew_prefix / 'opt/python@3/lib/pkgconfig' + +[built-in options] +c_args = common_args +c_link_args = common_args +cpp_args = common_args +cpp_link_args = common_args +objc_args = common_args +objc_link_args = common_args +objcpp_args = common_args +objcpp_link_args = common_args + +pkg_config_path = [icu4c_pc, libsoup3_pc, libxml2_pc, python3_pc] + +[project options] +introspection = false + +[birb:project options] +doc = false +introspection = false + +[gplugin:project options] +doc = false +introspection = false +lua = false +python3 = false +vapi = false + +[hasl] +doc = false +introspection = false + +[ibis] +doc = false +introspection = false + +[myna] +doc = false +introspection = false + +[xeme] +doc = false +introspection = false + +[binaries] +xgettext = homebrew_prefix / 'opt/gettext/bin/xgettext'