mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Use meson build system
This commit is contained in:
parent
ce886c0353
commit
fdab81e1c9
33 changed files with 157 additions and 1001 deletions
|
|
@ -1,20 +0,0 @@
|
|||
include_directories(
|
||||
${PROTOCOLS_INCLUDE_DIRS}
|
||||
${WAYLAND_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
add_library(wlr-types
|
||||
wlr_output.c
|
||||
wlr_input_device.c
|
||||
wlr_keyboard.c
|
||||
wlr_pointer.c
|
||||
wlr_touch.c
|
||||
wlr_tablet_tool.c
|
||||
wlr_tablet_pad.c
|
||||
)
|
||||
|
||||
target_link_libraries(wlr-types
|
||||
wlr-util
|
||||
wlr-render
|
||||
${WAYLAND_LIBRARIES}
|
||||
)
|
||||
9
types/meson.build
Normal file
9
types/meson.build
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
wlr_files += files(
|
||||
'wlr_input_device.c',
|
||||
'wlr_keyboard.c',
|
||||
'wlr_output.c',
|
||||
'wlr_pointer.c',
|
||||
'wlr_tablet_pad.c',
|
||||
'wlr_tablet_tool.c',
|
||||
'wlr_touch.c',
|
||||
)
|
||||
|
|
@ -206,7 +206,7 @@ bool wlr_output_set_cursor(struct wlr_output *output,
|
|||
output->cursor.texture = wlr_render_surface_init(output->cursor.renderer);
|
||||
}
|
||||
|
||||
wlr_surface_attach_pixels(output->cursor.texture, WL_SHM_FORMAT_XBGR8888,
|
||||
wlr_surface_attach_pixels(output->cursor.texture, WL_SHM_FORMAT_ABGR8888,
|
||||
stride, width, height, buf);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue