From 6a376b918adaeef87bfff3d712a91fdc282b0bcd Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 26 Dec 2013 21:14:30 +0100 Subject: [PATCH] setup: avoid gstreamer to be used on mobile (android and ios) --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index f4976c57a..51b7c06bb 100644 --- a/setup.py +++ b/setup.py @@ -188,10 +188,11 @@ if platform == 'ios': c_options['use_ios'] = True c_options['use_sdl'] = True -# detect gstreamer -gst_flags = pkgconfig('gstreamer-1.0') -if 'libraries' in gst_flags: - c_options['use_gstreamer'] = True +# detect gstreamer, only on desktop +if platform not in ('ios', 'android'): + gst_flags = pkgconfig('gstreamer-1.0') + if 'libraries' in gst_flags: + c_options['use_gstreamer'] = True # -----------------------------------------------------------------------------