2023-10-11 20:49:42 +02:00
|
|
|
globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', check: true)
|
2022-06-13 19:09:52 +02:00
|
|
|
src = globber.stdout().strip().split('\n')
|
2022-06-12 22:57:03 +02:00
|
|
|
|
2024-09-11 19:00:47 +03:00
|
|
|
executable(
|
|
|
|
|
'Hyprland',
|
|
|
|
|
src,
|
2023-03-18 21:00:52 +02:00
|
|
|
link_args: '-rdynamic',
|
2023-09-04 17:56:02 +00:00
|
|
|
cpp_pch: 'pch/pch.hpp',
|
2022-06-12 22:57:03 +02:00
|
|
|
dependencies: [
|
|
|
|
|
server_protos,
|
2024-09-19 13:48:31 +00:00
|
|
|
aquamarine,
|
2024-12-02 16:31:22 +00:00
|
|
|
hyprcursor,
|
2024-12-03 18:58:24 +00:00
|
|
|
hyprgraphics,
|
2024-12-02 16:31:22 +00:00
|
|
|
hyprlang,
|
|
|
|
|
hyprutils,
|
2024-07-21 13:09:54 +02:00
|
|
|
dependency('gbm'),
|
|
|
|
|
dependency('xcursor'),
|
2022-06-15 12:04:42 +02:00
|
|
|
dependency('wayland-server'),
|
|
|
|
|
dependency('wayland-client'),
|
2022-06-12 22:57:03 +02:00
|
|
|
dependency('cairo'),
|
|
|
|
|
dependency('libdrm'),
|
|
|
|
|
dependency('egl'),
|
|
|
|
|
dependency('xkbcommon'),
|
2025-06-15 11:45:06 +02:00
|
|
|
dependency('libinput', version: '>=1.28'),
|
2024-12-16 13:22:36 -06:00
|
|
|
dependency('re2'),
|
2022-06-12 22:57:03 +02:00
|
|
|
xcb_dep,
|
2024-05-26 20:11:09 +02:00
|
|
|
xcb_composite_dep,
|
|
|
|
|
xcb_errors_dep,
|
|
|
|
|
xcb_icccm_dep,
|
|
|
|
|
xcb_render_dep,
|
|
|
|
|
xcb_res_dep,
|
|
|
|
|
xcb_xfixes_dep,
|
2023-02-20 14:15:15 +00:00
|
|
|
backtrace_dep,
|
2024-04-15 13:42:17 +00:00
|
|
|
epoll_dep,
|
2025-01-27 22:06:48 +00:00
|
|
|
inotify_dep,
|
2024-08-09 19:33:20 +02:00
|
|
|
gio_dep,
|
2024-09-22 20:53:34 +03:00
|
|
|
tracy,
|
2024-09-22 21:20:35 +03:00
|
|
|
|
|
|
|
|
# Try to find canihavesomecoffee's udis86 using pkgconfig
|
|
|
|
|
# vmt/udis86 does not provide a .pc file and won't be detected this way
|
|
|
|
|
# Falls back to using the subproject through udis86.wrap
|
|
|
|
|
dependency('udis86'),
|
2022-06-12 22:57:03 +02:00
|
|
|
|
|
|
|
|
dependency('pixman-1'),
|
2022-10-30 19:56:13 +03:00
|
|
|
dependency('gl', 'opengl'),
|
2023-03-20 15:39:43 +00:00
|
|
|
dependency('threads'),
|
|
|
|
|
dependency('pango'),
|
2024-04-23 07:01:20 +03:00
|
|
|
dependency('pangocairo'),
|
|
|
|
|
dependency('uuid'),
|
2022-06-12 22:57:03 +02:00
|
|
|
],
|
2024-09-11 19:00:47 +03:00
|
|
|
install: true,
|
2022-06-12 22:57:03 +02:00
|
|
|
)
|
2025-01-18 10:59:25 +02:00
|
|
|
|
|
|
|
|
install_symlink(
|
|
|
|
|
'hyprland',
|
|
|
|
|
install_dir: get_option('bindir'),
|
|
|
|
|
pointing_to: 'Hyprland',
|
|
|
|
|
)
|