From b1fa970df3a2b5434e4766dffa3f21be0c3b508e Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Tue, 16 Jul 2019 19:22:01 -0600
Subject: [PATCH] Add fontconfig to cairo

---
 recipes/cairo/recipe.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes/cairo/recipe.sh b/recipes/cairo/recipe.sh
index d7c5b7300..f054b88fc 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
 }
-- 
GitLab