# Locally calculated after checking pgp signature
-sha256 d45a88edbe7db363e297cacedc94e66df3464504a01c2eccf04f518066a6fb0c wine-3.0.4.tar.xz
+sha256 6736cdee95b2b8bb021ec0c19497ed8cad5ae2c8bfdb7ab5dc687ff92a480d4d wine-4.0.tar.xz
#
################################################################################
-WINE_VERSION = 3.0.4
+WINE_VERSION = 4.0
WINE_SOURCE = wine-$(WINE_VERSION).tar.xz
-WINE_SITE = https://dl.winehq.org/wine/source/3.0
+WINE_SITE = https://dl.winehq.org/wine/source/4.0
WINE_LICENSE = LGPL-2.1+
WINE_LICENSE_FILES = COPYING.LIB LICENSE
WINE_DEPENDENCIES = host-bison host-flex host-wine
--without-gsm \
--without-hal \
--without-opencl \
- --without-oss
+ --without-oss \
+ --without-vkd3d \
+ --without-vulkan
# Wine uses a wrapper around gcc, and uses the value of --host to
# construct the filename of the gcc to call. But for external
WINE_CONF_OPTS += --without-sane
endif
+ifeq ($(BR2_PACKAGE_SDL2),y)
+WINE_CONF_OPTS += --with-sdl
+WINE_DEPENDENCIES += sdl2
+else
+WINE_CONF_OPTS += --without-sdl
+endif
+
ifeq ($(BR2_PACKAGE_TIFF),y)
WINE_CONF_OPTS += --with-tiff
WINE_DEPENDENCIES += tiff
--without-glu \
--without-gnutls \
--without-gsm \
+ --without-gssapi \
--without-gstreamer \
--without-hal \
--without-jpeg \
--without-pulse \
--without-png \
--without-sane \
+ --without-sdl \
--without-tiff \
--without-v4l \
+ --without-vkd3d \
+ --without-vulkan \
--without-x \
--without-xcomposite \
--without-xcursor \