summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2020-10-03 23:31:20 -0700
committerJoonas Niilola <juippis@gentoo.org>2020-10-11 12:29:52 +0300
commit3e9b6a1c9f65924ca2fa9503da5100291917fa86 (patch)
treec698554e8a0a781860552fbfc55a04f561fdf08f /app-doc
parentsci-electronics/kicad-templates: Bump to 5.1.7 (diff)
downloadgentoo-3e9b6a1c9f65924ca2fa9503da5100291917fa86.tar.gz
gentoo-3e9b6a1c9f65924ca2fa9503da5100291917fa86.tar.bz2
gentoo-3e9b6a1c9f65924ca2fa9503da5100291917fa86.zip
app-doc/kicad-doc: Bump to 5.1.7
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/kicad-doc/Manifest1
-rw-r--r--app-doc/kicad-doc/kicad-doc-5.1.7.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest
index b83bd47e809a..31f7da093801 100644
--- a/app-doc/kicad-doc/Manifest
+++ b/app-doc/kicad-doc/Manifest
@@ -1,2 +1,3 @@
DIST kicad-doc-5.1.5.tar.gz 75372826 BLAKE2B 89e9f57009446ee7e6560f97c8e4de61250faa337ff9777d6d73f879bf3fb4575d7df878a2fe78cde48fe3884fdb5be69f9b807731232480550e6b214191cfa5 SHA512 52d06d67df25cf67fb2507a788f414bf3f83569d9cefe0763b9f65e014c1f863bdc3cc6a0d1fb843bd89129118bab117a8c9f83eef4e475bfb4fa853822b2fe5
DIST kicad-doc-5.1.6.tar.bz2 74202367 BLAKE2B b4d4ff704bf59c7663469f5c4a314a44f1762f8ae5a9fb3abb1a2e8eb54c5dd843f3d095d7e60d0ae541d9e51241fa35ae28c56a495cd0c7e0874d5b1a473296 SHA512 6fae707154aa662689c5da03696d30ebc7442a6d2706cb14d470e91675d0f77c3eb9dd716d29b1eccde5cb0ff39a582a497be2d65d5e34e40defe2fdf97093e0
+DIST kicad-doc-5.1.7.tar.bz2 74202031 BLAKE2B caa6f6403fe984230cbb1d0b0a75355621f9e371976774e66aac2216994249397082ef8699f0adced0696344a256edd5d47c42ce8d789ebf624d702008f0600a SHA512 72dcfdf3d943dc73bb4f30c9dc9f0cfe7a0c3f8749a04b04624c47e2b69f6be29627e2768d008980ae9ac691aa56c97529edc15741c72e261e4c2c6f3e7b32b4
diff --git a/app-doc/kicad-doc/kicad-doc-5.1.7.ebuild b/app-doc/kicad-doc/kicad-doc-5.1.7.ebuild
new file mode 100644
index 000000000000..6f1823b17c90
--- /dev/null
+++ b/app-doc/kicad-doc/kicad-doc-5.1.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 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="http://docs.kicad-pcb.org/"
+SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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 )"
+RDEPEND=""
+
+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
+}