# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 RUST_MIN_VER="1.85.0" CRATES=" " inherit cargo DESCRIPTION="Peer-to-peer editor-agnostic collaborative editing of local files" HOMEPAGE=" https://teamtype.github.io/teamtype/ https://github.com/teamtype/teamtype " SRC_URI=" https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://herbizarre.swordarmor.fr/garbage/${P}-crates.tar.xz " LICENSE="AGPL-3+" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 EUPL-1.2 GPL-3 ISC MIT MPL-2.0 Unicode-3.0 Unlicense ZLIB " SLOT="0" KEYWORDS="~amd64" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="" src_compile() { pushd daemon || die cargo_src_compile popd || die } src_install() { cargo_src_install --path ./daemon insinto /usr/share/"${PN}" doins -r {nvim-plugin,vscode-plugin} }