mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-18 13:14:34 +00:00
Fix: [Linux] install all X11 dependencies in linux-generic (#11787)
Without this, xrandr support is not compiled into SDL, which means that SDL will only see a single display spanning all your displays (a virtual desktop).
This commit is contained in:
parent
375074577f
commit
7fd2c2d44f
16
.github/workflows/release-linux.yml
vendored
16
.github/workflows/release-linux.yml
vendored
@ -119,6 +119,22 @@ jobs:
|
||||
# EOF
|
||||
echo "::endgroup::"
|
||||
|
||||
echo "::group::Install video drivers"
|
||||
# These video libs are to make sure the SDL version of vcpkg adds
|
||||
# video-support; these libraries are not added to the resulting
|
||||
# binary, but the headers are used to enable them in SDL.
|
||||
yum install -y \
|
||||
libX11-devel \
|
||||
libXcursor-devel \
|
||||
libXext-devel \
|
||||
libXfixes-devel \
|
||||
libXi-devel \
|
||||
libxkbcommon-devel \
|
||||
libXrandr-devel \
|
||||
libXScrnSaver-devel \
|
||||
# EOF
|
||||
echo "::endgroup::"
|
||||
|
||||
# We use vcpkg for our dependencies, to get more up-to-date version.
|
||||
echo "::group::Install vcpkg and dependencies"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user