package/wine: update optional dependencies for 5.12

wine was bumped to 5.12 in commit
6daf15db41, but a few changes in
optional dependencies were not taken into account:

 - A new optional dependency on libusb exists

 - The option name to use libv4l has been changed

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e9f0125bed)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020.08.x
André Hentschel 2020-10-30 15:25:29 +01:00 committed by Peter Korsgaard
parent 54d32da67e
commit 48bd20b2b4
1 changed files with 11 additions and 3 deletions

View File

@ -145,11 +145,18 @@ else
WINE_CONF_OPTS += --without-png
endif
ifeq ($(BR2_PACKAGE_LIBUSB),y)
WINE_CONF_OPTS += --with-usb
WINE_DEPENDENCIES += libusb
else
WINE_CONF_OPTS += --without-usb
endif
ifeq ($(BR2_PACKAGE_LIBV4L),y)
WINE_CONF_OPTS += --with-v4l
WINE_CONF_OPTS += --with-v4l2
WINE_DEPENDENCIES += libv4l
else
WINE_CONF_OPTS += --without-v4l
WINE_CONF_OPTS += --without-v4l2
endif
ifeq ($(BR2_PACKAGE_LIBXML2),y)
@ -386,7 +393,8 @@ HOST_WINE_CONF_OPTS += \
--without-sane \
--without-sdl \
--without-tiff \
--without-v4l \
--without-usb \
--without-v4l2 \
--without-vkd3d \
--without-vulkan \
--without-x \