Install this version:
emerge -a =www-apps/xpra-html5-20
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =www-apps/xpra-html5-20
Or alternatively:
emerge --autounmask-write -a =www-apps/xpra-html5-20
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
inherit python-any-r1
DESCRIPTION="HTML5 client to connect to any xpra server"
HOMEPAGE="https://xpra.org/"
SRC_URI="https://github.com/Xpra-org/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="brotli +gzip minify"
BDEPEND="
${PYTHON_DEPS}
brotli? ( app-arch/brotli )
minify? ( dev-util/uglifyjs )
"
src_configure() {
cat <<EOF > vcs-info || die
BRANCH=gentoo
REVISION=${PR#r}
LOCAL_MODIFICATIONS=0
EOF
}
src_install() {
"${PYTHON}" <<EOF || die
import setup
setup.set_version("${PV}")
setup.install_html5(
root="${D}",
install_dir="${EPREFIX}/usr/share/xpra/www/",
config_dir="${EPREFIX}/etc/xpra/html5-client",
minifier="$(usex minify uglifyjs copy)",
gzip=$(usex gzip True False),
brotli=$(usex brotli True False),
)
EOF
}
Manage flags for this package:
euse -i <flag> -p www-apps/xpra-html5 |
euse -E <flag> -p www-apps/xpra-html5 |
euse -D <flag> -p www-apps/xpra-html5
brotli? ( app-arch/brotli ) minify? ( dev-util/uglifyjs )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | xpra-html5-20.tar.gz | 2396032 bytes | https://github.com/Xpra-org/xpra-html5/archive/refs/tags/v20.tar.gz |