소스 검색

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 년 전
부모
커밋
ce50020414
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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",
   "sdk": "org.kde.Sdk",
   "command": "obs",
   "command": "obs",
   "finish-args": [
   "finish-args": [
+    "--socket=wayland",
     "--socket=x11",
     "--socket=x11",
     "--socket=pulseaudio",
     "--socket=pulseaudio",
     "--device=all",
     "--device=all",
@@ -228,6 +229,7 @@
       "builddir": true,
       "builddir": true,
       "config-opts": [
       "config-opts": [
         "-DCMAKE_BUILD_TYPE=Release",
         "-DCMAKE_BUILD_TYPE=Release",
+        "-DENABLE_WAYLAND=ON",
         "-DUNIX_STRUCTURE=ON",
         "-DUNIX_STRUCTURE=ON",
         "-DUSE_XDG=ON",
         "-DUSE_XDG=ON",
         "-DDISABLE_ALSA=ON",
         "-DDISABLE_ALSA=ON",