aboutsummaryrefslogtreecommitdiff
path: root/package/wine/wine.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/wine/wine.mk')
-rw-r--r--package/wine/wine.mk19
1 files changed, 16 insertions, 3 deletions
diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index 7e44e3c81d..78fa860ecf 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -4,9 +4,9 @@
#
################################################################################
-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
@@ -25,7 +25,9 @@ WINE_CONF_OPTS = \
--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
@@ -222,6 +224,13 @@ else
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
@@ -356,6 +365,7 @@ HOST_WINE_CONF_OPTS += \
--without-glu \
--without-gnutls \
--without-gsm \
+ --without-gssapi \
--without-gstreamer \
--without-hal \
--without-jpeg \
@@ -372,8 +382,11 @@ HOST_WINE_CONF_OPTS += \
--without-pulse \
--without-png \
--without-sane \
+ --without-sdl \
--without-tiff \
--without-v4l \
+ --without-vkd3d \
+ --without-vulkan \
--without-x \
--without-xcomposite \
--without-xcursor \