diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-doc/kicad-doc/kicad-doc-4.0.4.ebuild | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-doc/kicad-doc/kicad-doc-4.0.4.ebuild')
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-4.0.4.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
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 -} |