build: Add dependency to GUsb rather than libusb

We will use GUsb rather than libusb directly in the future. This should
simplify a lot of the integration work and changes such as supporting
hotplugging. It will also require quite a lot of internal changes.
This commit is contained in:
Benjamin Berg 2019-06-13 14:57:56 +02:00
parent ec8dd6410e
commit 01ec1c5777
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ libfprint_sources += configure_file(input: 'empty_file',
drivers_primitive_array + '\n\n' + drivers_img_array drivers_primitive_array + '\n\n' + drivers_img_array
]) ])
deps = [ mathlib_dep, glib_dep, libusb_dep, nss_dep, imaging_dep ] deps = [ mathlib_dep, glib_dep, gusb_dep, nss_dep, imaging_dep ]
libfprint = library('fprint', libfprint = library('fprint',
libfprint_sources + drivers_sources + nbis_sources + other_sources, libfprint_sources + drivers_sources + nbis_sources + other_sources,
soversion: soversion, soversion: soversion,

View file

@ -42,7 +42,7 @@ libversion = '@0@.@1@.@2@'.format(soversion, current, revision)
# Dependencies # Dependencies
glib_dep = dependency('glib-2.0', version: '>= 2.50') glib_dep = dependency('glib-2.0', version: '>= 2.50')
libusb_dep = dependency('libusb-1.0', version: '>= 0.9.1') gusb_dep = dependency('gusb', version: '>= 0.3.0')
mathlib_dep = cc.find_library('m', required: false) mathlib_dep = cc.find_library('m', required: false)
# Drivers # Drivers