diff --git a/recipes/cairo/recipe.sh b/recipes/cairo/recipe.sh index d7c5b730059c9d5bda49d95f273ed3369cf3bb55..f054b88fc22a143c36b3deb6587b94dfd1e92ae2 100755 --- a/recipes/cairo/recipe.sh +++ b/recipes/cairo/recipe.sh @@ -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 }