gstwayland: Don't depend on wayland-protocols

wayland-protocols are needed to build gstwayland, but not for dependent projects.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4724>
This commit is contained in:
Balló György 2023-05-26 17:38:13 +00:00 committed by GStreamer Marge Bot
parent 02bf1dbf1f
commit 6f8b9574f2

View File

@ -74,7 +74,7 @@ if use_wayland
darwin_versions : osxversion, darwin_versions : osxversion,
install : true, install : true,
dependencies : [gst_dep, gstallocators_dep, gstvideo_dep, libdrm_dep, dependencies : [gst_dep, gstallocators_dep, gstvideo_dep, libdrm_dep,
wl_client_dep, wl_protocol_dep] wl_client_dep]
) )
pkg_name = 'gstreamer-wayland-1.0' pkg_name = 'gstreamer-wayland-1.0'
@ -90,7 +90,7 @@ if use_wayland
gstwayland_dep = declare_dependency(link_with : gstwayland, gstwayland_dep = declare_dependency(link_with : gstwayland,
include_directories : [libsinc], include_directories : [libsinc],
dependencies : [gst_dep, gstallocators_dep, gstvideo_dep, libdrm_dep, dependencies : [gst_dep, gstallocators_dep, gstvideo_dep, libdrm_dep,
wl_client_dep, wl_protocol_dep]) wl_client_dep])
install_headers(wl_headers, subdir: 'gstreamer-1.0/gst/wayland') install_headers(wl_headers, subdir: 'gstreamer-1.0/gst/wayland')
meson.override_dependency(pkg_name, gstwayland_dep) meson.override_dependency(pkg_name, gstwayland_dep)