mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #7075 from knaerzche/wayland
Enable wayland build for all projects and devices
This commit is contained in:
commit
c253839275
@ -50,6 +50,7 @@ configure_package() {
|
|||||||
-DAPP_RENDER_SYSTEM=gl"
|
-DAPP_RENDER_SYSTEM=gl"
|
||||||
elif [ "${DISPLAYSERVER}" = "wl" ]; then
|
elif [ "${DISPLAYSERVER}" = "wl" ]; then
|
||||||
PKG_DEPENDS_TARGET+=" wayland waylandpp"
|
PKG_DEPENDS_TARGET+=" wayland waylandpp"
|
||||||
|
PKG_PATCH_DIRS+=" wayland"
|
||||||
CFLAGS+=" -DEGL_NO_X11"
|
CFLAGS+=" -DEGL_NO_X11"
|
||||||
CXXFLAGS+=" -DEGL_NO_X11"
|
CXXFLAGS+=" -DEGL_NO_X11"
|
||||||
KODI_PLATFORM="-DCORE_PLATFORM_NAME=wayland \
|
KODI_PLATFORM="-DCORE_PLATFORM_NAME=wayland \
|
||||||
|
@ -10,5 +10,8 @@ if [ ! -z "$(lsmod | grep 'nvidia')" ]; then
|
|||||||
SWAY_GPU_ARGS="--unsupported-gpu"
|
SWAY_GPU_ARGS="--unsupported-gpu"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# start sway, even if no input devices are connected
|
||||||
|
export WLR_LIBINPUT_NO_DEVICES=1
|
||||||
|
|
||||||
logger -t Sway "### Starting Sway with -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS}"
|
logger -t Sway "### Starting Sway with -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS}"
|
||||||
/usr/bin/sway -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS} > ${SWAY_LOG_FILE} 2>&1
|
/usr/bin/sway -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS} > ${SWAY_LOG_FILE} 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user