From 9f467320903ee26222cedcbf09b38013db290d9d Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 20 Apr 2019 01:45:49 +0200 Subject: [PATCH] Creating an Ubuntu Snap package to make noVNC easier to deploy. Note: the Snap is still a work in progress --- snap/snapcraft.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..73581a1a --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,26 @@ +name: novnc +base: core18 # the base snap is the execution environment for this snap +version: '1.1.0' +summary: Open Source VNC client using HTML5 (WebSockets, Canvas) +description: | + Open Source VNC client using HTML5 (WebSockets, Canvas). + noVNC is both a VNC client JavaScript library as well as an application built on top of that library. noVNC runs well in any modern browser including mobile browsers (iOS and Android). + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: devmode # use 'strict' once you have the right plugs and slots + +parts: + novnc: + source: https://github.com/novnc/noVNC/archive/v$SNAPCRAFT_PROJECT_VERSION.tar.gz + plugin: dump + websockify: + source: https://github.com/novnc/websockify + plugin: dump + source-type: git + build-packages: + - git +apps: + novnc: + command: utils/launch.sh + websockify: + command: utils/websockify/run