gstreamer/subprojects/macos-bison-binary
2022-12-17 01:28:00 +00:00
..
.gitignore New subproject macos-bison-binary to provide bison on macOS 2021-08-28 23:44:52 +05:30
bison.py.in New subproject macos-bison-binary to provide bison on macOS 2021-08-28 23:44:52 +05:30
download-binary.py New subproject macos-bison-binary to provide bison on macOS 2021-08-28 23:44:52 +05:30
meson.build macos-bison-binary: Remove warning when running on arm64 2022-12-17 01:28:00 +00:00
README.md New subproject macos-bison-binary to provide bison on macOS 2021-08-28 23:44:52 +05:30

How to generate binaries and update build files

  1. Download the latest bison source tarball
  2. Extract, then build it with --prefix=/
  3. Install into some dir using DESTDIR
  4. Delete all files except the following subdirs: bin lib share/bison share/aclocal
  5. Rename installdir to bison-$version-macos-$arch where $arch follows Meson's CPU families list: https://mesonbuild.com/Reference-tables.html#cpu-families
  6. tar -cvjf bison-$version-macos-$arch.tar.bz2 bison-$version-macos-$arch/
  7. Fetch sha256sum: shasum -256 bison-$version-macos-$arch.tar.bz2
  8. Update sha256sum in meson.build
  9. Update project() version in meson.build

That's it!