Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2020 21:38:06 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556794 - head/emulators/wine
Message-ID:  <202012012138.0B1Lc6of079276@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Tue Dec  1 21:38:06 2020
New Revision: 556794
URL: https://svnweb.freebsd.org/changeset/ports/556794

Log:
  Back port r551487 | gerald | 2020-10-05 from emulators/wine-devel:
  
    Add an option SDL that uses SDL 2, a cross-platform multimedia development
    API which can be useful particularly when it comes to supporting games.
    This is off by default for now in alignment with the status quo.
  
  Submitted by:	Alex S <iwtcex@gmail.com>
  PR:		249869

Modified:
  head/emulators/wine/Makefile

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Tue Dec  1 21:32:51 2020	(r556793)
+++ head/emulators/wine/Makefile	Tue Dec  1 21:38:06 2020	(r556794)
@@ -40,7 +40,6 @@ CONFIGURE_ARGS+=--verbose \
 		--with-oss \
 		--without-pulse \
 		--without-sane \
-		--without-sdl \
 		--without-tiff \
 		--without-udev \
 		--without-unwind \
@@ -57,12 +56,13 @@ SUB_FILES=	pkg-message
 
 PORTDATA=	l_intl.nls wine.inf
 
-OPTIONS_DEFINE=	CUPS DOCS DOSBOX GCC GNUTLS HAL LDAP LIBXSLT MPG123 OPENAL V4L VKD3D VULKAN WINEMAKER X11 GECKO MONO
+OPTIONS_DEFINE=	CUPS DOCS DOSBOX GCC GNUTLS HAL LDAP LIBXSLT MPG123 OPENAL SDL V4L VKD3D VULKAN WINEMAKER X11 GECKO MONO
 OPTIONS_DEFAULT=GCC GNUTLS X11
 OPTIONS_SUB=	yes
 
 DOSBOX_DESC=	Use DOSBox to run MS-DOS programs
 LIBXSLT_DESC=	Use libxslt (only used by msxml3.dll)
+SDL_DESC=	Use SDL for gamepad support (XInput only)
 VKD3D_DESC=	Direct3D 12 support via Vulkan
 VULKAN_DESC=	Vulkan API support
 WINEMAKER_DESC=	Fully support winemaker (requires Perl)
@@ -100,6 +100,10 @@ MPG123_LIB_DEPENDS=	libmpg123.so:audio/mpg123
 
 OPENAL_CONFIGURE_WITH=	openal
 OPENAL_USES=		openal
+
+SDL_CONFIGURE_WITH=	sdl
+SDL_USES=		sdl
+SDL_USE=		SDL=sdl2
 
 V4L_CONFIGURE_WITH=	v4l2
 V4L_BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012012138.0B1Lc6of079276>