f0rmz: new subproject to create a form/wizard setup thing

This commit is contained in:
Clayton Craft 2025-09-23 01:48:35 -07:00 committed by Johannes Marbach
parent b12ce978b1
commit 47b046da73
36 changed files with 4693 additions and 241 deletions

34
f0rmz/meson.build Normal file
View file

@ -0,0 +1,34 @@
# Copyright 2025 buffybox contributors
# SPDX-License-Identifier: GPL-3.0-or-later
f0rmz_sources = files(
'command_line.c',
'config.c',
'main.c',
'sq2lv_layouts.c'
)
f0rmz_dependencies = [
common_dependencies,
depinih,
depxkbcommon
]
f0rmz_args = []
deplibdrm = dependency('libdrm', required: get_option('with-drm'))
if deplibdrm.found()
f0rmz_dependencies += deplibdrm
f0rmz_args += '-DLV_USE_LINUX_DRM=1'
else
f0rmz_args += '-DLV_USE_LINUX_DRM=0'
endif
executable('f0rmz',
include_directories: common_include_dirs,
sources: f0rmz_sources + shared_sources + squeek2lvgl_sources + lvgl_sources + header_sources,
dependencies: f0rmz_dependencies,
c_args: f0rmz_args,
install: true,
install_tag: 'f0rmz'
)