Files
noVNC/snap/snapcraft.yaml
Tim Edwards e1d50c8c10 Added a Snap package for noVNC (#1231)
Creating an Ubuntu Snap package to make noVNC easier to deploy.

Checks for the websockify binary in both the PATH (using which) and in the location where the Snap package places the binary. This is necessary for noVNC to be usable in a Snap. It doesn't affect the original functionality of git cloning websockify if it's not found in PATH or the Snap location.
2019-07-25 22:22:48 +02:00

35 lines
1.0 KiB
YAML

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: stable
confinement: strict
parts:
novnc:
source: https://github.com/novnc/noVNC.git #https://github.com/novnc/noVNC/archive/v$SNAPCRAFT_PROJECT_VERSION.tar.gz
plugin: dump
stage-packages:
- websockify
- bash
- jq
- python-numpy
- python3-numpy
hooks:
configure:
plugs: [network, network-bind]
apps:
novnc:
command: utils/launch.sh
plugs: [network, network-bind]
novncsvc:
command: utils/svc_wrapper.sh
daemon: forking
plugs: [network, network-bind]