mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
projects/*/options: readd option to specify Displayserver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1683868bdd
commit
8d93bc0533
@ -1,11 +1,13 @@
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
SDL_SUPPORT="yes"
|
||||
else
|
||||
SDL_SUPPORT="no"
|
||||
fi
|
||||
|
||||
if [ "$OPENGL" = no ]; then
|
||||
OPENGL_SUPPORT="no"
|
||||
XORG_SUPPORT="no"
|
||||
SDL_SUPPORT="no"
|
||||
else
|
||||
OPENGL_SUPPORT="yes"
|
||||
XORG_SUPPORT="yes"
|
||||
SDL_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if [ "$OPENGLES" = no ]; then
|
||||
|
@ -25,7 +25,7 @@
|
||||
# disable build of GOOM until its fixed
|
||||
XBMC_VIS_GOOM="no"
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
XBMC_XORG="--enable-x11 --enable-xrandr"
|
||||
else
|
||||
XBMC_XORG="--disable-x11 --disable-xrandr"
|
||||
@ -305,6 +305,6 @@ cd $PKG_BUILD
|
||||
make externals
|
||||
make xbmc.bin
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
make xbmc-xrandr
|
||||
fi
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/xbmc
|
||||
cp $PKG_BUILD/xbmc.bin $INSTALL/usr/lib/xbmc
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
cp $PKG_BUILD/xbmc-xrandr $INSTALL/usr/lib/xbmc
|
||||
fi
|
||||
|
||||
|
@ -39,7 +39,7 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
# for libX11 support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXext"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libX11 libXext"
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
XBMC_XORG="--enable-x11 --enable-xrandr"
|
||||
else
|
||||
XBMC_XORG="--disable-x11 --disable-xrandr"
|
||||
@ -295,6 +295,6 @@ cd $PKG_BUILD
|
||||
make externals
|
||||
make xbmc.bin
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
make xbmc-xrandr
|
||||
fi
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/xbmc
|
||||
cp $PKG_BUILD/xbmc.bin $INSTALL/usr/lib/xbmc
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
cp $PKG_BUILD/xbmc-xrandr $INSTALL/usr/lib/xbmc
|
||||
fi
|
||||
|
||||
|
@ -35,7 +35,7 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
# for libX11 support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXext"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libX11 libXext"
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
XBMC_XORG="--enable-x11 --enable-xrandr"
|
||||
else
|
||||
XBMC_XORG="--disable-x11 --disable-xrandr"
|
||||
@ -263,6 +263,6 @@ cd $PKG_BUILD
|
||||
make externals
|
||||
make xbmc.bin
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
make xbmc-xrandr
|
||||
fi
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/xbmc
|
||||
cp $PKG_BUILD/xbmc.bin $INSTALL/usr/lib/xbmc
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
cp $PKG_BUILD/xbmc-xrandr $INSTALL/usr/lib/xbmc
|
||||
fi
|
||||
|
||||
|
@ -39,7 +39,7 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
# for libX11 support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXext"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libX11 libXext"
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; 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"
|
||||
|
@ -35,7 +35,7 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
if [ "$DISPLAYSERVER" = "xorg-server" ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS libX11 libXrandr"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXrandr"
|
||||
fi
|
||||
|
@ -235,6 +235,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||
|
@ -234,6 +234,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon fglrx nvidia nouveau"
|
||||
|
@ -234,6 +234,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 nvidia nouveau"
|
||||
|
@ -234,6 +234,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 nvidia nouveau"
|
||||
|
@ -234,6 +234,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||
|
@ -234,6 +234,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||
|
@ -236,6 +236,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="none"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="no"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||
|
@ -234,6 +234,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||
|
@ -230,6 +230,9 @@
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware,virtualbox)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||
|
@ -108,7 +108,7 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
[ "$NETWORK" = "yes" ] && $SCRIPTS/install network
|
||||
|
||||
# Graphic support
|
||||
[ "$XORG_SUPPORT" = "yes" ] && $SCRIPTS/install xorg-server
|
||||
[ ! "$DISPLAYSERVER" = "no" ] && $SCRIPTS/install $DISPLAYSERVER
|
||||
|
||||
# Multimedia support
|
||||
[ ! "$MEDIACENTER" = "no" ] && $SCRIPTS/install mediacenter
|
||||
|
Loading…
x
Reference in New Issue
Block a user