aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAustin Horstman <[email protected]>2024-12-16 13:22:36 -0600
committerGitHub <[email protected]>2024-12-16 20:22:36 +0100
commite340e9f431c7f1792fd6bfea20eb2f71a59d511f (patch)
treec77d43d5af6842092714ee06949a90b12294b62b
parentc2d14a2013b871b5d0b50c39ee781882d68e8b03 (diff)
downloadHyprland-e340e9f431c7f1792fd6bfea20eb2f71a59d511f.tar.gz
Hyprland-e340e9f431c7f1792fd6bfea20eb2f71a59d511f.zip
nix/meson: add re2 dependency (#8738)
* nix/default: add re2 dependency * meson: add re2
-rw-r--r--hyprctl/meson.build1
-rw-r--r--meson.build2
-rw-r--r--nix/default.nix2
-rw-r--r--src/meson.build1
4 files changed, 6 insertions, 0 deletions
diff --git a/hyprctl/meson.build b/hyprctl/meson.build
index 455f5739..d6769b84 100644
--- a/hyprctl/meson.build
+++ b/hyprctl/meson.build
@@ -3,6 +3,7 @@ executable(
'main.cpp',
dependencies: [
dependency('hyprutils', version: '>= 0.1.1'),
+ dependency('re2', required: true)
],
install: true,
)
diff --git a/meson.build b/meson.build
index c46b199c..d79a2845 100644
--- a/meson.build
+++ b/meson.build
@@ -59,6 +59,8 @@ endif
backtrace_dep = cpp_compiler.find_library('execinfo', required: false)
epoll_dep = dependency('epoll-shim', required: false) # timerfd on BSDs
+re2 = dependency('re2', required: true)
+
# Handle options
systemd_option = get_option('systemd')
systemd = dependency('systemd', required: systemd_option)
diff --git a/nix/default.nix b/nix/default.nix
index aeb4a4bb..50f0560f 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -27,6 +27,7 @@
mesa,
pango,
pciutils,
+ re2,
systemd,
tomlplusplus,
udis86-hyprland,
@@ -128,6 +129,7 @@ in
mesa
pango
pciutils
+ re2
tomlplusplus
udis86-hyprland
wayland
diff --git a/src/meson.build b/src/meson.build
index 754cd55a..2efc2213 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -22,6 +22,7 @@ executable(
dependency('egl'),
dependency('xkbcommon'),
dependency('libinput'),
+ dependency('re2'),
xcb_dep,
xcb_composite_dep,
xcb_errors_dep,