This is intended to be part of a future larger project so it is named according to that projet's name. I intend to make sources available as much as possible for all of the project's parts in the form of libraries like this.
sudo apt install xorg-dev libjpeg-dev libturbojpeg libpng12-dev libgl1-mesa-dev libfreetype6-dev fontconfig
brew install libpng jpeg jpeg-turbo icu4c freetype
brew install libjpeg-turbo icu4c
git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
export PATH="${PWD}/depot_tools:${PATH}"
git clone https://skia.googlesource.com/skia.git
cd skia
python tools/git-sync-deps
bin/gn gen out/Static --args='is_official_build=true extra_cflags=["-I/usr/local/opt/icu4c/include", "-I/usr/local/opt/jpeg-turbo/include"] extra_ldflags=["-L/usr/local/opt/icu4c/lib", "-L/usr/local/opt/jpeg-turbo"]'
ninja -C out/Static