Dependency gdk-pixbuf won't build on M1 mac on Monterey with Rosetta
How to reproduce:
Open rosetta terminal on M1 mac and run
/usr/local/homebrew/bin/brew install gst-plugins-good as the bottle for Monterey is not available yet, it will try to build from source and fail with
../meson.build:1:0: ERROR: Unknown options: “gir, x11” on trying to build the dependency
gdk-pixbuf. The easiest solution would be create the bottle of this package for Monterey.
Warning: Building gdk-pixbuf from source as the bottle needs: HOMEBREW_CELLAR: /usr/local/Cellar (yours is /usr/local/homebrew/Cellar) HOMEBREW_PREFIX: /usr/local (yours is /usr/local/homebrew) ==> Downloading https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf Already downloaded: /Users/tom/Library/Caches/Homebrew/downloads/724ae1276c831c94cf837f54b9317526877d761f644175d58eccc3d5fc297c71--gdk-pixbuf-2.42.6.tar.xz ==> meson --prefix=/usr/local/homebrew/Cellar/gdk-pixbuf/2.42.6 --libdir=/usr Last 15 lines from /Users/tom/Library/Logs/Homebrew/gdk-pixbuf/01.meson: -Drelocatable=false -Dnative_windows_loaders=false -Dinstalled_tests=false -Dman=false .. The Meson build system Version: 0.60.0 Source dir: /private/tmp/gdk-pixbuf-20211028-50351-38tvna/gdk-pixbuf-2.42.6 Build dir: /private/tmp/gdk-pixbuf-20211028-50351-38tvna/gdk-pixbuf-2.42.6/build Build type: native build ../meson.build:1:0: ERROR: Unknown options: “gir, x11”