summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-27 01:16:09 +0000
committerSam James <sam@gentoo.org>2021-12-27 01:19:06 +0000
commit469197fae79659e03789e6c58e57597a9ecda82c (patch)
tree27341ec868947cf5c803e9617987fe417ca54b33 /app-doc/kicad-doc
parentsci-electronics/kicad: drop additional gone option (diff)
downloadgentoo-469197fae79659e03789e6c58e57597a9ecda82c.tar.gz
gentoo-469197fae79659e03789e6c58e57597a9ecda82c.tar.bz2
gentoo-469197fae79659e03789e6c58e57597a9ecda82c.zip
app-doc/kicad-doc: use asciidoc, use ${PF} for docs
- Use asciidoc for now (not clear if upstream will continue to allow it though) - ${PF} should work now with a corresponding change in kicad (https://gitlab.com/kicad/code/kicad/-/commit/c5e77e9739424837540469780cef3ffb66eadbf3) Bug: https://bugs.gentoo.org/827290 Bug: https://bugs.gentoo.org/830024 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc/kicad-doc')
-rw-r--r--app-doc/kicad-doc/kicad-doc-6.0.0-r1.ebuild (renamed from app-doc/kicad-doc/kicad-doc-6.0.0.ebuild)9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-doc/kicad-doc/kicad-doc-6.0.0.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.0-r1.ebuild
index 9bf5e27bb2a0..c77cb606301d 100644
--- a/app-doc/kicad-doc/kicad-doc-6.0.0.ebuild
+++ b/app-doc/kicad-doc/kicad-doc-6.0.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake
@@ -23,7 +23,7 @@ fi
LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
SLOT="0"
-# TODO: Change default back to +df once asciidoctor-pdf is packaged
+# TODO: Change default back to +df 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"
@@ -53,9 +53,12 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
+ # May not always work?
+ # https://gitlab.com/kicad/services/kicad-doc/-/issues/808
+ -DADOC_TOOLCHAIN="ASCIIDOC"
-DBUILD_FORMATS="$(usev html);$(usev pdf)"
-DSINGLE_LANGUAGE="${L10N}"
- -DKICAD_DOC_PATH="${EPREFIX}/usr/share/doc/${P}/help"
+ -DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF}/help
)
cmake_src_configure
}