diff --git a/www-apps/novnc/Manifest b/www-apps/novnc/Manifest index 23e34fbc15c5a..32f2480ee7e9c 100644 --- a/www-apps/novnc/Manifest +++ b/www-apps/novnc/Manifest @@ -1 +1,2 @@ DIST novnc-1.4.0.tar.gz 700906 BLAKE2B cfea341302be20319b04c470531f37c638ebde201132c49b37f0526b5fe3b670aa5cff1a232f51416f686a0f96c09fba4bfad86a0809c2fda69701500fed016a SHA512 b42b0e8c3947dba9a9ba8518bbeb218e77c9d36302c1161f168351ef971c76f3a25e0d136d44e5aa0c6d934290e7d8f23961519e64ca9bdb1eeed8d416aecee3 +DIST novnc-1.6.0.tar.gz 724137 BLAKE2B c65bcf5716b795a124ccedb2e2b4812d3abacf4e7bd8391e3001ad03551460931cc2bb7f56ac1126c38f617f03653b3fd26d0df9dd759604cdc0b45478c6747f SHA512 dcc97e758bb13c4554830c6458e4471dc7b02b2f057b66e6a5352b4ce2251a0d4cdca064d7fcd7511c18e40bfd41a1d6d58c6a7ed6bf68eaa21d37f61f51f015 diff --git a/www-apps/novnc/novnc-1.6.0.ebuild b/www-apps/novnc/novnc-1.6.0.ebuild new file mode 100644 index 0000000000000..6abcaaea85681 --- /dev/null +++ b/www-apps/novnc/novnc-1.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{9..14} ) +inherit distutils-r1 + +DESCRIPTION="noVNC is a VNC client implemented using HTML5 technologies" +HOMEPAGE="https://novnc.com/info.html" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/novnc/noVNC" +else + SRC_URI="https://github.com/novnc/noVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + S="${WORKDIR}/noVNC-${PV}" +fi + +LICENSE="LGPL-3" +SLOT="0" + +RDEPEND=" + dev-python/websockify[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}]" + +python_compile() { + : +} + +src_install() { + exeinto /usr/share/novnc/utils + for f in utils/*; do + [[ ! f = utils/README.md ]] && doexe $f + done + + dodoc README.md LICENSE.txt + + 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/novnc_proxy /usr/bin/novnc +} diff --git a/www-apps/novnc/novnc-9999.ebuild b/www-apps/novnc/novnc-9999.ebuild index 2c525881d3b2a..6abcaaea85681 100644 --- a/www-apps/novnc/novnc-9999.ebuild +++ b/www-apps/novnc/novnc-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{9..13} ) +PYTHON_COMPAT=( python3_{9..14} ) inherit distutils-r1 DESCRIPTION="noVNC is a VNC client implemented using HTML5 technologies"