diff options
Diffstat (limited to 'meta-openstack/recipes-extended')
-rw-r--r-- | meta-openstack/recipes-extended/novnc/novnc_git.bb | 51 |
1 files changed, 16 insertions, 35 deletions
diff --git a/meta-openstack/recipes-extended/novnc/novnc_git.bb b/meta-openstack/recipes-extended/novnc/novnc_git.bb index 7099d85..53a7056 100644 --- a/meta-openstack/recipes-extended/novnc/novnc_git.bb +++ b/meta-openstack/recipes-extended/novnc/novnc_git.bb | |||
@@ -1,52 +1,33 @@ | |||
1 | DESCRIPTION = "HTML5 VNC client" | 1 | DESCRIPTION = "HTML5 VNC client" |
2 | HOMEPAGE = "https://github.com/kanaka/noVNC" | 2 | HOMEPAGE = "https://github.com/kanaka/noVNC" |
3 | SECTION = "web" | 3 | SECTION = "web" |
4 | |||
5 | PR = "r0" | ||
6 | |||
7 | LICENSE = "MPL-2.0" | 4 | LICENSE = "MPL-2.0" |
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ac06308a999996ffc2d24d81b3a39f1b" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b428e7772bf00c07fb7b863b80358adf" |
9 | 6 | ||
10 | SRCREV = "8f12ca7a5a64144fe548cada332d5d19ef26a1fe" | 7 | SRCREV = "9142f8f0f7b4a53447f5cfec3a797cbf0d6204a9" |
11 | PV = "0.4+git${SRCPV}" | 8 | PV = "1.2.0+git${SRCPV}" |
12 | 9 | ||
13 | SRC_URI = "git://github.com/kanaka/noVNC.git" | 10 | SRC_URI = "git://github.com/kanaka/noVNC.git" |
14 | 11 | ||
15 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
16 | 13 | ||
17 | RDEPENDS_${PN} += "python-numpy" | ||
18 | RDEPENDS_${PN} += "python-novnc" | ||
19 | RDEPENDS_${PN} += "python-websockify" | ||
20 | |||
21 | do_compile() { | 14 | do_compile() { |
22 | : | 15 | : |
23 | } | 16 | } |
24 | 17 | ||
18 | RDEPENDS_${PN} += " \ | ||
19 | bash \ | ||
20 | " | ||
21 | |||
25 | do_install() { | 22 | do_install() { |
26 | install -m 755 -d ${D}${bindir}/novnc | 23 | install -m 755 -d ${D}${datadir}/novnc |
27 | install -m 755 -d ${D}${datadir}/novnc/include | 24 | |
28 | 25 | cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/novnc | |
29 | install -m 644 ${S}/vnc.html ${D}${datadir}/novnc | 26 | |
30 | install -m 644 ${S}/vnc_auto.html ${D}${datadir}/novnc | 27 | install -m 444 ${S}/vnc.html ${D}${datadir}/novnc/index.html |
31 | install -m 644 ${S}/images/favicon.ico ${D}${datadir}/novnc | 28 | install -m 444 ${S}/vnc_lite.html ${D}${datadir}/novnc/vnc_auto.html |
32 | install -m 644 ${S}/include/base64.js ${D}${datadir}/novnc/include | 29 | |
33 | install -m 644 ${S}/include/des.js ${D}${datadir}/novnc/include | 30 | install -m 755 -d ${D}${bindir} |
34 | install -m 644 ${S}/include/display.js ${D}${datadir}/novnc/include | 31 | install -m 644 ${S}/utils/launch.sh ${D}${bindir}/novnc_server |
35 | install -m 644 ${S}/include/input.js ${D}${datadir}/novnc/include | ||
36 | install -m 644 ${S}/include/logo.js ${D}${datadir}/novnc/include | ||
37 | install -m 644 ${S}/include/base.css ${D}${datadir}/novnc/include | ||
38 | install -m 644 ${S}/include/blue.css ${D}${datadir}/novnc/include | ||
39 | install -m 644 ${S}/include/black.css ${D}${datadir}/novnc/include | ||
40 | install -m 644 ${S}/include/playback.js ${D}${datadir}/novnc/include | ||
41 | install -m 644 ${S}/include/rfb.js ${D}${datadir}/novnc/include | ||
42 | install -m 644 ${S}/include/ui.js ${D}${datadir}/novnc/include | ||
43 | install -m 644 ${S}/include/util.js ${D}${datadir}/novnc/include | ||
44 | install -m 644 ${S}/include/websock.js ${D}${datadir}/novnc/include | ||
45 | install -m 644 ${S}/include/webutil.js ${D}${datadir}/novnc/include | ||
46 | install -m 644 ${S}/include/jsunzip.js ${D}${datadir}/novnc/include | ||
47 | |||
48 | sed -i -e 's:#!/usr/bin/env bash:#!/bin/sh:' ${S}/utils/launch.sh | ||
49 | |||
50 | install -m 755 ${S}/utils/launch.sh ${D}${bindir}/novnc-launch.sh | ||
51 | } | 32 | } |
52 | 33 | ||