From a5228d8d4412980cb684a8030d28d9b35a4697d4 Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Thu, 16 May 2019 14:46:26 -0400 Subject: [PATCH] Update OSX build instructions Two notable changes: attempting to forcibly link icu4c no longer works for :reasons:, so you have to manually add it to the pkg-config and compiler/linker search directories. Additionally, homebrew removed build options from most packages as part of https://github.com/Homebrew/homebrew-core/issues/31510, and this includes luajit and boost. The former builds with gc64 by default on HEAD, and the latter with icu4c support by default, so this actually somewhat simplifies things. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 817a214d7..5739c3688 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,12 @@ Nothing older than Xcode 5 has been tested recently, but it is likely that some For personal usage, you can use homebrew to install almost all of Aegisub's dependencies: - brew install autoconf automake ffmpeg ffms2 fftw freetype fribidi gettext icu4c libass m4 pkg-config - brew install --devel --with-gc64 luajit - brew link --force icu4c + brew install autoconf automake ffmpeg ffms2 fftw freetype fribidi gettext icu4c libass m4 pkg-config boost + brew install luajit --HEAD brew link --force gettext - brew install --with-icu4c boost + export LDFLAGS="-L/usr/local/opt/icu4c/lib" + export CPPFLAGS="-I/usr/local/opt/icu4c/include" + export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig" wxWidgets is located in vendor/wxWidgets, and can be built like so: