# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.17.2 EAPI=8 CRATES=" " inherit cargo DESCRIPTION="A modernized, complete, embeddable TeX/LaTeX engine" HOMEPAGE="https://tectonic-typesetting.github.io/ https://github.com/tectonic-typesetting/tectonic/" SRC_URI=" https://github.com/tectonic-typesetting/tectonic/archive/refs/tags/tectonic@${PV}.tar.gz -> ${P}.tar.gz https://github.com/yamader/gentoo-deps/releases/download/${P}/${P}-crates.tar.xz ${CARGO_CRATE_URIS} " S="${WORKDIR}/${PN}-${P}" LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB " SLOT="0" KEYWORDS="~amd64" DEPEND=" dev-libs/icu:= dev-libs/openssl:= media-gfx/graphite2 media-libs/fontconfig media-libs/freetype media-libs/harfbuzz:= media-libs/libpng:= virtual/zlib:= " RDEPEND="${DEPEND}" BDEPEND="media-libs/harfbuzz" DOCS=( CHANGELOG.md README.md ) # rust does not use *FLAGS from make.conf, silence portage warning # update with proper path to binaries this crate installs, omit leading / QA_FLAGS_IGNORED="usr/bin/${PN}" src_configure() { local myfeatures=( external-harfbuzz ) cargo_src_configure } src_test() { local CARGO_SKIP_TESTS=( # tests that require network access tests::no_segfault_after_failed_compilation ) cargo_src_test }