summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2024-09-22 10:41:38 -0700
committerYixun Lan <dlan@gentoo.org>2024-09-24 13:21:19 +0800
commit564abe9939a008f73941bb24a475c96f611707ce (patch)
treeb5b88274e995da74c6b5d1805651c05901f39654 /app-doc/kicad-doc
parentsci-electronics/kicad-templates: add 8.0.5 (diff)
downloadgentoo-564abe9939a008f73941bb24a475c96f611707ce.tar.gz
gentoo-564abe9939a008f73941bb24a475c96f611707ce.tar.bz2
gentoo-564abe9939a008f73941bb24a475c96f611707ce.zip
app-doc/kicad-doc: add 8.0.5
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-doc/kicad-doc')
-rw-r--r--app-doc/kicad-doc/Manifest1
-rw-r--r--app-doc/kicad-doc/kicad-doc-8.0.5.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest
index 2686351c9434..7e7f934b6dc4 100644
--- a/app-doc/kicad-doc/Manifest
+++ b/app-doc/kicad-doc/Manifest
@@ -2,3 +2,4 @@ DIST kicad-doc-7.0.10.tar.bz2 107407186 BLAKE2B 5b55745beb57b713e646dbcfbbc5ee1a
DIST kicad-doc-7.0.11.tar.bz2 107407245 BLAKE2B 4746972ffa4b51ec465ad12e79699fb16fd0884c4e916d5d2a7c0655fcf39999abc0f90357bd202f0f8ece884034f8b076656e09390f8370107c2f8cf6353ae5 SHA512 a11bbfe4716da2922eb839800b2b4949c09cfe35834cabb66d6b3be299ce1ba4cece0e5082c12047591b18919dd590976c23e7542580a1abfd5917246163b6e3
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
diff --git a/app-doc/kicad-doc/kicad-doc-8.0.5.ebuild b/app-doc/kicad-doc/kicad-doc-8.0.5.ebuild
new file mode 100644
index 000000000000..64da42dd5988
--- /dev/null
+++ b/app-doc/kicad-doc/kicad-doc-8.0.5.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
+}