diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 804c0fcc42..419f1cb442 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -11,6 +11,9 @@ license: GPL-2.0 apps: barrier: 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 common-id: com.github.debauchee.barrier plugs: &plugs @@ -45,6 +48,7 @@ parts: - "-DCMAKE_INSTALL_PREFIX=/usr" - "-DCMAKE_BUILD_TYPE=Release" build-packages: + - build-essential - xorg-dev - libcurl4-openssl-dev - libavahi-compat-libdnssd-dev