initial commit

This commit is contained in:
Richard Acayan 2024-04-15 22:11:00 -04:00
commit 1c606d0274
No known key found for this signature in database
GPG key ID: 0346F4894879DB73
36 changed files with 9908 additions and 0 deletions

38
meson.build Normal file
View file

@ -0,0 +1,38 @@
# SPDX-License-Identifier: GPL-3.0-only
project('ufkbd', 'c')
compiler = meson.get_compiler('c')
expat = dependency('expat')
fcft = dependency('fcft')
pixman = dependency('pixman-1')
utf8proc = dependency('libutf8proc')
wayland = dependency('wayland-client')
xkbcommon = dependency('xkbcommon')
libm = compiler.find_library('m')
executable('ufkbd',
[
'graphics.c',
'input.c',
'keymap.c',
'layout.c',
'main.c',
'modifier.c',
'parser.c',
'wayland/protocols/input-method-unstable-v2.c',
'wayland/protocols/viewporter.c',
'wayland/protocols/virtual-keyboard-unstable-v1.c',
'wayland/protocols/wlr-layer-shell-unstable-v1.c',
'wayland/protocols/xdg-shell.c',
'wayland/buffer.c',
'wayland/driver.c',
'wayland/input.c',
'wayland/surface.c',
],
dependencies : [expat, fcft, libm, pixman, utf8proc, wayland, xkbcommon],
include_directories : 'include',
c_args : ['-Wall', '-Wextra', '-Wpedantic', '-Wno-unused-parameter'],
)