Commit 0ed9ffe5 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

gstreamer-static: Disable gtk-doc and docbook on non-Linux archs in the static recipes too

parent f34a0d5f
......@@ -12,3 +12,7 @@ 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,6 +17,8 @@ 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,6 +143,8 @@ 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 '\
......
......@@ -80,6 +80,8 @@ 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,11 +103,10 @@ 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 '\
'--disable-gtk-doc'
if self.config.target_platform == Platform.DARWIN:
self.configure_options += '--disable-gtk-doc'
self.configure_options += '--disable-aalib --disable-esd '
if self.config.target_platform in [Platform.ANDROID, Platform.IOS]:
self.configure_options += '--disable-pulse --disable-x'
if self.config.target_platform == Platform.LINUX:
......
......@@ -26,6 +26,8 @@ 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()
......@@ -11,6 +11,8 @@ class Recipe(custom.GStreamerStatic):
files_plugins_core_devel = ['libgstcoreelements', 'libgstcoreindexers']
def prepare(self):
if self.config.target_platform != Platform.LINUX:
self.configure_options += ' --disable-gtk-doc --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