summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2014-10-12 19:28:51 +0000
committerZac Medico <zmedico@gentoo.org>2014-10-12 19:28:51 +0000
commit6618635aa277652aa0124dfa17013dd9bbfd8990 (patch)
treeb34ee0cfbbaad2bb0fa0073614f816ff71ef7ea6 /www-apps
parentAdd ~arm64 and ~m68k keywords (diff)
downloadgentoo-2-6618635aa277652aa0124dfa17013dd9bbfd8990.tar.gz
gentoo-2-6618635aa277652aa0124dfa17013dd9bbfd8990.tar.bz2
gentoo-2-6618635aa277652aa0124dfa17013dd9bbfd8990.zip
0.5 version bump, now installs /usr/share/novnc/utils/launch.sh.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xFDE8EF85AE5719A3)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/novnc/ChangeLog7
-rw-r--r--www-apps/novnc/novnc-0.5.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/www-apps/novnc/ChangeLog b/www-apps/novnc/ChangeLog
index 3d65532b1967..2469db7d9efe 100644
--- a/www-apps/novnc/ChangeLog
+++ b/www-apps/novnc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/novnc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/novnc/ChangeLog,v 1.6 2014/08/10 20:14:21 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/novnc/ChangeLog,v 1.7 2014/10/12 19:28:51 zmedico Exp $
+
+*novnc-0.5 (12 Oct 2014)
+
+ 12 Oct 2014; Zac Medico <zmedico@gentoo.org> +novnc-0.5.ebuild:
+ 0.5 version bump, now installs /usr/share/novnc/utils/launch.sh.
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> novnc-0.4.ebuild,
novnc-9999.ebuild:
diff --git a/www-apps/novnc/novnc-0.5.ebuild b/www-apps/novnc/novnc-0.5.ebuild
new file mode 100644
index 000000000000..a80d41b3a861
--- /dev/null
+++ b/www-apps/novnc/novnc-0.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/novnc/novnc-0.5.ebuild,v 1.1 2014/10/12 19:28:51 zmedico Exp $
+
+EAPI=5
+
+DESCRIPTION="noVNC is a VNC client implemented using HTML5 technologies"
+HOMEPAGE="http://kanaka.github.com/noVNC/"
+SRC_URI="https://github.com/kanaka/noVNC/archive/v${PV}.tar.gz"
+S="${WORKDIR}/noVNC-${PV}"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="nova"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ nova? ( dev-python/websockify
+ sys-cluster/nova
+ dev-python/matplotlib
+ dev-python/numpy )"
+
+src_prepare() {
+ # Use unbundled websockify.
+ sed 's:${HERE}/websockify:websockify:' -i utils/launch.sh || die
+}
+
+src_install() {
+ dodir /usr/share/novnc
+ insinto /usr/share/novnc
+ doins -r *.html images include
+ dodoc README.md
+ exeinto /usr/share/novnc/utils
+ doexe utils/launch.sh
+
+ if use nova; then
+ dobin utils/nova-novncproxy
+
+ newconfd "${FILESDIR}/noVNC.confd" nova-noVNC
+ newinitd "${FILESDIR}/noVNC.initd" nova-noVNC
+
+ diropts -m 0750
+ dodir /var/log/noVNC
+ fi
+}