wayland: enable use of wayland-protocols as a subproject
This allows developers to link subprojects/wayland-protocols/ to a repository checkout. Useful when adding support for new protocols. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18268>
This commit is contained in:
@@ -57,7 +57,7 @@ libwayland_drm = static_library(
|
||||
#
|
||||
# Moving these to a src/wsi/ was suggested but shot down, so put these
|
||||
# here for now as the maybe-least-bad solution.
|
||||
wp_dir = dep_wl_protocols.get_variable(pkgconfig : 'pkgdatadir')
|
||||
wp_dir = dep_wl_protocols.get_variable(pkgconfig : 'pkgdatadir', internal : 'pkgdatadir')
|
||||
wp_protos = {
|
||||
'linux-dmabuf-unstable-v1': 'unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml',
|
||||
'presentation-time': 'stable/presentation-time/presentation-time.xml',
|
||||
|
Reference in New Issue
Block a user