35 lines
773 B
Meson
35 lines
773 B
Meson
|
|
# 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'
|
||
|
|
)
|