diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/cairo.recipe | 3 | ||||
-rw-r--r-- | recipes/cairo/0001-Disable-building-of-the-tests.patch | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/recipes/cairo.recipe b/recipes/cairo.recipe index 89febd0b..ef17cdc0 100644 --- a/recipes/cairo.recipe +++ b/recipes/cairo.recipe @@ -11,7 +11,8 @@ class Recipe(recipe.Recipe): autoreconf = True autoreconf_sh = 'NOCONFIGURE=1 ./autogen.sh' deps = ['glib', 'libpng', 'zlib', 'pixman', 'fontconfig', 'freetype'] - patches = ['cairo/0001-Fix-compilation-with-Android-s-bionic-libc.patch'] + patches = ['cairo/0001-Fix-compilation-with-Android-s-bionic-libc.patch', + 'cairo/0001-Disable-building-of-the-tests.patch'] files_libs = ['libcairo', 'libcairo-gobject', 'libcairo-script-interpreter'] files_devel = [ diff --git a/recipes/cairo/0001-Disable-building-of-the-tests.patch b/recipes/cairo/0001-Disable-building-of-the-tests.patch new file mode 100644 index 00000000..b99a03ee --- /dev/null +++ b/recipes/cairo/0001-Disable-building-of-the-tests.patch @@ -0,0 +1,28 @@ +From 2e60e3972ee8dadfebace50255c9275feae4dc6d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> +Date: Tue, 21 Oct 2014 13:46:18 +0200 +Subject: [PATCH] Disable building of the tests + +We don't run them anyway and there are build system quirks in there. +--- + Makefile.am | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 03fa352..7e11d24 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -18,10 +18,6 @@ ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS} + + DIST_SUBDIRS = src doc util boilerplate test perf + SUBDIRS = src doc util +-# libpng is required for our test programs +-if CAIRO_HAS_PNG_FUNCTIONS +-SUBDIRS += boilerplate test perf +-endif + + configure: cairo-version.h + +-- +2.1.1 + |