forked from libretro/Lakka-LibreELEC
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# OpenGL(X) implementation to use (mesa / no)
|
|
OPENGL="no"
|
|
|
|
# OpenGL-ES implementation to use (mesa / no)
|
|
OPENGLES="mesa"
|
|
|
|
# Vulkan implementation to use (vulkan-loader / no)
|
|
VULKAN="no"
|
|
|
|
# Displayserver to use (weston / x11 / no)
|
|
DISPLAYSERVER="no"
|
|
|
|
# Windowmanager to use (fluxbox / weston / no)
|
|
WINDOWMANAGER="no"
|
|
|
|
# KODI Player implementation to use (mesa / default)
|
|
KODIPLAYER_DRIVER="mesa"
|
|
|
|
# set the addon project
|
|
ADDON_PROJECT="Generic"
|
|
|
|
# Mesa 3D Graphic drivers to use (all / crocus,i915,iris,r300,r600,radeonsi,vmware,virtio)
|
|
# Space separated list is supported,
|
|
# e.g. GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi vmware virtio"
|
|
GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi vmware virtio"
|
|
|
|
# Overrides for Lakka
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
# Use OPENGL instead of OPENGLES
|
|
OPENGL="mesa"
|
|
OPENGLES="no"
|
|
|
|
# Enable VULKAN
|
|
if [ "${ARCH}" = "x86_64" ]; then
|
|
VULKAN="vulkan-loader"
|
|
fi
|
|
|
|
# Disable vmware and virtio drivers
|
|
GRAPHIC_DRIVERS="${GRAPHIC_DRIVERS//vmware/}"
|
|
GRAPHIC_DRIVERS="${GRAPHIC_DRIVERS//virtio/}"
|
|
|
|
# add nouveau driver
|
|
GRAPHIC_DRIVERS+=" nouveau"
|
|
fi
|