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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4A3D613835A for ; Tue, 21 Jul 2020 12:09:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FF86E09A5; Tue, 21 Jul 2020 12:09:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37638E09A5 for ; Tue, 21 Jul 2020 12:09:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D70934F417 for ; Tue, 21 Jul 2020 12:09:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79034290 for ; Tue, 21 Jul 2020 12:09:08 +0000 (UTC) From: "Aaron W. Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron W. Swenson" Message-ID: <1595333056.7c9d1a4a07900ae43967dd346040fa1890e445e4.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gnucash-docs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/gnucash-docs/Manifest app-doc/gnucash-docs/gnucash-docs-4.0.ebuild X-VCS-Directories: app-doc/gnucash-docs/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 7c9d1a4a07900ae43967dd346040fa1890e445e4 X-VCS-Branch: master Date: Tue, 21 Jul 2020 12:09: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: 5244c886-beb7-4c3a-954b-9deb1594ed93 X-Archives-Hash: b55712d11e8c0f3bb32aba761db389cb commit: 7c9d1a4a07900ae43967dd346040fa1890e445e4 Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Jul 21 12:03:57 2020 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Tue Jul 21 12:04:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9d1a4a app-doc/gnucash-docs: Bump to 4.0 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Aaron W. Swenson gentoo.org> app-doc/gnucash-docs/Manifest | 1 + app-doc/gnucash-docs/gnucash-docs-4.0.ebuild | 66 ++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-doc/gnucash-docs/Manifest b/app-doc/gnucash-docs/Manifest index 3364f36473a..d3531a9d3a3 100644 --- a/app-doc/gnucash-docs/Manifest +++ b/app-doc/gnucash-docs/Manifest @@ -1 +1,2 @@ DIST gnucash-docs-3.8b.tar.gz 71058053 BLAKE2B 0a69db02faf6487f2ecc1b5f9a788fb50cec65ff7db53ca9ec6048510156f094c0ce457d1abb4a9a6694060f68780c0336de41dbd0736ad93055cce81b3a66ab SHA512 3c30e88412e17960006517fb7c341220159c45760ca28c79c27c66551451c8ec14e000757f4d9a78c923e10d437351e38dbedaf0a1f3b11bbf5b87d80cb230fe +DIST gnucash-docs-4.0.tar.gz 62498230 BLAKE2B 39d711267a7ec0d45915659db8557fd2871c295aba82601c34878f56c5a24b0f56ffa68a4597e464050e3e59f62411ae6f5efc0870bea2fa46f313f58ed3826b SHA512 4aa4510b86a6bf3a217c9809b73166c0ce777b9f5a506c15f51ca80a0aa45b93e774e1b7c07571ceb0aad6b6df67a4f268d5498874d23653cb0c94620f491d1d diff --git a/app-doc/gnucash-docs/gnucash-docs-4.0.ebuild b/app-doc/gnucash-docs/gnucash-docs-4.0.ebuild new file mode 100644 index 00000000000..6123d911e43 --- /dev/null +++ b/app-doc/gnucash-docs/gnucash-docs-4.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils gnome2 + +DESCRIPTION="Documentation package for GnuCash" +HOMEPAGE="http://www.gnucash.org/" +SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2 FDL-1.1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +LOCALES=( de it ja pt ru ) +IUSE="${LOCALES[*]/#/l10n_}" + +DEPEND=" + app-text/docbook-xml-dtd + app-text/docbook-xsl-stylesheets + app-text/rarian + dev-libs/libxml2 + dev-libs/libxslt +" + +src_prepare() { + default + eautoreconf +} + +src_compile() { + : +} + +src_install() { + local doc_type my_lang + + for doc_type in help guide; do + for my_lang in C ${L10N}; do + case $my_lang in + # Both help and guides translated + C|de|it|pt) ;; + ru|ja) # Only guides translated + if [[ ${doc_type} = "help" ]] ; then + elog "Help documentation hasn't been translated for $my_lang" + elog "Will do English instead." + continue + fi + ;; + *) + die "Invalid locale: $my_lang" + ;; + esac + + emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install + done + done + + einstalldocs +} + +pkg_postinst() { + gnome2_pkg_postinst + optfeature "You need dev-java/fop to generate pdf files." dev-java/fop + optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp +}