From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1454275-garchives=archives.gentoo.org@lists.gentoo.org>
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 D4777158020
	for <garchives@archives.gentoo.org>; Sun,  6 Nov 2022 08:53:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 27306E0870;
	Sun,  6 Nov 2022 08:53:46 +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 E236FE086A
	for <gentoo-commits@lists.gentoo.org>; Sun,  6 Nov 2022 08:53:45 +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 23BB8341112
	for <gentoo-commits@lists.gentoo.org>; Sun,  6 Nov 2022 08:53:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3946270D
	for <gentoo-commits@lists.gentoo.org>; Sun,  6 Nov 2022 08:53:42 +0000 (UTC)
From: "Matthew Smith" <matthew@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" <matthew@gentoo.org>
Message-ID: <1667724765.ebe039accaacf72ad87b58b2e9c8289ba26d7ab9.matthew@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.9.ebuild
X-VCS-Directories: app-doc/kicad-doc/
X-VCS-Committer: matthew
X-VCS-Committer-Name: Matthew Smith
X-VCS-Revision: ebe039accaacf72ad87b58b2e9c8289ba26d7ab9
X-VCS-Branch: master
Date: Sun,  6 Nov 2022 08:53:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3e472cf0-6780-41d7-be4c-1abec0fc2872
X-Archives-Hash: 603d068140c684fe0ae96efa03771525

commit:     ebe039accaacf72ad87b58b2e9c8289ba26d7ab9
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 08:46:36 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 08:52:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe039ac

app-doc/kicad-doc: add 6.0.9

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 app-doc/kicad-doc/Manifest               |  1 +
 app-doc/kicad-doc/kicad-doc-6.0.9.ebuild | 62 ++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest
index fc11273b6356..a44833a5d5d2 100644
--- a/app-doc/kicad-doc/Manifest
+++ b/app-doc/kicad-doc/Manifest
@@ -2,3 +2,4 @@ DIST kicad-doc-5.1.12.tar.bz2 74217615 BLAKE2B f0906fdb0cf697348e06b63ef0003630a
 DIST kicad-doc-6.0.6.tar.gz 80517799 BLAKE2B 58d1bab65637e65b8ce79f6e8e9e913a1fb0d5d22a1241c7d10f0440c12a6f8ac2b758d6852a1138fe0587bc695905c0f2b2d017e79e7e5283ecb4e49ab1d5ff SHA512 90f809ea5923b59169884e090263ccb2c0a9705ddc4ce3817e78736dbebb820a6189eeca4058919b6a53164d8f75746b49bc7667e5e0e534e0c9d3fa8af1f44a
 DIST kicad-doc-6.0.7.tar.gz 80519836 BLAKE2B 228f33e23aff2f7229e33c24410c1b604c1edad42ba26a42862d924526967724761d4fb82bc32cfd45c7999317330d411e25d2c46f0ac3faeaf5333f1415d9ab SHA512 4619b8394e7aca7f880ace7dbf46bdc8bf2f794719587db3f550c2f3d7731fdebb4afd5028f59477cf8e0563a9099502f41649f136828a424ebe29fc67e2259d
 DIST kicad-doc-6.0.8.tar.gz 81144225 BLAKE2B 53ef162bc81764ccdc3744ff4a3e0cfaa8c6eb7348cdf77652e5d1d9be04679ad9e72ff511635011cae32e8185cc8da98091e5c45bef4bd838543a4b7794fc2e SHA512 d563d829fa54f7591db1b7b48c77541983f5d65af2b471d48b21c586535d8ea70218d6ae096a83743fadc3ee634e9dfc9e3729399cab346530382c7e4e716589
+DIST kicad-doc-6.0.9.tar.gz 81321926 BLAKE2B 0885d0210afcc83c2ccaad3a0caac912e8f756e69c4569e543a81440e14b6e3ead68ccc427f4dcd9026ebf86a8e3c45487955479bf8c43ce9bb6680de9da777c SHA512 be8ae3bbebce334d7d7ab0e24bf3712aaa83b078f1a4495b755cdd9a5ff8e55951dbd82c5ac17c5aeba66008a9e6ef1b9f104f51ad340cb7cb88abdd86e5853d

diff --git a/app-doc/kicad-doc/kicad-doc-6.0.9.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.9.ebuild
new file mode 100644
index 000000000000..51164ea1dde5
--- /dev/null
+++ b/app-doc/kicad-doc/kicad-doc-6.0.9.ebuild
@@ -0,0 +1,62 @@
+# 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
+	SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.gz"
+	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="
+	>=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
+}