Skip to content

Commit

Permalink
video/out/wayland: update color management protocol to the upstream v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
Zamundaaa committed Feb 17, 2025
1 parent 7f4add8 commit e625934
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 1,550 deletions.
9 changes: 6 additions & 3 deletions video/out/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ protocols = [[wl_protocol_dir, 'stable/presentation-time/presentation-time.xml']
[wl_protocol_dir, 'staging/content-type/content-type-v1.xml'],
[wl_protocol_dir, 'staging/fractional-scale/fractional-scale-v1.xml'],
[wl_protocol_dir, 'staging/single-pixel-buffer/single-pixel-buffer-v1.xml'],
[wl_protocol_dir, 'staging/xdg-activation/xdg-activation-v1.xml'],
['protocols', 'xx-color-management-v4.xml']]
[wl_protocol_dir, 'staging/xdg-activation/xdg-activation-v1.xml']]
wl_protocols_source = []
wl_protocols_headers = []

foreach v: ['1.32', '1.39']
foreach v: ['1.32', '1.39', '1.41']
features += {'wayland-protocols-' + v.replace('.', '-'):
wayland['deps'][2].version().version_compare('>=' + v)}
endforeach
Expand All @@ -28,6 +27,10 @@ if features['wayland-protocols-1-39']
protocols += [[wl_protocol_dir, 'staging/ext-data-control/ext-data-control-v1.xml']]
endif

if features['wayland-protocols-1-41']
protocols += [[wl_protocol_dir, 'staging/color-management/color-management-v1.xml']]
endif

foreach p: protocols
xml = join_paths(p)
wl_protocols_source += custom_target(xml.underscorify() + '_c',
Expand Down
Loading

0 comments on commit e625934

Please sign in to comment.