summaryrefslogtreecommitdiff
path: root/recipes/cairo.recipe
diff options
context:
space:
mode:
authorAndoni Morales <ylatuya@gmail.com>2014-01-17 18:14:42 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-01-30 12:32:11 +0100
commitcb7a4dfd1289ee5bf71c40e6a7fb5c6efd7eb9c4 (patch)
tree2ae409a5cedb5b53d0a680beea589ec09d6dc9f5 /recipes/cairo.recipe
parent0093d0b7be81435ae705742033a5362437373bcb (diff)
variants: add new variants to customize builds even more
diabled for ios and android: gtk, python, clutter enabled for linux: x11, alsa, pulse, cdparanoia, v4l2
Diffstat (limited to 'recipes/cairo.recipe')
-rw-r--r--recipes/cairo.recipe10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes/cairo.recipe b/recipes/cairo.recipe
index 456ec95b..89febd0b 100644
--- a/recipes/cairo.recipe
+++ b/recipes/cairo.recipe
@@ -28,19 +28,19 @@ class Recipe(recipe.Recipe):
platform_files_devel = {
Platform.WINDOWS: [ 'lib/pkgconfig/cairo-win32-font.pc',
'lib/pkgconfig/cairo-win32.pc'],
- Platform.LINUX: ['lib/pkgconfig/cairo-xlib-xrender.pc',
- 'lib/pkgconfig/cairo-xlib.pc'],
Platform.DARWIN: ['lib/pkgconfig/cairo-quartz-font.pc',
'lib/pkgconfig/cairo-quartz-image.pc',
- 'lib/pkgconfig/cairo-quartz.pc',
- ]
+ 'lib/pkgconfig/cairo-quartz.pc']
}
# Skipping because it requires a display and documented as randomly failing
make_check = None
def prepare(self):
- if self.config.target_platform != Platform.LINUX:
+ if self.config.variants.x11:
+ self.files_devel += ['lib/pkgconfig/cairo-xlib-xrender.pc',
+ 'lib/pkgconfig/cairo-xlib.pc']
+ else:
self.configure_options += '--without-x '
if self.config.target_platform == Platform.DARWIN:
self.configure_options += ' --enable-quartz-font --enable-quartz-image'