Browse Source

flatpak: Enable Wayland

Expose the Wayland socket to the sandbox, and enable Wayland at build
time using the new ENABLE_WAYLAND define for CMake.
Georges Basile Stavracas Neto 4 years ago
parent
commit
ce50020414
1 changed files with 2 additions and 0 deletions
  1. 2 0
      CI/flatpak/com.obsproject.Studio.json

+ 2 - 0
CI/flatpak/com.obsproject.Studio.json

@@ -5,6 +5,7 @@
   "sdk": "org.kde.Sdk",
   "command": "obs",
   "finish-args": [
+    "--socket=wayland",
     "--socket=x11",
     "--socket=pulseaudio",
     "--device=all",
@@ -228,6 +229,7 @@
       "builddir": true,
       "config-opts": [
         "-DCMAKE_BUILD_TYPE=Release",
+        "-DENABLE_WAYLAND=ON",
         "-DUNIX_STRUCTURE=ON",
         "-DUSE_XDG=ON",
         "-DDISABLE_ALSA=ON",