meson: Do not enforce GStreamer EGL lib

GStreamer EGL headers are handled by GstGL lib.
No need to additionally import them.
This commit is contained in:
Rafał Dzięgiel 2021-05-15 08:52:36 +02:00 committed by Rafostar
parent 0902f45d71
commit bbd4ee2986
No known key found for this signature in database
GPG Key ID: B6FBB8ADAF40A568

View File

@ -45,10 +45,8 @@ gstplayer_dep = dependency('gstreamer-player-1.0', version: '>= 1.12.3',
required: get_option('media-gstreamer'))
gstgl_dep = dependency('gstreamer-gl-1.0', version: '>= 1.12.3',
required: get_option('media-gstreamer'))
gstglegl_dep = dependency('gstreamer-gl-egl-1.0', version : '>= 1.12.3',
required: get_option('media-gstreamer'))
if gstplayer_dep.found() and gstgl_dep.found() and gstglegl_dep.found()
if gstplayer_dep.found() and gstgl_dep.found()
media_backends += 'gstreamer'
cdata.set('HAVE_GSTREAMER', 1)
shared_module('media-gstreamer',
@ -58,7 +56,7 @@ if gstplayer_dep.found() and gstgl_dep.found() and gstglegl_dep.found()
'gtkgstsink.c',
],
c_args: extra_c_args,
dependencies: [ libm, libgtk_dep, gstplayer_dep, gstgl_dep, gstglegl_dep ],
dependencies: [ libm, libgtk_dep, gstplayer_dep, gstgl_dep ],
name_suffix: module_suffix,
install_dir: media_install_dir,
install: true,