FreeBSD Bugzilla – Attachment 198912 Details for
Bug 232931
[PATCH] devel/sdl20: add options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add options
sdl20.patch (text/plain), 4.46 KB, created by
Ivan Rozhuk
on 2018-11-03 13:39:29 UTC
(
hide
)
Description:
add options
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2018-11-03 13:39:29 UTC
Size:
4.46 KB
patch
obsolete
>Index: devel/sdl20/Makefile >=================================================================== >--- devel/sdl20/Makefile (revision 483886) >+++ devel/sdl20/Makefile (working copy) >@@ -16,13 +16,32 @@ > USES= gmake iconv libtool localbase:ldflags pathfix pkgconfig > USE_LDCONFIG= yes > >-CONFIGURE_ARGS+= --disable-altivec \ >+CONFIGURE_ARGS+= --enable-libc \ >+ --disable-sensor \ >+ --disable-altivec \ >+ --disable-alsatest \ > --disable-arts \ >+ --disable-esdtest \ > --enable-diskaudio \ > --enable-dummyaudio \ >+ --disable-fusionsound \ >+ --disable-fusionsound-shared \ >+ --enable-ime \ >+ --disable-ibus \ >+ --disable-fcitx \ > --enable-video-dummy \ >+ --disable-video-mir \ >+ --disable-mir-shared \ >+ --disable-video-rpi \ >+ --disable-video-vivante \ >+ --disable-video-cocoa \ >+ --disable-render-metal \ > --disable-dbus \ > --disable-input-tslib \ >+ --disable-directx \ >+ --disable-wasapi \ >+ --disable-render-d3d \ >+ --enable-clock_gettime \ > --disable-rpath > .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} > CONFIGURE_ARGS+= --enable-mmx >@@ -49,6 +68,11 @@ > .else > CONFIGURE_ARGS+= --disable-sse3 > .endif >+.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse4.2} >+CONFIGURE_ARGS+= --enable-ssemath >+.else >+CONFIGURE_ARGS+= --disable-ssemath >+.endif > > MAKE_ENV= V=1 > >@@ -57,8 +81,9 @@ > SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \ > SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \ > SDL_POWER SDL_RENDER SDL_THREADS SDL_TIMERS \ >- SDL_VIDEO UDEV VIDEO_KMSDRM VIDEO_OPENGL \ >- VIDEO_OPENGLES2 VIDEO_WAYLAND VIDEO_X11 >+ SDL_VIDEO UDEV VIDEO_DIRECTFB VIDEO_KMSDRM \ >+ VIDEO_OPENGL VIDEO_OPENGLES2 VIDEO_WAYLAND \ >+ VIDEO_VULKAN VIDEO_X11 > OPTIONS_DEFAULT= ASM DLOPEN OSS PTHREADS SDL_ATOMIC SDL_AUDIO \ > SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \ > SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \ >@@ -89,10 +114,12 @@ > SDL_TIMERS_DESC= Enable the SDL Timers subsystem > SDL_VIDEO_DESC= Enable the SDL Video subsystem > UDEV_DESC= Use udev for input device detection >+VIDEO_DIRECTFB_DESC= DirectFB display support > VIDEO_KMSDRM_DESC= KMSDRM display support > VIDEO_OPENGL_DESC= OpenGL rendering support > VIDEO_OPENGLES2_DESC= OpenGL ES 2.x rendering support > VIDEO_WAYLAND_DESC= Wayland display support >+VIDEO_VULKAN_DESC= Vulkan support > VIDEO_X11_DESC= X11 display support > > ASM_CONFIGURE_ENABLE= assembly >@@ -106,7 +133,7 @@ > SDL_AUDIO_CONFIGURE_ENABLE= audio > SDL_CPUINFO_CONFIGURE_ENABLE= cpuinfo > SDL_EVENTS_CONFIGURE_ENABLE= events >-SDL_FILE_CONFIGURE_ENABLE= filesystem >+SDL_FILE_CONFIGURE_ENABLE= file filesystem > SDL_HAPTIC_CONFIGURE_ENABLE= haptic > SDL_JOYSTICK_CONFIGURE_ENABLE= joystick > SDL_LOADSO_CONFIGURE_ENABLE= loadso >@@ -188,6 +215,15 @@ > CONFIGURE_ARGS+= --disable-sndio --disable-sndio-shared > .endif > >+.if ${PORT_OPTIONS:MVIDEO_DIRECTFB} >+.if !${PORT_OPTIONS:MSDL_VIDEO} >+IGNORE= option VIDEO_DIRECTFB requires SDL_VIDEO >+.endif >+CONFIGURE_ARGS+= --enable-video-directfb --enable-directfb-shared >+.else >+CONFIGURE_ARGS+= --disable-video-directfb --disable-directfb-shared >+.endif >+ > .if ${PORT_OPTIONS:MVIDEO_KMSDRM} > .if !${PORT_OPTIONS:MSDL_VIDEO} > IGNORE= option VIDEO_KMSDRM requires SDL_VIDEO >@@ -209,6 +245,19 @@ > CONFIGURE_ARGS+= --disable-video-opengl > .endif > >+.if ${PORT_OPTIONS:MVIDEO_VULKAN} >+.if !${PORT_OPTIONS:MSDL_VIDEO} >+IGNORE= option VIDEO_VULKAN requires SDL_VIDEO >+.endif >+.if !${PORT_OPTIONS:MDLOPEN} >+IGNORE= option VIDEO_VULKAN requires DLOPEN >+.endif >+CONFIGURE_ARGS+= --enable-video-vulkan >+LIB_DEPENDS+= libvulkan.so:graphics/vulkan-loader >+.else >+CONFIGURE_ARGS+= --disable-video-vulkan >+.endif >+ > .if ${PORT_OPTIONS:MVIDEO_X11} > .if !${PORT_OPTIONS:MSDL_VIDEO} > IGNORE= option VIDEO_X11 requires SDL_VIDEO >@@ -216,6 +265,7 @@ > CONFIGURE_ARGS+= --enable-video-x11 \ > --enable-x11-shared \ > --enable-video-x11-xcursor \ >+ --enable-video-x11-xdbe \ > --enable-video-x11-xinerama \ > --enable-video-x11-xinput \ > --enable-video-x11-xrandr \ >@@ -227,6 +277,7 @@ > CONFIGURE_ARGS+= --disable-video-x11 \ > --disable-x11-shared \ > --disable-video-x11-xcursor \ >+ --disable-video-x11-xdbe \ > --disable-video-x11-xinerama \ > --disable-video-x11-xinput \ > --disable-video-x11-xrandr \ >@@ -240,10 +291,12 @@ > IGNORE= option VIDEO_OPENGLES2 requires SDL_VIDEO > .endif > CONFIGURE_ARGS+= --enable-video-opengles \ >+ --enable-video-opengles1 \ > --enable-video-opengles2 > USE_GL+= egl glesv2 > .else > CONFIGURE_ARGS+= --disable-video-opengles \ >+ --disable-video-opengles1 \ > --disable-video-opengles2 > .endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232931
:
198912
|
198924