noVNC/snap/snapcraft.yaml
Pierre Ossman 499eee4d06 Include current websockify in noVNC snap
The one from the system is too old to support current versions of noVNC,
so we need to bundle our own.
2020-10-08 16:55:12 +02:00

40 lines
1018 B
YAML

name: novnc
base: core18 # the base snap is the execution environment for this snap
version: '@VERSION@'
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: build/
plugin: dump
stage-packages:
- bash
- jq
websockify:
source: https://github.com/novnc/websockify/archive/v0.9.0.tar.gz
plugin: python
stage-packages:
- python3-numpy
hooks:
configure:
plugs: [network, network-bind]
apps:
novnc:
command: ./launch.sh
plugs: [network, network-bind]
novncsvc:
command: ./svc_wrapper.sh
daemon: forking
plugs: [network, network-bind]