summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-09-06 16:51:33 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-09-06 16:51:33 -0500
commit3b7cf3fb7c7fd311948dcdc39a8048d6401b8201 (patch)
treeae691d25d416d0df814d02b540723dd0025e0e96 /www-apps
parentdev-python/pydl: initial import (diff)
downloadgentoo-3b7cf3fb7c7fd311948dcdc39a8048d6401b8201.tar.gz
gentoo-3b7cf3fb7c7fd311948dcdc39a8048d6401b8201.tar.bz2
gentoo-3b7cf3fb7c7fd311948dcdc39a8048d6401b8201.zip
www-apps/novnc: bup
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/novnc/Manifest1
-rw-r--r--www-apps/novnc/novnc-0.6.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/novnc/Manifest b/www-apps/novnc/Manifest
index 9ac3b73c84a1..59ef40240c16 100644
--- a/www-apps/novnc/Manifest
+++ b/www-apps/novnc/Manifest
@@ -1 +1,2 @@
DIST novnc-0.5.tar.gz 775617 SHA256 6d702a628c85384118d85d51225770a78dd62d805229f56e42b92798c87baa31 SHA512 babc8e3996a952c82794a135e71217b92d9bc77850f4da4b1664f54da03d8a40eb708a86af8bcfb97261cb843c79b91a9040e4607388d51c201f16ef24786ed6 WHIRLPOOL 614aded12ab783968b2ee3a4ff5bb54278d9bc4529139b223f3c9f2f1201493c6f450835d55b416f8b6f8b2193cc126c60bf60578aa1add82f2b341f98443d67
+DIST novnc-0.6.1.tar.gz 600681 SHA256 a8cb87a14e38f88a4db604bafc836e809672548086e971fb734862dc9f1bd1cc SHA512 9ea62effd44166553ff93c80bb070df91f70efded922ef43425d3485ed798b7f3b17005c8832c3d0d32ac9c8b095cc4f235fea153ad88055565d8f904ef50e93 WHIRLPOOL 4e1cd767592aeff491a42e9c93784c2db3a319af77b7c6005adc19610fd762c48ed11c3c8adb7ad796daf6965405b95cd187178cf527e21214139a35bd7bdd01
diff --git a/www-apps/novnc/novnc-0.6.1.ebuild b/www-apps/novnc/novnc-0.6.1.ebuild
new file mode 100644
index 000000000000..4b29ca393af7
--- /dev/null
+++ b/www-apps/novnc/novnc-0.6.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_4 )
+
+inherit distutils-r1
+
+DESCRIPTION="noVNC is a VNC client implemented using HTML5 technologies"
+HOMEPAGE="https://kanaka.github.com/noVNC/"
+SRC_URI="https://github.com/kanaka/noVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/noVNC-${PV}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/websockify[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+
+python_compile() {
+ echo
+}
+
+src_install() {
+ dodir /usr/share/novnc/utils
+ dodir /usr/share/novnc/include
+ dodir /usr/share/novnc/images
+
+ exeinto /usr/share/novnc/utils
+ doexe utils/b64-to-binary.pl
+ doexe utils/img2js.py
+ doexe utils/inflator.partial.js
+ doexe utils/json2graph.py
+ doexe utils/launch.sh
+ doexe utils/parse.js
+ doexe utils/u2x11
+
+ docinto /usr/share/novnc/docs
+ dodoc README.md
+ dodoc LICENSE.txt
+
+ cp -pPR *.html "${D}/usr/share/novnc/"
+ cp -pPR include/* "${D}/usr/share/novnc/include/"
+ cp -pPR images/* "${D}/usr/share/novnc/images/"
+ dosym /usr/share/novnc/images/favicon.ico /usr/share/novnc/
+
+ newconfd "${FILESDIR}/noVNC.confd" noVNC
+ newinitd "${FILESDIR}/noVNC.initd" noVNC
+}