diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2022-06-05 21:45:02 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-10 08:51:48 +0100 |
commit | 362cdb205e96182f61e93a9f3755b308bd55ecea (patch) | |
tree | 59ec9788d8152ea2fe2dcd0b53f63fea36201ab1 /app-doc/kicad-doc | |
parent | sci-electronics/kicad-templates: add 6.0.5 (diff) | |
download | gentoo-362cdb205e96182f61e93a9f3755b308bd55ecea.tar.gz gentoo-362cdb205e96182f61e93a9f3755b308bd55ecea.tar.bz2 gentoo-362cdb205e96182f61e93a9f3755b308bd55ecea.zip |
app-doc/kicad-doc: add 6.0.5
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc/kicad-doc')
-rw-r--r-- | app-doc/kicad-doc/Manifest | 1 | ||||
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-6.0.5.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 1aec908fad0c..4b077aff2db4 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -1,2 +1,3 @@ DIST kicad-doc-5.1.12.tar.bz2 74217615 BLAKE2B f0906fdb0cf697348e06b63ef0003630a9035d47732c9a22ed3c4fee2f21c02f85fda51eee5149291b72326adc4899b31198178ee6e6ac0d494361cec6c06208 SHA512 db678d91ea5f564ca3f266829c297362cfd6cf35a5dced2ede5e7c9c38a37ca1037b264ee9314fa5c4a9d8197fcd92484ad4cae3668ea9741947d38c7ac7f910 DIST kicad-doc-6.0.4.tar.gz 78919464 BLAKE2B cd8d321c3ae854df4edf9346fb809be933e842c9fff1679a2ec195dbedaea1acb58857eee2dae52a8c94b2af082d911e664089b4df6a14dc839887c34dfb6fb4 SHA512 cc8934e6b765c325b1fabc616f0eee180f0d13386d0bd4d995910aa30e8111bf6c486cc26875bfd9316e07371b73e9b403b14efdc7b20ecdefabb47afe0e296d +DIST kicad-doc-6.0.5.tar.gz 79736553 BLAKE2B cd06e5110e10da76d6640aed0ea44f68bdb14e5aca10c35b34a5b87f8a7a44faa67353216aced053123fcbe80a5159839e9a115761e599824bce31fb56c863fe SHA512 c53c488de171232de44c7e07c6078ef5da0c56d5fc377e127f8a2b7d134528c991467d40a150237425b0b5a1c082eaa1ab5f17c5a8fd62a3e37482c1de795aac diff --git a/app-doc/kicad-doc/kicad-doc-6.0.5.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.5.ebuild new file mode 100644 index 000000000000..51164ea1dde5 --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-6.0.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Electronic Schematic and PCB design tools manuals" +HOMEPAGE="https://docs.kicad.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/kicad/services/kicad-doc.git" + inherit git-r3 + # x11-misc-util/macros only required on live ebuilds + LIVE_DEPEND=">=x11-misc/util-macros-1.18" +else + SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2" +SLOT="0" +# TODO: Change default back to +pdf once asciidoctor-pdf is packaged? +IUSE="+html pdf" + +LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl l10n_ru l10n_zh" +IUSE+=${LANG_USE} +REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )" +unset LANG_USE + +# TODO: need asciidoctor-pdf for pdf +# bug #697450 +BDEPEND=" + >=app-text/asciidoc-8.6.9 + >=app-text/dblatex-0.3.10 + >=app-text/po4a-0.45 + >=sys-devel/gettext-0.18 + dev-perl/Unicode-LineBreak + dev-util/source-highlight + l10n_ca? ( dev-texlive/texlive-langspanish ) + l10n_de? ( dev-texlive/texlive-langgerman ) + l10n_en? ( dev-texlive/texlive-langenglish ) + l10n_es? ( dev-texlive/texlive-langspanish ) + l10n_fr? ( dev-texlive/texlive-langfrench ) + l10n_it? ( dev-texlive/texlive-langitalian ) + l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic ) + l10n_pl? ( dev-texlive/texlive-langpolish ) + l10n_ru? ( dev-texlive/texlive-langcyrillic ) + l10n_zh? ( dev-texlive/texlive-langchinese )" + +src_configure() { + local mycmakeargs=( + # May not always work? + # https://gitlab.com/kicad/services/kicad-doc/-/issues/808 + -DADOC_TOOLCHAIN="ASCIIDOC" + # Note: need EAPI 8 usev here, not pre-EAPI 8 behaviour + -DBUILD_FORMATS="$(usev html);$(usev pdf)" + -DSINGLE_LANGUAGE="${L10N}" + -DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help + ) + cmake_src_configure +} |