|
Lines 16-28
Link Here
|
| 16 |
USES= gmake iconv libtool localbase:ldflags pathfix pkgconfig |
16 |
USES= gmake iconv libtool localbase:ldflags pathfix pkgconfig |
| 17 |
USE_LDCONFIG= yes |
17 |
USE_LDCONFIG= yes |
| 18 |
|
18 |
|
| 19 |
CONFIGURE_ARGS+= --disable-altivec \ |
19 |
CONFIGURE_ARGS+= --enable-libc \ |
|
|
20 |
--disable-sensor \ |
| 21 |
--disable-altivec \ |
| 22 |
--disable-alsatest \ |
| 20 |
--disable-arts \ |
23 |
--disable-arts \ |
|
|
24 |
--disable-esdtest \ |
| 21 |
--enable-diskaudio \ |
25 |
--enable-diskaudio \ |
| 22 |
--enable-dummyaudio \ |
26 |
--enable-dummyaudio \ |
|
|
27 |
--disable-fusionsound \ |
| 28 |
--disable-fusionsound-shared \ |
| 29 |
--enable-ime \ |
| 30 |
--disable-ibus \ |
| 31 |
--disable-fcitx \ |
| 23 |
--enable-video-dummy \ |
32 |
--enable-video-dummy \ |
|
|
33 |
--disable-video-mir \ |
| 34 |
--disable-mir-shared \ |
| 35 |
--disable-video-rpi \ |
| 36 |
--disable-video-vivante \ |
| 37 |
--disable-video-cocoa \ |
| 38 |
--disable-render-metal \ |
| 24 |
--disable-dbus \ |
39 |
--disable-dbus \ |
| 25 |
--disable-input-tslib \ |
40 |
--disable-input-tslib \ |
|
|
41 |
--disable-directx \ |
| 42 |
--disable-wasapi \ |
| 43 |
--disable-render-d3d \ |
| 44 |
--enable-clock_gettime \ |
| 26 |
--disable-rpath |
45 |
--disable-rpath |
| 27 |
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} |
46 |
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} |
| 28 |
CONFIGURE_ARGS+= --enable-mmx |
47 |
CONFIGURE_ARGS+= --enable-mmx |
|
Lines 49-54
Link Here
|
| 49 |
.else |
68 |
.else |
| 50 |
CONFIGURE_ARGS+= --disable-sse3 |
69 |
CONFIGURE_ARGS+= --disable-sse3 |
| 51 |
.endif |
70 |
.endif |
|
|
71 |
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse4.2} |
| 72 |
CONFIGURE_ARGS+= --enable-ssemath |
| 73 |
.else |
| 74 |
CONFIGURE_ARGS+= --disable-ssemath |
| 75 |
.endif |
| 52 |
|
76 |
|
| 53 |
MAKE_ENV= V=1 |
77 |
MAKE_ENV= V=1 |
| 54 |
|
78 |
|
|
Lines 57-64
Link Here
|
| 57 |
SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \ |
81 |
SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \ |
| 58 |
SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \ |
82 |
SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \ |
| 59 |
SDL_POWER SDL_RENDER SDL_THREADS SDL_TIMERS \ |
83 |
SDL_POWER SDL_RENDER SDL_THREADS SDL_TIMERS \ |
| 60 |
SDL_VIDEO UDEV VIDEO_KMSDRM VIDEO_OPENGL \ |
84 |
SDL_VIDEO UDEV VIDEO_DIRECTFB VIDEO_KMSDRM \ |
| 61 |
VIDEO_OPENGLES2 VIDEO_WAYLAND VIDEO_X11 |
85 |
VIDEO_OPENGL VIDEO_OPENGLES2 VIDEO_WAYLAND \ |
|
|
86 |
VIDEO_VULKAN VIDEO_X11 |
| 62 |
OPTIONS_DEFAULT= ASM DLOPEN OSS PTHREADS SDL_ATOMIC SDL_AUDIO \ |
87 |
OPTIONS_DEFAULT= ASM DLOPEN OSS PTHREADS SDL_ATOMIC SDL_AUDIO \ |
| 63 |
SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \ |
88 |
SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \ |
| 64 |
SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \ |
89 |
SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \ |
|
Lines 89-98
Link Here
|
| 89 |
SDL_TIMERS_DESC= Enable the SDL Timers subsystem |
114 |
SDL_TIMERS_DESC= Enable the SDL Timers subsystem |
| 90 |
SDL_VIDEO_DESC= Enable the SDL Video subsystem |
115 |
SDL_VIDEO_DESC= Enable the SDL Video subsystem |
| 91 |
UDEV_DESC= Use udev for input device detection |
116 |
UDEV_DESC= Use udev for input device detection |
|
|
117 |
VIDEO_DIRECTFB_DESC= DirectFB display support |
| 92 |
VIDEO_KMSDRM_DESC= KMSDRM display support |
118 |
VIDEO_KMSDRM_DESC= KMSDRM display support |
| 93 |
VIDEO_OPENGL_DESC= OpenGL rendering support |
119 |
VIDEO_OPENGL_DESC= OpenGL rendering support |
| 94 |
VIDEO_OPENGLES2_DESC= OpenGL ES 2.x rendering support |
120 |
VIDEO_OPENGLES2_DESC= OpenGL ES 2.x rendering support |
| 95 |
VIDEO_WAYLAND_DESC= Wayland display support |
121 |
VIDEO_WAYLAND_DESC= Wayland display support |
|
|
122 |
VIDEO_VULKAN_DESC= Vulkan support |
| 96 |
VIDEO_X11_DESC= X11 display support |
123 |
VIDEO_X11_DESC= X11 display support |
| 97 |
|
124 |
|
| 98 |
ASM_CONFIGURE_ENABLE= assembly |
125 |
ASM_CONFIGURE_ENABLE= assembly |
|
Lines 106-112
Link Here
|
| 106 |
SDL_AUDIO_CONFIGURE_ENABLE= audio |
133 |
SDL_AUDIO_CONFIGURE_ENABLE= audio |
| 107 |
SDL_CPUINFO_CONFIGURE_ENABLE= cpuinfo |
134 |
SDL_CPUINFO_CONFIGURE_ENABLE= cpuinfo |
| 108 |
SDL_EVENTS_CONFIGURE_ENABLE= events |
135 |
SDL_EVENTS_CONFIGURE_ENABLE= events |
| 109 |
SDL_FILE_CONFIGURE_ENABLE= filesystem |
136 |
SDL_FILE_CONFIGURE_ENABLE= file filesystem |
| 110 |
SDL_HAPTIC_CONFIGURE_ENABLE= haptic |
137 |
SDL_HAPTIC_CONFIGURE_ENABLE= haptic |
| 111 |
SDL_JOYSTICK_CONFIGURE_ENABLE= joystick |
138 |
SDL_JOYSTICK_CONFIGURE_ENABLE= joystick |
| 112 |
SDL_LOADSO_CONFIGURE_ENABLE= loadso |
139 |
SDL_LOADSO_CONFIGURE_ENABLE= loadso |
|
Lines 188-193
Link Here
|
| 188 |
CONFIGURE_ARGS+= --disable-sndio --disable-sndio-shared |
215 |
CONFIGURE_ARGS+= --disable-sndio --disable-sndio-shared |
| 189 |
.endif |
216 |
.endif |
| 190 |
|
217 |
|
|
|
218 |
.if ${PORT_OPTIONS:MVIDEO_DIRECTFB} |
| 219 |
.if !${PORT_OPTIONS:MSDL_VIDEO} |
| 220 |
IGNORE= option VIDEO_DIRECTFB requires SDL_VIDEO |
| 221 |
.endif |
| 222 |
CONFIGURE_ARGS+= --enable-video-directfb --enable-directfb-shared |
| 223 |
.else |
| 224 |
CONFIGURE_ARGS+= --disable-video-directfb --disable-directfb-shared |
| 225 |
.endif |
| 226 |
|
| 191 |
.if ${PORT_OPTIONS:MVIDEO_KMSDRM} |
227 |
.if ${PORT_OPTIONS:MVIDEO_KMSDRM} |
| 192 |
.if !${PORT_OPTIONS:MSDL_VIDEO} |
228 |
.if !${PORT_OPTIONS:MSDL_VIDEO} |
| 193 |
IGNORE= option VIDEO_KMSDRM requires SDL_VIDEO |
229 |
IGNORE= option VIDEO_KMSDRM requires SDL_VIDEO |
|
Lines 209-214
Link Here
|
| 209 |
CONFIGURE_ARGS+= --disable-video-opengl |
245 |
CONFIGURE_ARGS+= --disable-video-opengl |
| 210 |
.endif |
246 |
.endif |
| 211 |
|
247 |
|
|
|
248 |
.if ${PORT_OPTIONS:MVIDEO_VULKAN} |
| 249 |
.if !${PORT_OPTIONS:MSDL_VIDEO} |
| 250 |
IGNORE= option VIDEO_VULKAN requires SDL_VIDEO |
| 251 |
.endif |
| 252 |
.if !${PORT_OPTIONS:MDLOPEN} |
| 253 |
IGNORE= option VIDEO_VULKAN requires DLOPEN |
| 254 |
.endif |
| 255 |
CONFIGURE_ARGS+= --enable-video-vulkan |
| 256 |
LIB_DEPENDS+= libvulkan.so:graphics/vulkan-loader |
| 257 |
.else |
| 258 |
CONFIGURE_ARGS+= --disable-video-vulkan |
| 259 |
.endif |
| 260 |
|
| 212 |
.if ${PORT_OPTIONS:MVIDEO_X11} |
261 |
.if ${PORT_OPTIONS:MVIDEO_X11} |
| 213 |
.if !${PORT_OPTIONS:MSDL_VIDEO} |
262 |
.if !${PORT_OPTIONS:MSDL_VIDEO} |
| 214 |
IGNORE= option VIDEO_X11 requires SDL_VIDEO |
263 |
IGNORE= option VIDEO_X11 requires SDL_VIDEO |
|
Lines 216-221
Link Here
|
| 216 |
CONFIGURE_ARGS+= --enable-video-x11 \ |
265 |
CONFIGURE_ARGS+= --enable-video-x11 \ |
| 217 |
--enable-x11-shared \ |
266 |
--enable-x11-shared \ |
| 218 |
--enable-video-x11-xcursor \ |
267 |
--enable-video-x11-xcursor \ |
|
|
268 |
--enable-video-x11-xdbe \ |
| 219 |
--enable-video-x11-xinerama \ |
269 |
--enable-video-x11-xinerama \ |
| 220 |
--enable-video-x11-xinput \ |
270 |
--enable-video-x11-xinput \ |
| 221 |
--enable-video-x11-xrandr \ |
271 |
--enable-video-x11-xrandr \ |
|
Lines 227-232
Link Here
|
| 227 |
CONFIGURE_ARGS+= --disable-video-x11 \ |
277 |
CONFIGURE_ARGS+= --disable-video-x11 \ |
| 228 |
--disable-x11-shared \ |
278 |
--disable-x11-shared \ |
| 229 |
--disable-video-x11-xcursor \ |
279 |
--disable-video-x11-xcursor \ |
|
|
280 |
--disable-video-x11-xdbe \ |
| 230 |
--disable-video-x11-xinerama \ |
281 |
--disable-video-x11-xinerama \ |
| 231 |
--disable-video-x11-xinput \ |
282 |
--disable-video-x11-xinput \ |
| 232 |
--disable-video-x11-xrandr \ |
283 |
--disable-video-x11-xrandr \ |
|
Lines 240-249
Link Here
|
| 240 |
IGNORE= option VIDEO_OPENGLES2 requires SDL_VIDEO |
291 |
IGNORE= option VIDEO_OPENGLES2 requires SDL_VIDEO |
| 241 |
.endif |
292 |
.endif |
| 242 |
CONFIGURE_ARGS+= --enable-video-opengles \ |
293 |
CONFIGURE_ARGS+= --enable-video-opengles \ |
|
|
294 |
--enable-video-opengles1 \ |
| 243 |
--enable-video-opengles2 |
295 |
--enable-video-opengles2 |
| 244 |
USE_GL+= egl glesv2 |
296 |
USE_GL+= egl glesv2 |
| 245 |
.else |
297 |
.else |
| 246 |
CONFIGURE_ARGS+= --disable-video-opengles \ |
298 |
CONFIGURE_ARGS+= --disable-video-opengles \ |
|
|
299 |
--disable-video-opengles1 \ |
| 247 |
--disable-video-opengles2 |
300 |
--disable-video-opengles2 |
| 248 |
.endif |
301 |
.endif |
| 249 |
|
302 |
|