Remove Fragile from the list of dependencies It is not necessary for building 'gio' anymore, since the upgrade to 'glib v2_58'. Remove "online" and "reset_lock" Meson-options Building Squeekboard should work offline. Use a single "Cargo.toml"-file instead of splitting it into parts and putting it back together when building. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/623>
20 lines
530 B
Meson
20 lines
530 B
Meson
entry = configure_file(
|
|
copy: true,
|
|
input: 'entry.py',
|
|
output: 'squeekboard-entry',
|
|
install: true,
|
|
install_dir: bindir,
|
|
)
|
|
|
|
test_layout = custom_target('squeekboard-test-layout',
|
|
build_by_default: true,
|
|
# meson doesn't track all inputs, cargo does
|
|
build_always_stale: true,
|
|
output: ['squeekboard-test-layout'],
|
|
console: true,
|
|
command: [cargo_build, '--rename', 'test_layout', '@OUTPUT@', '--bin', 'test_layout']
|
|
+ cargo_build_flags,
|
|
install: true,
|
|
install_dir: bindir,
|
|
)
|