build: move wayland-protocols dep to protocol/

This commit is contained in:
Simon Ser 2021-05-01 12:33:27 +02:00
parent 2603a5dee7
commit 66d5805594
2 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,6 @@ internal_features = {
wayland_server = dependency('wayland-server', version: '>=1.19') wayland_server = dependency('wayland-server', version: '>=1.19')
wayland_client = dependency('wayland-client') wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
drm = dependency('libdrm', version: '>=2.4.95') drm = dependency('libdrm', version: '>=2.4.95')
gbm = dependency('gbm', version: '>=17.1.0') gbm = dependency('gbm', version: '>=17.1.0')
libinput = dependency('libinput', version: '>=1.14.0') libinput = dependency('libinput', version: '>=1.14.0')
@ -111,7 +110,6 @@ wlr_files = []
wlr_deps = [ wlr_deps = [
wayland_server, wayland_server,
wayland_client, wayland_client,
wayland_protos,
drm, drm,
gbm, gbm,
libinput, libinput,

View File

@ -1,3 +1,4 @@
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir') wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir')
wayland_scanner_dep = dependency('wayland-scanner', native: true) wayland_scanner_dep = dependency('wayland-scanner', native: true)