mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
package/sdl2: enable OpenGL ES support
Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
739b66e8d9
commit
8cdf3f7bcd
@ -40,6 +40,13 @@ comment "OpenGL support needs X11 and an OpenGL provider"
|
|||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
|
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SDL2_OPENGLES
|
||||||
|
bool "OpenGL ES"
|
||||||
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||||
|
|
||||||
|
comment "OpenGL ES support needs an OpenGL ES provider"
|
||||||
|
depends on !BR2_PACKAGE_HAS_LIBGLES
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "sdl2 needs a toolchain w/ dynamic library"
|
comment "sdl2 needs a toolchain w/ dynamic library"
|
||||||
|
@ -18,7 +18,6 @@ SDL2_CONF_OPTS += \
|
|||||||
--disable-esd \
|
--disable-esd \
|
||||||
--disable-dbus \
|
--disable-dbus \
|
||||||
--disable-pulseaudio \
|
--disable-pulseaudio \
|
||||||
--disable-video-opengles \
|
|
||||||
--disable-video-wayland
|
--disable-video-wayland
|
||||||
|
|
||||||
# We must enable static build to get compilation successful.
|
# We must enable static build to get compilation successful.
|
||||||
@ -105,6 +104,13 @@ else
|
|||||||
SDL2_CONF_OPTS += --disable-video-opengl
|
SDL2_CONF_OPTS += --disable-video-opengl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SDL2_OPENGLES),y)
|
||||||
|
SDL2_CONF_OPTS += --enable-video-opengles
|
||||||
|
SDL2_DEPENDENCIES += libgles
|
||||||
|
else
|
||||||
|
SDL2_CONF_OPTS += --disable-video-opengles
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_TSLIB),y)
|
ifeq ($(BR2_PACKAGE_TSLIB),y)
|
||||||
SDL2_DEPENDENCIES += tslib
|
SDL2_DEPENDENCIES += tslib
|
||||||
SDL2_CONF_OPTS += --enable-input-tslib
|
SDL2_CONF_OPTS += --enable-input-tslib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user