aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2024-10-08 16:35:29 +0300
committerMihai Fufezan <[email protected]>2024-10-08 16:35:29 +0300
commit698e8950c2682a32dd1a5a0e82b2905a554605c2 (patch)
tree7ec9f8c152a8da254534e6da50a27260ba9fe463
parent6fc6a23d6b7b63f0857f769d4d0c47f9ab0cc764 (diff)
downloadHyprland-698e8950c2682a32dd1a5a0e82b2905a554605c2.tar.gz
Hyprland-698e8950c2682a32dd1a5a0e82b2905a554605c2.zip
Meson: bump required versions and add ctm proto
-rw-r--r--meson.build2
-rw-r--r--protocols/meson.build3
2 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 3545f46a..e9bbb99d 100644
--- a/meson.build
+++ b/meson.build
@@ -30,7 +30,7 @@ if cpp_compiler.check_header('execinfo.h')
add_project_arguments('-DHAS_EXECINFO', language: 'cpp')
endif
-aquamarine = dependency('aquamarine')
+aquamarine = dependency('aquamarine', version: '>=0.4.2')
add_project_arguments(['-DAQUAMARINE_VERSION="@0@"'.format(aquamarine.version())], language: 'cpp')
xcb_dep = dependency('xcb', required: get_option('xwayland'))
diff --git a/protocols/meson.build b/protocols/meson.build
index 3fa2ef2f..2c0d06d1 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -7,7 +7,7 @@ wayland_protos = dependency(
hyprland_protos = dependency(
'hyprland-protocols',
- version: '>=0.2',
+ version: '>=0.4',
fallback: 'hyprland-protocols',
)
@@ -36,6 +36,7 @@ protocols = [
hyprland_protocol_dir / 'protocols/hyprland-global-shortcuts-v1.xml',
hyprland_protocol_dir / 'protocols/hyprland-toplevel-export-v1.xml',
hyprland_protocol_dir / 'protocols/hyprland-focus-grab-v1.xml',
+ hyprland_protocol_dir / 'protocols/hyprland-ctm-control-v1.xml',
wayland_protocol_dir / 'staging/tearing-control/tearing-control-v1.xml',
wayland_protocol_dir / 'staging/fractional-scale/fractional-scale-v1.xml',
wayland_protocol_dir / 'unstable/xdg-output/xdg-output-unstable-v1.xml',