summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-06-11 22:36:33 +0200
committerSam James <sam@gentoo.org>2024-06-11 21:42:57 +0100
commitfec6b024f80a29cef6b8f7e061bc1687d843a41f (patch)
treea3390c3f2e7f4bb4661c5edd3c3ab0a40769f820 /app-doc
parentsci-electronics/kicad-footprints: add 8.0.3 (diff)
downloadgentoo-fec6b024f80a29cef6b8f7e061bc1687d843a41f.tar.gz
gentoo-fec6b024f80a29cef6b8f7e061bc1687d843a41f.tar.bz2
gentoo-fec6b024f80a29cef6b8f7e061bc1687d843a41f.zip
app-doc/kicad-doc: add 8.0.3
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/kicad-doc/Manifest1
-rw-r--r--app-doc/kicad-doc/kicad-doc-8.0.3.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest
index 898b0d523d95..722d889486e4 100644
--- a/app-doc/kicad-doc/Manifest
+++ b/app-doc/kicad-doc/Manifest
@@ -4,3 +4,4 @@ DIST kicad-doc-7.0.7.tar.bz2 104103652 BLAKE2B f5ce0ccde126c062dd877ce8023b0c22e
DIST kicad-doc-8.0.0.tar.bz2 89704073 BLAKE2B 9f461e581eaeb712a30d13629a7f32dbf22bfb72a7745a2ac68dc0e4c6f6e5c6a01c36871e5c37b8738b7d40a4a91fc57f7a29d9bb255287876ba7d46690b895 SHA512 5bc2241a1030cba10ac25c09c237d32675d163789e2bdbfcf87c3d454fc7dadc08c4a73074bae3a4bb764d9ad30fde3a99f871aade92e37780ee64c4f131f01e
DIST kicad-doc-8.0.1.tar.bz2 89312279 BLAKE2B 0372d3163f9d206400f4484da969876965a20d96d43fa8d2b1803a7a985af81e5662d1b3d324f2666c5f61ea96c6ea2c9679f279dd168a4fd0533e2e6a05f6c8 SHA512 00a8fb6e2c444d9eccc1ab737ac509a785144e5ef7c8d4dd6183d272bf0aeabe01d309e052c745536c5b14ec9681ce429ce6d24a71804c44dd057f6bcd8d7833
DIST kicad-doc-8.0.2.tar.bz2 90957629 BLAKE2B 4672b478491288ed7508ff98d2f07e90d2322ce44b99eaab68f4378b6538a6c18ffd60b928d07af17ff7dfe5c1c26276c4ea4ce3ccb491d23fa812d9f343416a SHA512 1c1d5adf65844c84558d3efbb5b043caa5a2f18a9aac021f92cbbeae626848b4825e3b58f939a28f0484da36e81594170769ee55d9e9b2cfe2463ab8a2cc18df
+DIST kicad-doc-8.0.3.tar.bz2 90958460 BLAKE2B f378aa629c4235801434dc1a0c4d96a20fa8674fd5e21e8b68817b69031f340c03837c47168947b6aaf234962803f5f3ff095d3a586a3630b817c148c19b2695 SHA512 cba8b25b7163c3a6f61a63f601a65fc6c345bead671453bd5bc73cb72ed711840d79253fe09a4f7b2c6799297373cdc36a54a173f9e10a66f6f950408a58347c
diff --git a/app-doc/kicad-doc/kicad-doc-8.0.3.ebuild b/app-doc/kicad-doc/kicad-doc-8.0.3.ebuild
new file mode 100644
index 000000000000..64da42dd5988
--- /dev/null
+++ b/app-doc/kicad-doc/kicad-doc-8.0.3.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
+}