summaryrefslogtreecommitdiff
path: root/recipes/pango.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-23 01:08:18 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-25 11:44:55 +0100
commitfd954089f8d058d2510d0999c99d382470d6178e (patch)
tree16c1971dacf9cfa663470cb189e97d3633a1b273 /recipes/pango.recipe
parentd2c205b2056f26112e3ca640d16c6a9166b25b71 (diff)
Only build gtk docs for the linux target platform
Diffstat (limited to 'recipes/pango.recipe')
-rw-r--r--recipes/pango.recipe4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/pango.recipe b/recipes/pango.recipe
index a80042e7..24a80ef9 100644
--- a/recipes/pango.recipe
+++ b/recipes/pango.recipe
@@ -7,7 +7,7 @@ class Recipe(recipe.Recipe):
autoreconf = True
autoreconf_sh = 'ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" autoreconf -ivf '
licenses = [License.LGPLv2Plus]
- configure_options = '--with-included-modules --enable-static'
+ configure_options = '--with-included-modules --enable-static --disable-gtk-doc'
deps = ['cairo', 'fontconfig', 'freetype', 'gtk-doc-lite']
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
@@ -28,5 +28,7 @@ class Recipe(recipe.Recipe):
}
def prepare(self):
+ if self.config.target_platform != Platform.LINUX:
+ self.configure_options += ' --disable-gtk-doc'
if self.config.target_platform in [Platform.DARWIN, Platform.ANDROID, Platform.IOS]:
self.configure_options += ' --without-x '