SDL: rework OPENGL and DISPLAYSERVER options

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-30 15:43:32 +01:00
parent 42fd79f137
commit 2c6a1b69d4
2 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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