From 01ec1c5777970c5c19e151139b3e5ab3b2dacdf4 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 13 Jun 2019 14:57:56 +0200 Subject: [PATCH] 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. --- libfprint/meson.build | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libfprint/meson.build b/libfprint/meson.build index e46f2f9..57264c0 100644 --- a/libfprint/meson.build +++ b/libfprint/meson.build @@ -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, diff --git a/meson.build b/meson.build index c3aee14..0b075c4 100644 --- a/meson.build +++ b/meson.build @@ -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