diff options
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 |