wayland: Add color protocols

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6830>
This commit is contained in:
Robert Mader 2024-11-12 20:19:35 +01:00 committed by GStreamer Marge Bot
parent 48cfd3a6e4
commit 0ed3a83ee7
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
wl_req = '>= 1.15'
wl_client_dep = dependency('wayland-client', version: wl_req, required: get_option('wayland'))
libdrm_dep = dependency('libdrm', version: '>= 2.4.98', required: get_option('wayland'))
wl_proto_req = '>= 1.26'
wl_proto_req = '>= 1.44'
wl_protocol_dep = dependency('wayland-protocols', version: wl_proto_req, required: get_option('wayland'))
wl_scanner = find_program('wayland-scanner', required: get_option('wayland'))
# Also used in ext/wayland
@ -36,6 +36,8 @@ if use_wayland
protocols_datadir = wl_protocol_dep.get_variable('pkgdatadir')
protocol_defs = [
['color-management', 'staging', 'v1' ],
['color-representation', 'staging', 'v1' ],
['viewporter', 'stable', ],
['linux-dmabuf', 'unstable', 'v1', ],
['fullscreen-shell', 'unstable', 'v1', ],

View File

@ -1,9 +1,9 @@
[wrap-file]
directory = wayland-protocols-1.40
source_url = https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.40/downloads/wayland-protocols-1.40.tar.xz
source_filename = wayland-protocols-1.40.tar.xz
source_hash = b21711793247c2c42763914392dfa9fcb9e3728ca4b4aa110adb8d915fc00689
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/wayland-protocols_1.40-1/wayland-protocols-1.40.tar.xz
directory = wayland-protocols-1.44
source_url = https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.44/downloads/wayland-protocols-1.44.tar.xz
source_filename = wayland-protocols-1.44.tar.xz
source_hash = 3df1107ecf8bfd6ee878aeca5d3b7afd81248a48031e14caf6ae01f14eebb50e
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/wayland-protocols_1.44-1/wayland-protocols-1.44.tar.xz
wrapdb_version = 1.40-1
[provide]