mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
b55dfb5313
The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
37 lines
946 B
Meson
37 lines
946 B
Meson
opengl_sources = [
|
|
'gstopengl.c',
|
|
'gstglbasemixer.c',
|
|
'gstglmixerbin.c',
|
|
'gstglmixer.c',
|
|
'gstglvideomixer.c',
|
|
'gstglstereomix.c',
|
|
'gstglutils.c',
|
|
]
|
|
|
|
if gstgl_dep.found()
|
|
optional_deps = []
|
|
opengl_defines = ['-DGST_USE_UNSTABLE_API'] # for videoaggregator
|
|
|
|
if gst_gl_have_api_opengl # have desktop GL
|
|
opengl_sources += [
|
|
'gstglmosaic.c',
|
|
]
|
|
endif
|
|
|
|
if x11_dep.found()
|
|
# for XInitThreads()
|
|
optional_deps += x11_dep
|
|
endif
|
|
|
|
gstopenglmixers = library('gstopenglmixers',
|
|
opengl_sources,
|
|
c_args : gst_plugins_bad_args + opengl_defines,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstbadvideo_dep, gstgl_dep, gstvideo_dep,
|
|
gstbase_dep, gstcontroller_dep, libm] + optional_deps,
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstopenglmixers, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|