Merge pull request #553 from maxiberta/disable-wayland

Disable wayland support in the snap
This commit is contained in:
Adrian Lucrèce Céleste 2020-02-13 09:20:32 -05:00 committed by GitHub
commit e5999f01a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,9 @@ license: GPL-2.0
apps: apps:
barrier: barrier:
command: desktop-launch barrier #first run might take longer command: desktop-launch barrier #first run might take longer
environment:
# Fallback to XWayland if running in a Wayland session.
DISABLE_WAYLAND: 1
desktop: usr/share/applications/barrier.desktop desktop: usr/share/applications/barrier.desktop
common-id: com.github.debauchee.barrier common-id: com.github.debauchee.barrier
plugs: &plugs plugs: &plugs
@ -45,6 +48,7 @@ parts:
- "-DCMAKE_INSTALL_PREFIX=/usr" - "-DCMAKE_INSTALL_PREFIX=/usr"
- "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_BUILD_TYPE=Release"
build-packages: build-packages:
- build-essential
- xorg-dev - xorg-dev
- libcurl4-openssl-dev - libcurl4-openssl-dev
- libavahi-compat-libdnssd-dev - libavahi-compat-libdnssd-dev