mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
The menu modifications are used: - add index.md file (with url fixes) from cantera-website project; - fix 'Cantera' (logo) url to navigate to local index.html; - remove choose version menu box; - add embeded MathJax-3.2.2 for offline equations rendering for Sphinx and Doxygen documentation; - add embeded Git_Logo.png and Groups_Logo.png from cantera-website; - 'Community' url leads to https://cantera.org/community.html ; - add upstream fix for continuity equation (see also https://groups.google.com/g/cantera-users/c/cpZWgLEXyNQ ) Non-modified pre-build online documentation is available on https://cantera.org or on api-docs repository https://github.com/Cantera/api-docs/tree/main/3.2 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Part-of: https://github.com/gentoo/gentoo/pull/44789 Closes: https://github.com/gentoo/gentoo/pull/44789 Signed-off-by: Sam James <sam@gentoo.org>
26 lines
748 B
Bash
26 lines
748 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit xdg
|
|
|
|
DESCRIPTION="Documentation API reference for Cantera package libraries"
|
|
HOMEPAGE="https://cantera.org"
|
|
# Non-modified pre-build online documentation is available on https://cantera.org
|
|
# or on api-docs repository https://github.com/Cantera/api-docs/tree/main/3.2
|
|
SRC_URI="https://github.com/band-a-prend/gentoo-overlay/releases/download/ct-docs-${PV}/${P}.tar.xz"
|
|
|
|
S="${WORKDIR}/"
|
|
|
|
## MIT license is for doxygen-awesome-css
|
|
## Apache-2.0 license is for MathJax (for offline equations rendering)
|
|
LICENSE="BSD MIT Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~riscv ~x86"
|
|
|
|
src_install() {
|
|
insinto /usr/share/
|
|
doins -r "${S}/."
|
|
}
|