summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-03-24 12:10:46 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2020-03-24 12:11:26 -0500
commitd3ef689b07ac07ce057fa958a5a429b98b3e92bb (patch)
treef7feb36b6be6b0851db2df0acd6cfc9d16df68c3 /www-apps/novnc
parentdev-python/websockify: 0.9.0 bump (diff)
downloadgentoo-d3ef689b07ac07ce057fa958a5a429b98b3e92bb.tar.gz
gentoo-d3ef689b07ac07ce057fa958a5a429b98b3e92bb.tar.bz2
gentoo-d3ef689b07ac07ce057fa958a5a429b98b3e92bb.zip
www-apps/novnc: fix install and create /usr/bin symlink
Closes: https://bugs.gentoo.org/714096 Closes: https://bugs.gentoo.org/714202 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'www-apps/novnc')
-rw-r--r--www-apps/novnc/novnc-1.1.0.ebuild2
-rw-r--r--www-apps/novnc/novnc-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/www-apps/novnc/novnc-1.1.0.ebuild b/www-apps/novnc/novnc-1.1.0.ebuild
index 130e5d594698..734f516e33b9 100644
--- a/www-apps/novnc/novnc-1.1.0.ebuild
+++ b/www-apps/novnc/novnc-1.1.0.ebuild
@@ -16,6 +16,7 @@ if [[ ${PV} == 9999 ]] ; then
else
SRC_URI="https://github.com/kanaka/noVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/noVNC-${PV}"
fi
LICENSE="LGPL-3"
@@ -42,4 +43,5 @@ src_install() {
insinto /usr/share/novnc
doins -r vnc.html vnc_lite.html app/ core/ vendor/
dosym vnc_lite.html /usr/share/novnc/vnc_auto.html # for compat
+ dosym ../share/novnc/utils/launch.sh /usr/bin/novnc
}
diff --git a/www-apps/novnc/novnc-9999.ebuild b/www-apps/novnc/novnc-9999.ebuild
index 130e5d594698..734f516e33b9 100644
--- a/www-apps/novnc/novnc-9999.ebuild
+++ b/www-apps/novnc/novnc-9999.ebuild
@@ -16,6 +16,7 @@ if [[ ${PV} == 9999 ]] ; then
else
SRC_URI="https://github.com/kanaka/noVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/noVNC-${PV}"
fi
LICENSE="LGPL-3"
@@ -42,4 +43,5 @@ src_install() {
insinto /usr/share/novnc
doins -r vnc.html vnc_lite.html app/ core/ vendor/
dosym vnc_lite.html /usr/share/novnc/vnc_auto.html # for compat
+ dosym ../share/novnc/utils/launch.sh /usr/bin/novnc
}