diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2018-07-22 18:35:32 -0700 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-09-06 20:55:57 -0400 |
commit | b9de69c0dc9db81bf1c3c248bae07ca8cdd0bc0c (patch) | |
tree | ed1df26dd753a8de9f881a67649a2180445d632e /app-doc/kicad-doc/kicad-doc-4.0.7-r1.ebuild | |
parent | dev-python/jeepney: add PyPy3 support (diff) | |
download | gentoo-b9de69c0dc9db81bf1c3c248bae07ca8cdd0bc0c.tar.gz gentoo-b9de69c0dc9db81bf1c3c248bae07ca8cdd0bc0c.tar.bz2 gentoo-b9de69c0dc9db81bf1c3c248bae07ca8cdd0bc0c.zip |
app-doc/kicad-doc: Bump to 5.0.0, block on kicad-doc-bin, more l10n
Bug: https://bugs.gentoo.org/661350
Closes: https://bugs.gentoo.org/653278
Diffstat (limited to 'app-doc/kicad-doc/kicad-doc-4.0.7-r1.ebuild')
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-4.0.7-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-doc/kicad-doc/kicad-doc-4.0.7-r1.ebuild b/app-doc/kicad-doc/kicad-doc-4.0.7-r1.ebuild new file mode 100644 index 000000000000..0fb5022c3f19 --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-4.0.7-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Electronic Schematic and PCB design tools manuals" +HOMEPAGE="http://www.kicad-pcb.org/" +SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="html +pdf" +LANGS="ca de en es fr id it ja pl" +for lang in ${LANGS}; do + LUSE+=" l10n_${lang}" +done +IUSE+=${LUSE} +REQUIRED_USE="|| ( html pdf ) ^^ ( ${LUSE} )" +unset lang +unset LUSE + +DEPEND=" + >=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 )" +RDEPEND="!!app-doc/kicad-doc-bin" + +src_configure() { + local mycmakeargs=( + -DBUILD_FORMATS="$(usev html);$(usev pdf)" + -DSINGLE_LANGUAGE="${L10N}" + ) + cmake-utils_src_configure +} |