diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2020-05-25 22:22:44 -0700 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2020-06-06 20:46:18 +0300 |
commit | 333168334ecfc1f435a72b5a5ba82744e389b18e (patch) | |
tree | 6b8b2596947fa0712c9cfaa5b2fa399c513cbbb3 /app-doc/kicad-doc/kicad-doc-5.1.6.ebuild | |
parent | sci-electronics/kicad-i18n: Bump to 5.1.6 (diff) | |
download | gentoo-333168334ecfc1f435a72b5a5ba82744e389b18e.tar.gz gentoo-333168334ecfc1f435a72b5a5ba82744e389b18e.tar.bz2 gentoo-333168334ecfc1f435a72b5a5ba82744e389b18e.zip |
app-doc/kicad-doc: Bump to 5.1.6
Additionally update web and soruce URIs.
Bug: https://bugs.gentoo.org/723406
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'app-doc/kicad-doc/kicad-doc-5.1.6.ebuild')
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-5.1.6.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/kicad-doc-5.1.6.ebuild b/app-doc/kicad-doc/kicad-doc-5.1.6.ebuild new file mode 100644 index 000000000000..6f1823b17c90 --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-5.1.6.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 +} |