mirror of https://github.com/kivy/kivy.git
setup: avoid gstreamer to be used on mobile (android and ios)
This commit is contained in:
parent
962278818b
commit
6a376b918a
9
setup.py
9
setup.py
|
@ -188,10 +188,11 @@ if platform == 'ios':
|
||||||
c_options['use_ios'] = True
|
c_options['use_ios'] = True
|
||||||
c_options['use_sdl'] = True
|
c_options['use_sdl'] = True
|
||||||
|
|
||||||
# detect gstreamer
|
# detect gstreamer, only on desktop
|
||||||
gst_flags = pkgconfig('gstreamer-1.0')
|
if platform not in ('ios', 'android'):
|
||||||
if 'libraries' in gst_flags:
|
gst_flags = pkgconfig('gstreamer-1.0')
|
||||||
c_options['use_gstreamer'] = True
|
if 'libraries' in gst_flags:
|
||||||
|
c_options['use_gstreamer'] = True
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue