mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-26 20:36:05 +00:00

tristate features will automatically disable if dependencies marked as required are missing. Packagers can manually override using `auto_features`. Link: https://mesonbuild.com/Build-options.html#features
36 lines
743 B
Meson
36 lines
743 B
Meson
if get_option('plugin_parade_lspcon').require(gudev.found(),
|
|
error_message: 'gudev is needed for plugin_parade_lspcon').allowed()
|
|
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginParadeLspcon"']
|
|
|
|
install_data(['parade-lspcon.quirk'],
|
|
install_dir: join_paths(get_option('datadir'), 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_parade_lspcon',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-parade-lspcon-device.c',
|
|
'fu-plugin-parade-lspcon.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : [
|
|
cargs,
|
|
'-DLOCALSTATEDIR="' + localstatedir + '"',
|
|
],
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
endif
|