Hyprland/src/meson.build

41 lines
1.0 KiB
Meson
Raw Normal View History

globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', check: true)
src = globber.stdout().strip().split('\n')
executable('Hyprland', src,
cpp_args: ['-DWLR_USE_UNSTABLE'],
2023-03-18 20:00:52 +01:00
link_args: '-rdynamic',
cpp_pch: 'pch/pch.hpp',
dependencies: [
server_protos,
dependency('wayland-server'),
dependency('wayland-client'),
wlroots.get_variable('wlroots'),
dependency('cairo'),
dependency('hyprcursor', version: '>=0.1.7'),
dependency('hyprlang', version: '>= 0.3.2'),
dependency('hyprutils', version: '>= 0.2.0'),
dependency('libdrm'),
dependency('egl'),
dependency('xkbcommon'),
dependency('libinput'),
xcb_dep,
meson: add more xcb-* dependencies after addd3e7f1aeb ld: error: undefined symbol: xcb_icccm_get_wm_hints_from_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::readProp(CSharedPointer<CXWaylandSurface>, unsigned int, xcb_get_property_reply_t*)) ld: error: undefined symbol: xcb_icccm_get_wm_size_hints_from_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::readProp(CSharedPointer<CXWaylandSurface>, unsigned int, xcb_get_property_reply_t*)) ld: error: undefined symbol: xcb_errors_get_name_for_major_code >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::handleError(xcb_value_error_t*)) ld: error: undefined symbol: xcb_errors_get_name_for_minor_code >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::handleError(xcb_value_error_t*)) ld: error: undefined symbol: xcb_errors_get_name_for_error >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::handleError(xcb_value_error_t*)) ld: error: undefined symbol: xcb_xfixes_id >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_composite_id >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_res_id >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_xfixes_query_version >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_xfixes_query_version_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_res_query_version >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_res_query_version_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_render_query_pict_formats >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_render_query_pict_formats_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_render_query_pict_formats_formats_iterator >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_render_pictforminfo_next >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_errors_context_new >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::CXWM()) ld: error: undefined symbol: xcb_composite_redirect_subwindows >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::CXWM()) ld: error: undefined symbol: xcb_xfixes_select_selection_input >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::initSelection()) ld: error: undefined symbol: xcb_render_create_picture >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::setCursor(unsigned char*, unsigned int, Vector2D const&, Vector2D const&)) ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
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,
backtrace_dep,
epoll_dep,
udis86,
dependency('pixman-1'),
dependency('gl', 'opengl'),
2023-03-20 16:39:43 +01:00
dependency('threads'),
dependency('pango'),
2024-04-23 06:01:20 +02:00
dependency('pangocairo'),
dependency('uuid'),
],
install : true
)