summaryrefslogtreecommitdiff
path: root/app-i18n/man-pages-l10n
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /app-i18n/man-pages-l10n
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'app-i18n/man-pages-l10n')
-rw-r--r--app-i18n/man-pages-l10n/Manifest3
-rw-r--r--app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild64
-rw-r--r--app-i18n/man-pages-l10n/metadata.xml8
3 files changed, 75 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest
new file mode 100644
index 000000000000..ee2514d9b669
--- /dev/null
+++ b/app-i18n/man-pages-l10n/Manifest
@@ -0,0 +1,3 @@
+DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9
+EBUILD man-pages-l10n-4.0.0.ebuild 1650 BLAKE2B 43d51ef6468d0f1edfe821a835515ca8473925d20803c13eb3d0817ef0f939eca964d20165ae9bd7378365e82321b9248e5d153ad5a7e160b1fccef2522b58f8 SHA512 44259080acc3718a45c5f0c6afbe28e342984592f1ff3044b649f7b18230cbc2021fa963067526a3301c6abca91f68be9c52eaec075b7bff31bd7300ac1c4a51
+MISC metadata.xml 235 BLAKE2B a6e10699959bdc64d99b8c0b00f46388bdf0c1e125a9351c63e61aae65c6bd9f70ab55a9497f6a6dcf10b161022abdd23c50443193563ba83744c09d1d4cd9c6 SHA512 fdebae10dcd9eddfe7d9546337826902e38d3d0e7b7e6e140038bcb293c98ca81b096d203b5709f42948bfa8868fe2d68d1385fae6664505e14d9ac1541898f9
diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
new file mode 100644
index 000000000000..bf46b86a840e
--- /dev/null
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${PN/-}-v${PV}"
+DESCRIPTION="A somewhat comprehensive collection of man page translations"
+HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+# omit pt-BR and ro for now, because they each install only two man pages
+MY_L10N=(de fr nl pl)
+IUSE="${MY_L10N[@]/#/l10n_}"
+REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
+
+RDEPEND="virtual/man
+ l10n_de? ( !app-i18n/man-pages-de )
+ l10n_fr? ( !app-i18n/man-pages-fr )
+ l10n_nl? ( !app-i18n/man-pages-nl )
+ l10n_pl? ( !app-i18n/man-pages-pl )"
+
+BDEPEND="app-text/po4a
+ dev-lang/perl"
+
+DOCS=(AUTHORS.md CHANGES.md README.md)
+
+src_prepare() {
+ default
+ sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die
+
+ # some packages have their own translations
+ local noinst_manpages=(
+ # app-arch/xz-utils
+ de/xz.1
+ de/xzdiff.1
+ de/xzgrep.1
+ de/xzless.1
+ de/xzmore.1
+ # sys-apps/shadow
+ {de,pl}/groups.1
+ de/su.1
+ # sys-process/procps
+ {de,pl}/free.1
+ {de,fr}/pgrep.1
+ {de,fr}/pmap.1
+ {de,fr}/pwdx.1
+ {de,fr}/tload.1
+ {de,fr,pl}/uptime.1
+ {de,fr}/sysctl.conf.5
+ {de,fr}/sysctl.8
+ {de,fr}/vmstat.8
+ )
+ printf '%s\n' "${noinst_manpages[@]}" \
+ | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm
+ assert
+}
+
+src_configure() {
+ econf --enable-compression=none
+}
diff --git a/app-i18n/man-pages-l10n/metadata.xml b/app-i18n/man-pages-l10n/metadata.xml
new file mode 100644
index 000000000000..7fccbc10bd18
--- /dev/null
+++ b/app-i18n/man-pages-l10n/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>ulm@gentoo.org</email>
+</maintainer>
+<stabilize-allarches/>
+</pkgmetadata>