diff options
author | Quincy Fleming <quincyf467@protonmail.com> | 2024-11-07 04:02:53 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-07 11:58:35 +0000 |
commit | 39b223cf327b8f084335d05c8c1e2ea6dd95bf14 (patch) | |
tree | 3fa4fbd833f64e1341001b7e3bf0a4d8c1b60b7f /app-doc | |
parent | sci-electronics/kicad-templates: add 8.0.6 (diff) | |
download | gentoo-39b223cf327b8f084335d05c8c1e2ea6dd95bf14.tar.gz gentoo-39b223cf327b8f084335d05c8c1e2ea6dd95bf14.tar.bz2 gentoo-39b223cf327b8f084335d05c8c1e2ea6dd95bf14.zip |
app-doc/kicad-doc: add 8.0.6
Bug: https://bugs.gentoo.org/942744
Bug: https://bugs.gentoo.org/942058
Bug: https://bugs.gentoo.org/940042
Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/kicad-doc/Manifest | 1 | ||||
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-8.0.6.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 7e7f934b6dc4..fc6ca59e06f3 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -3,3 +3,4 @@ DIST kicad-doc-7.0.11.tar.bz2 107407245 BLAKE2B 4746972ffa4b51ec465ad12e79699fb1 DIST kicad-doc-8.0.3.tar.bz2 90958460 BLAKE2B f378aa629c4235801434dc1a0c4d96a20fa8674fd5e21e8b68817b69031f340c03837c47168947b6aaf234962803f5f3ff095d3a586a3630b817c148c19b2695 SHA512 cba8b25b7163c3a6f61a63f601a65fc6c345bead671453bd5bc73cb72ed711840d79253fe09a4f7b2c6799297373cdc36a54a173f9e10a66f6f950408a58347c DIST kicad-doc-8.0.4.tar.bz2 91098101 BLAKE2B 26f971e1766780f2213c234683a2e9c99df6b80ff21b34039b26fc6618d5d3c0ab3b75adb63afb578cb763aad403ef4b0cabb14628622f28336046fe49d28685 SHA512 9998e6a7c9d4511803454f5d6f509c447250dcbc64b49164d75d6000eabce7d5870b30ee487f0faaf44e0f4fea6ced9bc678902191116949b696d7de73a23add DIST kicad-doc-8.0.5.tar.bz2 91103687 BLAKE2B 7e77e2eac1023a80a418e984274b8c85039e9bd46831e448cc8b302d3476f8006132913db787c19685295bbd8d2db882f24b1945271b4dc228f4bb23559ae0f2 SHA512 4cff7cfe3d33c7e9004a135bfc78411c3fa42293f381ed54922c0c134b3a414f4d2276de12087d97c1450f7a22860af5c8e905481c9fe468aa4869525853dea7 +DIST kicad-doc-8.0.6.tar.bz2 91611794 BLAKE2B ba0a32df4f81241532048470649bd32b356bf1bef07d471f771fdd118995382d9651f357cc4c283130c44ad7e5c8186013fc624cea740abe48fea6e5c3c25742 SHA512 62963300df4480401d439920fcd95c72877c77812dabd62f7803d28fba58d46efd2cfc912fc10acd1811303f683883f30d272dee3dd5edf862c6b633acd0fc04 diff --git a/app-doc/kicad-doc/kicad-doc-8.0.6.ebuild b/app-doc/kicad-doc/kicad-doc-8.0.6.ebuild new file mode 100644 index 000000000000..64da42dd5988 --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-8.0.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 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.bz2" + 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=" + >=dev-ruby/asciidoctor-2.0.12 + >=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=( + -DPDF_GENERATOR="DBLATEX" + -DBUILD_FORMATS="$(usev html);$(usev pdf)" + -DSINGLE_LANGUAGE="${L10N}" + -DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help + ) + cmake_src_configure +} |