mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
@@ -154,7 +154,7 @@ libfprint_sources += configure_file(input: 'empty_file',
|
||||
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_sources + drivers_sources + nbis_sources + other_sources,
|
||||
soversion: soversion,
|
||||
|
||||
@@ -42,7 +42,7 @@ libversion = '@0@.@1@.@2@'.format(soversion, current, revision)
|
||||
|
||||
# Dependencies
|
||||
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)
|
||||
|
||||
# Drivers
|
||||
|
||||
Reference in New Issue
Block a user