# SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2025 Alyssa Ross rust_lib = static_library('metadata', 'metadata.rs', rust_abi : 'c') conf_data = configuration_data() conf_data.set_quoted('CONFIG_PATH', get_option('prefix') / get_option('datadir') / 'spectrum/flatpak-config') configure_file(output : 'config.h', configuration : conf_data) executable('mount-flatpak', 'mount-flatpak.c', c_args : '-D_GNU_SOURCE', link_with : rust_lib, install : true) install_data('config', rename : 'flatpak-config', install_dir : get_option('datadir') / 'spectrum')