flatpak: Enable Wayland

Expose the Wayland socket to the sandbox, and enable Wayland at build
time using the new ENABLE_WAYLAND define for CMake.
This commit is contained in:
Georges Basile Stavracas Neto
2021-02-14 12:36:23 +11:00
committed by Matt Gajownik
parent 01c00cf271
commit ce50020414
+2
View File
@@ -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",