summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonRB <jon.roadleybattin@gmail.com>2021-11-22 16:05:14 -0500
committerSam James <sam@gentoo.org>2021-11-23 17:15:46 +0000
commitcbb18382504c36e4aa767a71999cf6cbf49205f9 (patch)
tree49d1d0a2d5f8a984ceb0f43bd247c57822b38f7c /app-doc/kicad-doc
parentsci-electronics/kicad-meta: add 6.0.0_rc1 (diff)
downloadgentoo-cbb18382504c36e4aa767a71999cf6cbf49205f9.tar.gz
gentoo-cbb18382504c36e4aa767a71999cf6cbf49205f9.tar.bz2
gentoo-cbb18382504c36e4aa767a71999cf6cbf49205f9.zip
app-doc/kicad-doc: add 6.0.0_rc1
Signed-off-by: JonRB <jon.roadleybattin@gmail.com> Signed-off-by: Sam James <sam@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-6.0.0_rc1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest
index 13489b064a95..df676556877f 100644
--- a/app-doc/kicad-doc/Manifest
+++ b/app-doc/kicad-doc/Manifest
@@ -1 +1,2 @@
DIST kicad-doc-5.1.11.tar.bz2 74199831 BLAKE2B c7ea4fc89e002399afd46456e4d7481fa0c599ebce26a9602726c129c27054a19ba63a183e8e7359ac9950dc9310cdcf8fe1ecc2faf90bb728ffe18658a495f1 SHA512 dae4d6fe9ad08787f9cac05251205dec4c2b08bd4214da92a3fe8717a85fcb1cc65af3defa85b872c9a7a44314742dafae75624129d3e461950d0d6847dc2c5b
+DIST kicad-doc-6.0.0_rc1.tar.gz 79671406 BLAKE2B 7ab224ea2ec376c6c073018bc97f932e4097bed205ce8d92ac6b9db5db85fafd6de97a41026d890d3c38073cf410be0490f5e81f97e77c7e63d53a55ddc67527 SHA512 b8dc91daa72f46c2311675a3a4a4317fd2da5c877317e49e4f43ae85f9e1ac859405a3ec35a5fa6fa400825ea5b45350565803efdbf459f5c87844d534cf9bee
diff --git a/app-doc/kicad-doc/kicad-doc-6.0.0_rc1.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.0_rc1.ebuild
new file mode 100644
index 000000000000..6dea66c19c56
--- /dev/null
+++ b/app-doc/kicad-doc/kicad-doc-6.0.0_rc1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+ MY_PV="${PV/_rc/-rc}"
+ MY_P="${PN}-${MY_PV}"
+ SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
+SLOT="0"
+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
+
+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=(
+ -DBUILD_FORMATS="$(usev html);$(usev pdf)"
+ -DSINGLE_LANGUAGE="${L10N}"
+ -DKICAD_DOC_PATH="${EPREFIX}/usr/share/doc/${P}/help"
+ )
+ cmake_src_configure
+}