Commit 58c57851 authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey
Browse files

gstreamer-static: use the base class for disable the gtk docs

parent 4231c4f5
......@@ -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
......
......@@ -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'
......@@ -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"'
......
......@@ -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 '\
......
......@@ -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:
......
......@@ -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]:
......
......@@ -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()
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment