From 23489cd5857508d57db10d5add41e20daad42d51 Mon Sep 17 00:00:00 2001 From: Zoltan Puskas Date: Sun, 17 Mar 2024 03:30:26 -0700 Subject: app-doc/kicad-doc: add 7.0.11 Signed-off-by: Zoltan Puskas Signed-off-by: Yixun Lan --- app-doc/kicad-doc/Manifest | 1 + app-doc/kicad-doc/kicad-doc-7.0.11.ebuild | 59 +++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app-doc/kicad-doc/kicad-doc-7.0.11.ebuild (limited to 'app-doc/kicad-doc') diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 3b4905efe9f5..b45db14361a3 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -1,3 +1,4 @@ DIST kicad-doc-7.0.10.tar.bz2 107407186 BLAKE2B 5b55745beb57b713e646dbcfbbc5ee1a030c2e819b95018c869b87091a8cca2eadcc92f6b431736167b59780ef906730df5868a4f56952914c0cede9f830582a SHA512 d7bfa2fcdfc936713f9c47125f3b6bd8cd413d1c26b97a34b68ef4a9e8621082326880b84cc6f3f6163b39c13945616232a51d9af74d5dd000a600e95ccb2ee2 +DIST kicad-doc-7.0.11.tar.bz2 107407245 BLAKE2B 4746972ffa4b51ec465ad12e79699fb16fd0884c4e916d5d2a7c0655fcf39999abc0f90357bd202f0f8ece884034f8b076656e09390f8370107c2f8cf6353ae5 SHA512 a11bbfe4716da2922eb839800b2b4949c09cfe35834cabb66d6b3be299ce1ba4cece0e5082c12047591b18919dd590976c23e7542580a1abfd5917246163b6e3 DIST kicad-doc-7.0.7.tar.bz2 104103652 BLAKE2B f5ce0ccde126c062dd877ce8023b0c22e33bc1df47e12494d6a41cb198e0100c690fb9325f6e8b74198af77af1c6afb92f6a6f8c417828527bfa8904c88f6432 SHA512 fd37e06dcac907d8fca6cdf8e3eaf2c5197a82572d92f2b2af8aca8ea3603e7dd4ffc1c77b1e28aee245b4d611dca2a3565eec1d23051925d9969582232862c1 DIST kicad-doc-8.0.0.tar.bz2 89704073 BLAKE2B 9f461e581eaeb712a30d13629a7f32dbf22bfb72a7745a2ac68dc0e4c6f6e5c6a01c36871e5c37b8738b7d40a4a91fc57f7a29d9bb255287876ba7d46690b895 SHA512 5bc2241a1030cba10ac25c09c237d32675d163789e2bdbfcf87c3d454fc7dadc08c4a73074bae3a4bb764d9ad30fde3a99f871aade92e37780ee64c4f131f01e diff --git a/app-doc/kicad-doc/kicad-doc-7.0.11.ebuild b/app-doc/kicad-doc/kicad-doc-7.0.11.ebuild new file mode 100644 index 000000000000..64da42dd5988 --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-7.0.11.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Electronic Schematic and PCB design tools manuals" +HOMEPAGE="https://docs.kicad.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/kicad/services/kicad-doc.git" + inherit git-r3 + # x11-misc-util/macros only required on live ebuilds + LIVE_DEPEND=">=x11-misc/util-macros-1.18" +else + SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2" +SLOT="0" +# TODO: Change default back to +pdf once asciidoctor-pdf is packaged? +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 + +# TODO: need asciidoctor-pdf for pdf +# bug #697450 +BDEPEND=" + >=dev-ruby/asciidoctor-2.0.12 + >=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 )" + +src_configure() { + local mycmakeargs=( + -DPDF_GENERATOR="DBLATEX" + -DBUILD_FORMATS="$(usev html);$(usev pdf)" + -DSINGLE_LANGUAGE="${L10N}" + -DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help + ) + cmake_src_configure +} -- cgit v1.2.3-65-gdbad