commit:     3b7cf3fb7c7fd311948dcdc39a8048d6401b8201
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 21:51:33 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 21:51:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7cf3fb

www-apps/novnc: bup

Package-Manager: portage-2.2.28

 www-apps/novnc/Manifest           |  1 +
 www-apps/novnc/novnc-0.6.1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/www-apps/novnc/Manifest b/www-apps/novnc/Manifest
index 9ac3b73..59ef402 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 00000000..4b29ca3
--- /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
+}

Reply via email to