mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
22 lines
675 B
Meson
22 lines
675 B
Meson
gtkwayland_sources = [
|
|
'gstplugin.c',
|
|
'gstgtkutils.c',
|
|
'gstgtkwaylandsink.c',
|
|
'gtkgstbasewidget.c',
|
|
'gtkgstwaylandwidget.c',
|
|
]
|
|
|
|
gtk_dep = dependency('gtk+-3.0', required : get_option('gtk3'))
|
|
gtk_wayland_dep = dependency('gtk+-wayland-3.0', required : get_option('gtk3'))
|
|
|
|
if gtk_dep.found() and gtk_wayland_dep.found() and use_wayland
|
|
gstgtkwayland = library('gstgtkwayland',
|
|
gtkwayland_sources,
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
include_directories : [configinc],
|
|
dependencies : [gtk_dep, gstvideo_dep, gstwayland_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstgtkwayland]
|
|
endif
|