Changed Snap package to pull in Websockify directly from Github (https://github.com/novnc/websockify.git) instead of relying on the Ubuntu package which is now outdated. Also changed the version to make it clearer this is pulling directly from git
This commit is contained in:
parent
e1d50c8c10
commit
be129ca391
|
|
@ -1,6 +1,6 @@
|
||||||
name: novnc
|
name: novnc
|
||||||
base: core18 # the base snap is the execution environment for this snap
|
base: core18 # the base snap is the execution environment for this snap
|
||||||
version: '1.1.0'
|
version: 'latest-20190813'
|
||||||
summary: Open Source VNC client using HTML5 (WebSockets, Canvas)
|
summary: Open Source VNC client using HTML5 (WebSockets, Canvas)
|
||||||
description: |
|
description: |
|
||||||
Open Source VNC client using HTML5 (WebSockets, Canvas).
|
Open Source VNC client using HTML5 (WebSockets, Canvas).
|
||||||
|
|
@ -10,11 +10,20 @@ grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
|
websockify:
|
||||||
|
source: https://github.com/novnc/websockify.git
|
||||||
|
plugin: dump
|
||||||
|
organize:
|
||||||
|
websockify/: utils/websockify/websockify/
|
||||||
|
run: utils/websockify/
|
||||||
|
# Avoid file name conflicts by not staging files from websockify that have the same names as those in novnc (docs/unimportant files only)
|
||||||
|
stage:
|
||||||
|
- -README.md
|
||||||
|
- -docs/notes
|
||||||
novnc:
|
novnc:
|
||||||
source: https://github.com/novnc/noVNC.git #https://github.com/novnc/noVNC/archive/v$SNAPCRAFT_PROJECT_VERSION.tar.gz
|
source: https://github.com/novnc/noVNC.git #https://github.com/novnc/noVNC/archive/v$SNAPCRAFT_PROJECT_VERSION.tar.gz
|
||||||
plugin: dump
|
plugin: dump
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- websockify
|
|
||||||
- bash
|
- bash
|
||||||
- jq
|
- jq
|
||||||
- python-numpy
|
- python-numpy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue