summaryrefslogtreecommitdiff
path: root/app-doc/gnucash-docs
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /app-doc/gnucash-docs
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'app-doc/gnucash-docs')
-rw-r--r--app-doc/gnucash-docs/Manifest1
-rw-r--r--app-doc/gnucash-docs/gnucash-docs-5.14.ebuild63
-rw-r--r--app-doc/gnucash-docs/metadata.xml9
3 files changed, 73 insertions, 0 deletions
diff --git a/app-doc/gnucash-docs/Manifest b/app-doc/gnucash-docs/Manifest
new file mode 100644
index 000000000000..9b527812e795
--- /dev/null
+++ b/app-doc/gnucash-docs/Manifest
@@ -0,0 +1 @@
+DIST gnucash-docs-5.14.tar.gz 133720288 BLAKE2B e256eee425470164de374385ff06b87000fdb12ceadfa5e7fb3c5cd114d44cc13072320b8b7598436ca806cb6b444359bb8f56393360be51d1961fc032ff211d SHA512 7e496f95e1642478db38bbd166374a1e7e79c9e28154b75c9ad73c310ad28d8883cba62fb3ede6675225c56447eaaad3b10a5b1efd6a00788c20ecf7159c942c
diff --git a/app-doc/gnucash-docs/gnucash-docs-5.14.ebuild b/app-doc/gnucash-docs/gnucash-docs-5.14.ebuild
new file mode 100644
index 000000000000..656537155394
--- /dev/null
+++ b/app-doc/gnucash-docs/gnucash-docs-5.14.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with app-office/gnucash
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake optfeature
+
+DESCRIPTION="Documentation package for GnuCash"
+HOMEPAGE="https://www.gnucash.org/"
+SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+LOCALES=( de it ja pt )
+IUSE="${LOCALES[*]/#/l10n_}"
+
+BDEPEND="
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxml2
+ dev-libs/libxslt
+"
+
+src_install() {
+ local doc_type my_lang
+
+ for doc_type in manual guide; do
+ for my_lang in C ${L10N}; do
+ [[ -z ${my_lang} ]] && continue
+
+ case "${my_lang}" in
+ # Both help and guides translated
+ C|de|it|pt) ;;
+ ja|ru) # Only guides translated
+ if [[ "${doc_type}" == "manual" ]] ; 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 "${BUILD_DIR}/${my_lang}/${doc_type}" \
+ DESTDIR="${D}" \
+ install
+ done
+ done
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "generating PDF files" dev-java/fop
+ optfeature "viewing the docs" gnome-extra/yelp
+}
diff --git a/app-doc/gnucash-docs/metadata.xml b/app-doc/gnucash-docs/metadata.xml
new file mode 100644
index 000000000000..a47d55e2c3bd
--- /dev/null
+++ b/app-doc/gnucash-docs/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>titanofold@gentoo.org</email>
+ <name>Aaron W. Swenson</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>