mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-10 00:00:11 +00:00
39 lines
721 B
Meson
39 lines
721 B
Meson
if get_option('plugin_realtek_mst')
|
|
|
|
if not get_option('gudev')
|
|
error('gudev is required for plugin_realtek_mst')
|
|
endif
|
|
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginRealtekMst"']
|
|
|
|
install_data(['realtek-mst.quirk'],
|
|
install_dir: join_paths(get_option('datadir'), 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_realtek_mst',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-realtek-mst-device.c',
|
|
'fu-plugin-realtek-mst.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
|