mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
projects/*/options: rework OPENGL and DISPLAYSERVER options, add OPENGLES option
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1293554302
commit
42fd79f137
@ -1,3 +1,17 @@
|
||||
if [ "$OPENGL" = no ]; then
|
||||
OPENGL_SUPPORT="no"
|
||||
XORG_SUPPORT="no"
|
||||
else
|
||||
OPENGL_SUPPORT="yes"
|
||||
XORG_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if [ "$OPENGLES" = no ]; then
|
||||
OPENGLES_SUPPORT="no"
|
||||
else
|
||||
OPENGLES_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
get_graphicdrivers() {
|
||||
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx nvidia vmware"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="nouveau"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="fglrx"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="fglrx i915 i965 nvidia vmware"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nouveau vmware"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="nvidia"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="i915 i965"
|
||||
|
@ -213,16 +213,16 @@
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# Displayserver to use (xorg-server / no)
|
||||
DISPLAYSERVER="xorg-server"
|
||||
# OpenGL(X) implementation to use (no / Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (no)
|
||||
OPENGLES="no"
|
||||
|
||||
# Windowmanager to use (ratpoison / none)
|
||||
WINDOWMANAGER="ratpoison"
|
||||
|
||||
# GL/GLES implementation to use (Mesa)
|
||||
OPENGL="Mesa"
|
||||
|
||||
# Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
|
||||
# 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"
|
||||
GRAPHIC_DRIVERS="nvidia"
|
||||
|
@ -111,7 +111,7 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
[ "$NETWORK" = "yes" ] && $SCRIPTS/install network
|
||||
|
||||
# Graphic support
|
||||
[ ! "$DISPLAYSERVER" = "no" ] && $SCRIPTS/install $DISPLAYSERVER
|
||||
[ "$XORG_SUPPORT" = "yes" ] && $SCRIPTS/install xorg-server
|
||||
|
||||
# Multimedia support
|
||||
[ ! "$MEDIACENTER" = "no" ] && $SCRIPTS/install mediacenter
|
||||
|
Loading…
x
Reference in New Issue
Block a user