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 C835015814C for ; Sat, 28 Oct 2023 14:22:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C4982BC01C; Sat, 28 Oct 2023 14:22:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 059942BC01C for ; Sat, 28 Oct 2023 14:22:44 +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 555F2335C2A for ; Sat, 28 Oct 2023 14:22:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A731D12E7 for ; Sat, 28 Oct 2023 14:22:40 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1698502924.5e01223dac93054bfcae3da818c5671f0ce11247.dlan@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-7.0.8.ebuild X-VCS-Directories: app-doc/kicad-doc/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 5e01223dac93054bfcae3da818c5671f0ce11247 X-VCS-Branch: master Date: Sat, 28 Oct 2023 14:22:40 +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: fbd23114-0c82-443a-86b3-8d6cc0c060e1 X-Archives-Hash: 650230bd18331a6f648d07d5d9d10e97 commit: 5e01223dac93054bfcae3da818c5671f0ce11247 Author: Zoltan Puskas sinustrom info> AuthorDate: Sat Oct 28 08:38:42 2023 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sat Oct 28 14:22:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e01223d app-doc/kicad-doc: add 7.0.8 Signed-off-by: Zoltan Puskas sinustrom.info> Signed-off-by: Yixun Lan gentoo.org> app-doc/kicad-doc/Manifest | 1 + app-doc/kicad-doc/kicad-doc-7.0.8.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 7ed8438e7f16..f0bb7e52bd90 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -1,2 +1,3 @@ DIST kicad-doc-7.0.1.tar.bz2 104103280 BLAKE2B dbdcd82e65c9d3a2bff629f8fa4e3cc34c2adbfa3fe9a808e3802addc3d75f3875ad52c4f5e79cb2bfb7563a6288d0c2eb6f119adf4f7fd2f31360cea82d1ea7 SHA512 5274ef673db9e415d5b82522681acdd4ee2b2f615bb52abdd11ebd17b72f36852ee297fdb98f9cf1dee12671a23adc24a6a8a03be720b579bbee7a9ead167e41 DIST kicad-doc-7.0.7.tar.bz2 104103652 BLAKE2B f5ce0ccde126c062dd877ce8023b0c22e33bc1df47e12494d6a41cb198e0100c690fb9325f6e8b74198af77af1c6afb92f6a6f8c417828527bfa8904c88f6432 SHA512 fd37e06dcac907d8fca6cdf8e3eaf2c5197a82572d92f2b2af8aca8ea3603e7dd4ffc1c77b1e28aee245b4d611dca2a3565eec1d23051925d9969582232862c1 +DIST kicad-doc-7.0.8.tar.bz2 107229731 BLAKE2B b8a190701ea3a4b065b8446a59837ec7f43cf1f6213e4f4d34da5467097d48c9825e4ee4caa5f9f2f889ff5b3120eba436545c83cae14143ad9fff7f07f0cb75 SHA512 0ddf90cdeccc686b98406875e6528e9dc046f8b0e0cc9a5903135af6d6e6a87d34fd102e1472d8347972b645e72d30659272f0d72febcf7766b43715dcff1b63 diff --git a/app-doc/kicad-doc/kicad-doc-7.0.8.ebuild b/app-doc/kicad-doc/kicad-doc-7.0.8.ebuild new file mode 100644 index 000000000000..c8d6e1ad547f --- /dev/null +++ b/app-doc/kicad-doc/kicad-doc-7.0.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 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 +}