From 7fd2c2d44f14914fc928342d7e29fd1f04902bc6 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Mon, 15 Jan 2024 21:59:19 +0100 Subject: [PATCH] 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). --- .github/workflows/release-linux.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml index 3205a50d7ac98..40b759033f7ab 100644 --- a/.github/workflows/release-linux.yml +++ b/.github/workflows/release-linux.yml @@ -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"