diff options
Diffstat (limited to 'app-doc/kicad-doc')
-rw-r--r-- | app-doc/kicad-doc/Manifest | 1 | ||||
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-4.0.4.ebuild | 72 |
2 files changed, 0 insertions, 73 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 1ae101ced1de..69d24ab4ddb9 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -1,3 +1,2 @@ -DIST kicad-doc-4.0.4.tar.gz 33705865 BLAKE2B 191865f4a1956424bdf661bfb968bd6fb392af48318dd097d71e04495688ff2aa38476195fac07a6b8bbea92807fd2e51c056bdc88fadb907c0656175405f6ea SHA512 97a45ebbd11ab7f92eff1409bc03512b7685fb4a85dd1d87675e92742cc6672a1332c5fe8d63577eba93ed976af1bb4acaa461dbada5e4695a161cefa82c9ff4 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 diff --git a/app-doc/kicad-doc/kicad-doc-4.0.4.ebuild b/app-doc/kicad-doc/kicad-doc-4.0.4.ebuild deleted file mode 100644 index b4189b6d1514..000000000000 --- a/app-doc/kicad-doc/kicad-doc-4.0.4.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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="en fr it ja nl pl" -for lang in ${LANGS}; do - IUSE+=" l10n_${lang}" -done -unset lang - -DEPEND=">=app-text/asciidoc-8.6.9 - app-text/dblatex - app-text/texlive:=[l10n_en?,l10n_fr?,l10n_it?,l10n_ja?,l10n_nl?,l10n_pl?] - >=app-text/po4a-0.45 - >=sys-devel/gettext-0.18 - dev-util/source-highlight - dev-perl/Unicode-LineBreak - l10n_ja? ( media-fonts/vlgothic )" -RDEPEND="" - -src_prepare() { - DOCPATH="KICAD_DOC_INSTALL_PATH share/doc/kicad" - sed "s|${DOCPATH}|${DOCPATH}-${PV}|g" -i CMakeLists.txt || die "sed failed" -} - -src_configure() { - local formats="" - local doclang="" - local format lang - - # construct format string - for format in html pdf; do - use ${format} && formats+="${format};" - done - if [[ -z ${formats} ]]; then - formats="html;" - ewarn "Neither \"html\" nor \"pdf\" USE flag set, using html." - fi - - # find out which language is requested - for lang in ${LANGS}; do - if use l10n_${lang}; then - if [[ -z ${doclang} ]]; then - doclang="${lang}" - else - ewarn "Only one single language can be enabled." \ - "Using \"${doclang}\", ignoring \"${lang}\"." - fi - fi - done - if [[ -z ${doclang} ]]; then - doclang="en" - ewarn "No language flag set, falling back to \"en\"." - fi - - local mycmakeargs=( - -DBUILD_FORMATS="${formats}" - -DSINGLE_LANGUAGE="${doclang}" - ) - cmake-utils_src_configure -} |