diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-18 12:53:23 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-18 12:53:23 +0100 |
commit | 58c57851111aba0a58dfbce63158f13c6feb9043 (patch) | |
tree | 466a351167b0ffff34604c8487d21e96f9be48b0 | |
parent | 4231c4f558ca3b5610db9e4f2fd12d1d550d3012 (diff) |
gstreamer-static: use the base class for disable the gtk docs
-rw-r--r-- | recipes/custom.py | 2 | ||||
-rw-r--r-- | recipes/gnonlin-static.recipe | 4 | ||||
-rw-r--r-- | recipes/gst-ffmpeg-static.recipe | 2 | ||||
-rw-r--r-- | recipes/gst-plugins-bad-static.recipe | 2 | ||||
-rw-r--r-- | recipes/gst-plugins-base-static.recipe | 2 | ||||
-rw-r--r-- | recipes/gst-plugins-good-static.recipe | 2 | ||||
-rw-r--r-- | recipes/gst-plugins-ugly-static.recipe | 2 | ||||
-rw-r--r-- | recipes/gstreamer-static.recipe | 2 |
8 files changed, 2 insertions, 16 deletions
diff --git a/recipes/custom.py b/recipes/custom.py index 2fee3f8..76745fa 100644 --- a/recipes/custom.py +++ b/recipes/custom.py @@ -20,7 +20,7 @@ class GStreamerStatic(recipe.Recipe): self.remotes = {'upstream': 'git://anongit.freedesktop.org/gstreamer/%s' % self.project_name} - if self.config.target_platform in [Platform.WINDOWS, Platform.DARWIN]: + if self.config.target_platform != Platform.LINUX: self.configure_options += ' --disable-gtk-doc' self.configure_options += ' ' + self.extra_configure_options diff --git a/recipes/gnonlin-static.recipe b/recipes/gnonlin-static.recipe index abe7d02..7592fa1 100644 --- a/recipes/gnonlin-static.recipe +++ b/recipes/gnonlin-static.recipe @@ -12,7 +12,3 @@ class Recipe(custom.GStreamerStatic): deps = ['gstreamer', 'gst-plugins-base' ] files_plugins_gnl_devel = ['libgnl'] - - def prepare(self): - if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc' diff --git a/recipes/gst-ffmpeg-static.recipe b/recipes/gst-ffmpeg-static.recipe index 776e8b1..41906bd 100644 --- a/recipes/gst-ffmpeg-static.recipe +++ b/recipes/gst-ffmpeg-static.recipe @@ -17,8 +17,6 @@ class Recipe(custom.GStreamerStatic): files_plugins_codecs_restricted_devel = ['libgstffmpeg'] def prepare(self): - if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc' if self.config.target_platform == Platform.WINDOWS: self.configure_options += \ '--with-ffmpeg-extra-configure="--enable-w32threads"' diff --git a/recipes/gst-plugins-bad-static.recipe b/recipes/gst-plugins-bad-static.recipe index 88f0aac..bc9abb0 100644 --- a/recipes/gst-plugins-bad-static.recipe +++ b/recipes/gst-plugins-bad-static.recipe @@ -143,8 +143,6 @@ class Recipe(custom.GStreamerStatic): make_check = None def prepare(self): - if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc' if self.config.target_platform == Platform.WINDOWS: self.configure_options += \ ' --disable-cog --disable-sdl '\ diff --git a/recipes/gst-plugins-base-static.recipe b/recipes/gst-plugins-base-static.recipe index 0d1b986..97b33d1 100644 --- a/recipes/gst-plugins-base-static.recipe +++ b/recipes/gst-plugins-base-static.recipe @@ -83,8 +83,6 @@ class Recipe(custom.GStreamerStatic): def prepare(self): - if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc' if self.config.target_platform in [Platform.ANDROID, Platform.IOS]: self.configure_options += ' --disable-alsa --disable-x' if self.config.variants.nodebug: diff --git a/recipes/gst-plugins-good-static.recipe b/recipes/gst-plugins-good-static.recipe index 81502f7..6bd2a8e 100644 --- a/recipes/gst-plugins-good-static.recipe +++ b/recipes/gst-plugins-good-static.recipe @@ -103,8 +103,6 @@ class Recipe(custom.GStreamerStatic): } def prepare(self): - if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc' if self.config.target_platform == Platform.WINDOWS: self.configure_options += '--disable-aalib --disable-esd ' if self.config.target_platform in [Platform.ANDROID, Platform.IOS]: diff --git a/recipes/gst-plugins-ugly-static.recipe b/recipes/gst-plugins-ugly-static.recipe index bc63adc..3f1c2ff 100644 --- a/recipes/gst-plugins-ugly-static.recipe +++ b/recipes/gst-plugins-ugly-static.recipe @@ -26,8 +26,6 @@ class Recipe(custom.GStreamerStatic): ] def prepare(self): - if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc' if self.config.variants.nodebug: self.configure_options += ' --disable-gst-debug' super(Recipe, self).prepare() diff --git a/recipes/gstreamer-static.recipe b/recipes/gstreamer-static.recipe index 89d130b..5191b03 100644 --- a/recipes/gstreamer-static.recipe +++ b/recipes/gstreamer-static.recipe @@ -12,7 +12,7 @@ class Recipe(custom.GStreamerStatic): def prepare(self): if self.config.target_platform != Platform.LINUX: - self.configure_options += ' --disable-gtk-doc --disable-docbook' + self.configure_options += ' --disable-docbook' if self.config.target_platform == Platform.ANDROID: self.make = '%s libcheckinternal_la_LIBADD=""' % self.make if self.config.variants.nodebug: |