0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-16 11:28:49 +00:00
2023-01-19 13:31:32 +01:00

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