diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-03-07 20:17:14 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-03-20 17:19:11 +0100 |
commit | 8309ef8e86748675bb8a4625067b14132d167bd5 (patch) | |
tree | e4cdaf1ae69f463564e881a10db0af25f3316fec /recipes/gtk-doc.recipe | |
parent | 134b7611d54c3ed27b26cba123aacc860fafc48b (diff) |
gtk-doc: add deps on docbook in Windows and OSX
Diffstat (limited to 'recipes/gtk-doc.recipe')
-rw-r--r-- | recipes/gtk-doc.recipe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/gtk-doc.recipe b/recipes/gtk-doc.recipe index 2b018054..29dc9104 100644 --- a/recipes/gtk-doc.recipe +++ b/recipes/gtk-doc.recipe @@ -3,3 +3,9 @@ from cerbero import recipe class Recipe(recipe.Recipe): name = 'gtk-doc' version = '1.18' + platform_deps = {Platform.WINDOWS: ['docbook-xsl'], + Platform.DARWIN: ['docbook-xml']} + + def prepare(self): + if self.config.target_platform in [Platform.WINDOWS, Platform.DARWIN]: + self.configure_options = '--with-xml-catalog=%s/etc/catalog.xml' % self.config.prefix |