Added libusb-1.0-0-dev to debian/control and removed .enabled() from meson.build

Trying to see if this gets libusb included in builds without having to force it on
This commit is contained in:
specialfred453@gmail.com 2025-01-11 12:53:12 -05:00
parent 8058f64728
commit a25574b132
2 changed files with 2 additions and 1 deletions

1
debian/control vendored
View File

@ -18,6 +18,7 @@ Build-Depends: debhelper (>= 11),
libpcap-dev,
libslirp-dev,
libvulkan-dev,
libusb-1.0-0-dev,
Standards-Version: 3.9.8
Homepage: https://xemu.app
XS-Debian-Vcs-Browser: https://github.com/mborgerson/xemu

View File

@ -2129,7 +2129,7 @@ if not get_option('usb_redir').auto() or have_system
endif
libusb = not_found
if not get_option('libusb').auto() or have_system
libusb = dependency('libusb-1.0', required: get_option('libusb').enabled(),
libusb = dependency('libusb-1.0', required: get_option('libusb'),
version: '>=1.0.13', method: 'pkg-config')
endif