mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-25 22:40:50 +00:00

Otherwise the following build error happens: ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:54:10: error: ‘G_USB_DEVICE_DIRECTION_HOST_TO_DEVICE’ undeclared (first use in this function) 54 | G_USB_DEVICE_DIRECTION_HOST_TO_DEVICE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:54:10: note: each undeclared identifier is reported only once for each function it appears in ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:55:10: error: ‘G_USB_DEVICE_REQUEST_TYPE_VENDOR’ undeclared (first use in this function) 55 | G_USB_DEVICE_REQUEST_TYPE_VENDOR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:56:10: error: ‘G_USB_DEVICE_RECIPIENT_DEVICE’ undeclared (first use in this function) 56 | G_USB_DEVICE_RECIPIENT_DEVICE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c: In function ‘fu_analogix_device_receive’: ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:96:10: error: ‘G_USB_DEVICE_DIRECTION_DEVICE_TO_HOST’ undeclared (first use in this function) 96 | G_USB_DEVICE_DIRECTION_DEVICE_TO_HOST, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:97:10: error: ‘G_USB_DEVICE_REQUEST_TYPE_VENDOR’ undeclared (first use in this function) 97 | G_USB_DEVICE_REQUEST_TYPE_VENDOR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fwupd-1.6.0/plugins/analogix/fu-analogix-device.c:98:10: error: ‘G_USB_DEVICE_RECIPIENT_DEVICE’ undeclared (first use in this function) 98 | G_USB_DEVICE_RECIPIENT_DEVICE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ and more...
33 lines
592 B
Meson
33 lines
592 B
Meson
if get_option('gusb')
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginAnalogix"']
|
|
|
|
install_data(['analogix.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_analogix',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-analogix.c',
|
|
'fu-analogix-device.c',
|
|
'fu-analogix-common.c',
|
|
'fu-analogix-firmware.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
endif
|