1 config BR2_PACKAGE_SDL2
3 depends on !BR2_STATIC_LIBS
5 Simple DirectMedia Layer 2 - SDL2 is a library that allows
6 programs portable low level access to a video framebuffer,
7 audio output, mouse, and keyboard. It is not compatible with
10 http://www.libsdl.org/
14 config BR2_PACKAGE_SDL2_DIRECTFB
15 bool "DirectFB video driver"
16 depends on BR2_PACKAGE_DIRECTFB
18 comment "DirectFB video driver needs directfb"
19 depends on !BR2_PACKAGE_DIRECTFB
21 config BR2_PACKAGE_SDL2_X11
22 bool "X11 video driver"
23 depends on BR2_PACKAGE_XORG7
24 depends on BR2_USE_MMU # fork()
25 select BR2_PACKAGE_XLIB_LIBX11
26 select BR2_PACKAGE_XLIB_LIBXEXT
28 comment "X11 video driver needs X.org"
29 depends on !BR2_PACKAGE_XORG7
30 depends on BR2_USE_MMU
32 config BR2_PACKAGE_SDL2_OPENGL
34 depends on BR2_PACKAGE_HAS_LIBGL
35 depends on BR2_PACKAGE_XORG7
36 depends on BR2_USE_MMU # X11 video driver
37 select BR2_PACKAGE_SDL2_X11
39 comment "OpenGL support needs X11 and an OpenGL provider"
40 depends on BR2_USE_MMU
41 depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
43 config BR2_PACKAGE_SDL2_OPENGLES
45 depends on BR2_PACKAGE_HAS_LIBGLES
47 comment "OpenGL ES support needs an OpenGL ES provider"
48 depends on !BR2_PACKAGE_HAS_LIBGLES
52 comment "sdl2 needs a toolchain w/ dynamic library"
53 depends on BR2_STATIC_LIBS