6d25d7f617f2edf6ece2df010df2b40c4f115b74
Currently, this only sets Firefox to run in Wayland mode, but in the future it might be used to make e.g. SDL applications run in Wayland mode. SDL applications are not set to run in Wayland mode right no as SDL 1.2 uses the same environment variable as SDL 2.0 for controlling video driver (SDL_VIDEODRIVER) and SDL 1.2 does not support Wayland and crashes if an invalid value is provided for SDL_VIDEODRIVER, and as such setting SDL_VIDEODRIVER=wayland globally would break all SDL 1.2 applications. This will however be fixed once SDL 1.2 is replaced by sdl12-compat in Alpine, as sdl12-compat implements the SDL 1.2 API and ABI via SDL 2.0 and as such supports Wayland. As such, once this happens we can start setting SDL_VIDEODRIVER=wayland. [ci:skip-build] already built successfully in CI
postmarketOS aports
Helpful resources:
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%