[Spice-devel] [spice-gtk 1/5] build: require minimal libusb version 1.0.21

Frediano Ziglio fziglio at redhat.com
Mon Jul 15 14:21:54 UTC 2019


> 
> Previous commit ca641a5b92 uses libusb_interrupt_event_handler
> which requires newer version of libusb.
> 
> Signed-off-by: Yuri Benditovich <yuri.benditovich at daynix.com>

My fault.
According to repology this should not be an issue.
Fine for me.

> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index 32561ee..54160f9 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -199,7 +199,7 @@ usbredir_version = '0.7.1'
>  usbredir_version_info = '>= @0@'.format(usbredir_version)
>  d1 = dependency('libusbredirparser-0.5', version: usbredir_version_info,
>  required : get_option('usbredir'))
>  d2 = dependency('libusbredirhost', version: usbredir_version_info, required
>  : get_option('usbredir'))
> -d3 = dependency('libusb-1.0', version : '>= 1.0.16', required :
> get_option('usbredir'))
> +d3 = dependency('libusb-1.0', version : '>= 1.0.21', required :
> get_option('usbredir'))
>  if d1.found() and d2.found() and d3.found()
>    spice_glib_deps += [d1, d2, d3]
>    spice_gtk_config_data.set('USE_USBREDIR', '1')

Frediano


More information about the Spice-devel mailing list