Add fontconfig to cairo

This commit is contained in:
Jeremy Soller 2019-07-16 19:22:01 -06:00
parent f1b9327d9b
commit b1fa970df3
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -1,6 +1,6 @@
VERSION="1.16.0"
TAR=https://www.cairographics.org/releases/cairo-$VERSION.tar.xz
BUILD_DEPENDS=(zlib pixman freetype libpng)
BUILD_DEPENDS=(expat freetype fontconfig libpng pixman zlib)
function recipe_version {
echo "$VERSION"
@ -20,7 +20,13 @@ function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include"
CFLAGS="-DCAIRO_NO_MUTEX=1" ./configure --build=${BUILD} --host=${HOST} --prefix=/ --enable-xlib=no --enable-script=no --enable-interpreter=no
CFLAGS="-DCAIRO_NO_MUTEX=1" ./configure \
--build=${BUILD} \
--host=${HOST} \
--prefix=/ \
--enable-xlib=no \
--enable-script=no \
--enable-interpreter=no
make -j"$(nproc)"
skip=1
}