forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug: https://bugs.gentoo.org/680642 Signed-off-by: Zoltan Puskas <[email protected]> Signed-off-by: Alexey Shvetsov <[email protected]> Package-Manager: Portage-2.3.62, Repoman-2.3.12
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST kicad-doc-4.0.7.tar.gz 54384893 BLAKE2B c38342ebb9b5a14f3bc2a6cffb870bf4238fe1010b611525992a4e109a215b5db15d60637aecea14c090d9fe23fd7928fedff587e34a088f3843002a0433a58e SHA512 c1f58ca04dff2afb7c8c23a81a4b54f91e310342e741cc92fe6168417252b76ee009651a6845924302651d4183ca3e58620b0655aea1ee8afa40581f62e5272a | ||
DIST kicad-doc-5.0.0.tar.gz 68834628 BLAKE2B af6cf42fbabbf3dcd1a00b1bf94633d1cc09a5c6457bd20631f4049a0c7051b74e33cb62911e3df7cc8cfa6c50738276c17ba834923295538d88d9898cf24f73 SHA512 0fb266ada47303af41f3f5438894d66800644252bee898467522a7e6e86c372c7701768c34ac2260f0e6d76af669bf4bab33c41598037d6005ecc4ed6d31b419 | ||
DIST kicad-doc-5.0.1.tar.gz 68998124 BLAKE2B 89c89f76ea17fd95dc8657b415675f5665a4d4bcb8c29eb5bf43f3216c59f38f38904d2d30242ebf3c4bb02197d6e04557af6b7b03b17c13ed9d051c7ed0c134 SHA512 f500be02417bbe3105ece434ca594c7a8cfe3d937a9a835b49b238569f40a8e8cc360d3970d38262b1ae0b702203de942feeae8c48cd2068aec90bf81e3e5a88 | ||
DIST kicad-doc-5.1.0.tar.gz 74965788 BLAKE2B 843d59ec1aa9bb503997e8cb373034fcd6bbd8579e0f683cf631ff1c05b5e25464ccb4be37528d322414b5dcc01858c8b3cd4ae51994258b46263f61f8c26e38 SHA512 1776f5d98661ebabaaf08ebb0af5c4019d5cea89871f7d5e43ebd44945a56baf2de746c5f65854e9047ab82cd087766c6da538b5de8440e72f9ed82f2cd0a073 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
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" | ||
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-utils_src_configure | ||
} |