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 D424E138334 for ; Sun, 13 Oct 2019 11:41:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B917E0863; Sun, 13 Oct 2019 11:41:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 DB8BDE0863 for ; Sun, 13 Oct 2019 11:41:01 +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 78A2534BCC8 for ; Sun, 13 Oct 2019 11:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BAD0898 for ; Sun, 13 Oct 2019 11:40:58 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1570966823.dda18deb4019c222598b94fff7be1a355d5e5690.asturm@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-3.7.ebuild X-VCS-Directories: app-doc/gnucash-docs/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: dda18deb4019c222598b94fff7be1a355d5e5690 X-VCS-Branch: master Date: Sun, 13 Oct 2019 11:40:58 +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: bf29f670-d4fe-4b11-a7e5-457214edc51e X-Archives-Hash: 6c01404a0a4fa398e69ce31d67621ec6 commit: dda18deb4019c222598b94fff7be1a355d5e5690 Author: Peter Levine gmail com> AuthorDate: Sun Sep 15 19:46:08 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Oct 13 11:40:23 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda18deb app-doc/gnucash-docs: Bump gnucash-docs-3.7 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Andreas Sturmlechner gentoo.org> app-doc/gnucash-docs/Manifest | 1 + app-doc/gnucash-docs/gnucash-docs-3.7.ebuild | 66 ++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-doc/gnucash-docs/Manifest b/app-doc/gnucash-docs/Manifest index 88f3bc1a717..d5c5b045c85 100644 --- a/app-doc/gnucash-docs/Manifest +++ b/app-doc/gnucash-docs/Manifest @@ -3,3 +3,4 @@ DIST gnucash-docs-3.3.tar.gz 92417386 BLAKE2B 200f9b8d3006589eac5f0d66300d658f69 DIST gnucash-docs-3.4.tar.gz 92762652 BLAKE2B 1aad3f1e7fe5b6ec11b38dc778e8994544d50f9549450b4632e5fcbd370332f05c7c68f9f6bf0e274b654dee6304924d17089b61318e0e4356bf01133ad47508 SHA512 0a64c8fcc88988a08d5b2f7c472356c580dff17b1a2a37b66a6bed790fba9d7bb437955050656656a0be399b2ce1635902f4548f44b62233c1fcd1d75fbb38ec DIST gnucash-docs-3.5.tar.gz 97187415 BLAKE2B f35a3a25a120d3807771d74ee1c97713e21617f7ac7b4fdc1f58b9d12f7c0cc899a9af6abca21bd4f91a0978ebf5b93604deaae29f39c8ab86bd83ec93e32642 SHA512 aa832a1929ae91b9fe2a6a4ada0c7dbd8c1a4cf76086ec3ab0b82c7396d45aabbb6971f2db788bbdde71a68c8faca5f4621429819ef6c0d1156bcefdc5d289b5 DIST gnucash-docs-3.6.tar.gz 96986567 BLAKE2B 753ee011cadec37320fafe3c0973bc5772c300dcf641ba34f05d03b9c13ec159c10f8571876adecfd7816956f2dfa9e83ad5879387536c15e7d1b138f7e38a47 SHA512 1fd36c74633ba699116914eaef245d4b84ab85a6e65578c602db8b2e3150f7fb97b549c12068a691e38b90ae0fa5cc22f8026b6d50de1ac967eb52b8296eb135 +DIST gnucash-docs-3.7.tar.gz 70634602 BLAKE2B bee0b328ab36409055ac4f681d4b09ff5e9aa28d17249491869836e8921700b495b46954465161ad06896ef9bc46c7ee8557ef2a3e8c4bbce2d600e6440bc1d9 SHA512 38f5828d3121ed76eb8a43fd91c1e3349c1f31cb95ee8fb8fa1b4c5223c68fc14627c78a5072a632aa0a228790918112a60269e6ee0211c705da6b4d5467a45d diff --git a/app-doc/gnucash-docs/gnucash-docs-3.7.ebuild b/app-doc/gnucash-docs/gnucash-docs-3.7.ebuild new file mode 100644 index 00000000000..505a73b7878 --- /dev/null +++ b/app-doc/gnucash-docs/gnucash-docs-3.7.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools 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 +}