From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CFE5158089 for ; Fri, 21 Jan 2022 19:11:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C8562BC03A; Fri, 21 Jan 2022 19:11:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E76DF2BC03A for ; Fri, 21 Jan 2022 19:11:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDA6C3434D3 for ; Fri, 21 Jan 2022 19:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFC8B2AA for ; Fri, 21 Jan 2022 19:11:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1642792258.4f02b497284a497042a55d41561d462e14a241e7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/kicad-doc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/kicad-doc/Manifest app-doc/kicad-doc/kicad-doc-6.0.1.ebuild X-VCS-Directories: app-doc/kicad-doc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4f02b497284a497042a55d41561d462e14a241e7 X-VCS-Branch: master Date: Fri, 21 Jan 2022 19:11:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af9b2c24-9038-4700-9cef-1277612b44a9 X-Archives-Hash: 274dc43f25cf2e8a42b37c12a3871f7e commit: 4f02b497284a497042a55d41561d462e14a241e7 Author: Zoltan Puskas sinustrom info> AuthorDate: Tue Jan 18 08:07:26 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 21 19:10:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f02b497 app-doc/kicad-doc: Bump to 6.0.1 Change path to use ${P} as we need a predictable path for KiCad binary to search for the documentation (can be activated from the GUI's menu). Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zoltan Puskas sinustrom.info> Signed-off-by: Sam James gentoo.org> app-doc/kicad-doc/Manifest | 1 + app-doc/kicad-doc/kicad-doc-6.0.1.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 699c8212205f..16b15f1b0c11 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -1,2 +1,3 @@ DIST kicad-doc-5.1.12.tar.bz2 74217615 BLAKE2B f0906fdb0cf697348e06b63ef0003630a9035d47732c9a22ed3c4fee2f21c02f85fda51eee5149291b72326adc4899b31198178ee6e6ac0d494361cec6c06208 SHA512 db678d91ea5f564ca3f266829c297362cfd6cf35a5dced2ede5e7c9c38a37ca1037b264ee9314fa5c4a9d8197fcd92484ad4cae3668ea9741947d38c7ac7f910 DIST kicad-doc-6.0.0.tar.gz 81338236 BLAKE2B 949d07a1b16635ad5be1a4855bc0c530a85c5d674096e8d1ae48e250e56168c2cb203d71a882e64c1816f0eb7c4ad1a0233be70bcbac185b2b8bb1e99b85dc66 SHA512 1f327c407b0ae88d1f13266571d978fd18fded857e63f1a56a10aa518da6ccb72e85a35215a51f4c91382f61445d141d837244699e932f411f6522bcf26290c3 +DIST kicad-doc-6.0.1.tar.gz 78035248 BLAKE2B 25ff6eb1318d2c55ace2df3b1d553ce9220b035f8de034e583a98eb601c1032856b0efc8b81e0a142483722015878d64e25b05df5a53e5d53df56967dfc23021 SHA512 1027a4f46a855ab34c9e4fb53df1a495d8cb1d27f98263fb574ef25135b0d20ba3a875e2711fcb73836c27f5c0e193aea2dec3e9fa313434785eb0553ca214b8 diff --git a/app-doc/kicad-doc/kicad-doc-6.0.1.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.1.ebuild new file mode 100644 index 000000000000..c1aab9b28734 --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-6.0.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 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 + MY_PV="${PV/_rc/-rc}" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm64 ~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=" + >=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 )" + +src_configure() { + local mycmakeargs=( + # May not always work? + # https://gitlab.com/kicad/services/kicad-doc/-/issues/808 + -DADOC_TOOLCHAIN="ASCIIDOC" + # Note: need EAPI 8 usev here, not pre-EAPI 8 behaviour + -DBUILD_FORMATS="$(usev html);$(usev pdf)" + -DSINGLE_LANGUAGE="${L10N}" + -DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help + ) + cmake_src_configure +}