From 28554cb831f60876c0c844b5016118ce11145fcd Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Mon, 6 Jul 2020 17:04:54 +0430 Subject: [PATCH] [doc] add a note for packagers --- BUILD.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 5a076ffa0..aaa029adc 100644 --- a/BUILD.md +++ b/BUILD.md @@ -13,7 +13,13 @@ and on ArchLinux and Manjaro: then use meson to build the project like `meson build && meson test -Cbuild`. -On macOS, `brew install pkg-config ragel gtk-doc freetype glib cairo meson` then use meson like above. +On macOS, `brew install pkg-config ragel gtk-doc freetype glib cairo meson` then use +meson like above. On Windows, meson builds the project like above if a working MSVC's cl.exe (`vcvarsall.bat`) or gcc/clang is already on your path, it fetches and compiles most of the dependencies also. + +Linux packagers are advised to at least use `--buildtype=release -Dauto_features=enabled --wrap-mode=nodownload` +and install any other needed packages (most distributions build harfbuzz with +graphite support which needed to enabled separately, `-Dgraphite=enabled`), +and follow other best practices of packaging a meson project.