mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
SDL: rework OPENGL and DISPLAYSERVER options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
42fd79f137
commit
2c6a1b69d4
@ -22,7 +22,7 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$DISPLAYSERVER" = xorg-server ]; then
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
SDL_X11="--enable-video --enable-x11-shared --disable-video-x11-dgamouse"
|
||||
SDL_X11="$SDL_X11 --disable-video-x11-xinerama --disable-video-x11-xme"
|
||||
SDL_X11="$SDL_X11 --enable-video-x11-xrandr --enable-video-x11"
|
||||
@ -34,7 +34,7 @@ else
|
||||
SDL_X11="$SDL_X11 --disable-video-x11-vm --disable-video-x11-xv --without-x"
|
||||
fi
|
||||
|
||||
if [ "$OPENGL" = Mesa ]; then
|
||||
if [ "$OPENGL_SUPPORT" = yes ]; then
|
||||
SDL_OPENGL="--enable-video-opengl"
|
||||
else
|
||||
SDL_OPENGL="--disable-video-opengl"
|
||||
|
@ -35,14 +35,14 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$DISPLAYSERVER" = xorg-server ]; then
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS libX11 libXrandr"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXrandr"
|
||||
fi
|
||||
|
||||
if [ "$OPENGL" = Mesa ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS Mesa"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS Mesa"
|
||||
if [ "$OPENGL_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS $OPENGL"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS $OPENGL"
|
||||
fi
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user