summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-06-11 13:28:39 +0200
committerUlrich Müller <ulm@gentoo.org>2022-06-11 13:29:31 +0200
commit67022fe041b25260726fbba44f416c71d9ef7de4 (patch)
tree0512bc027d11f8218a490000ae905ef41749eb81 /app-i18n
parentxfce-base/exo: Bump to 4.17.2 (diff)
downloadgentoo-67022fe041b25260726fbba44f416c71d9ef7de4.tar.gz
gentoo-67022fe041b25260726fbba44f416c71d9ef7de4.tar.bz2
gentoo-67022fe041b25260726fbba44f416c71d9ef7de4.zip
app-i18n/man-pages-l10n: add 4.14.0
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/man-pages-l10n/Manifest1
-rw-r--r--app-i18n/man-pages-l10n/man-pages-l10n-4.14.0.ebuild83
2 files changed, 84 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest
index 78ca36bee8ed..7479278e0473 100644
--- a/app-i18n/man-pages-l10n/Manifest
+++ b/app-i18n/man-pages-l10n/Manifest
@@ -1 +1,2 @@
+DIST manpages-l10n-4.14.0.tar.bz2 102563001 BLAKE2B 500744ab21482e83e076543539dac58b16e2dfb1f4a0f38b9adfe933cc69a0d68534663e3bc07f053ad3580021b34150fe8a40e9ecd0d01b968f8570ca74b051 SHA512 335b7b34ed6135b5ceb53a75cee2f71198733df02ba8727d55863f2ceb4ae37c44636d78feca123f5d53ba07018af2ce51567c0605b242dcb441a0a56dcf9106
DIST manpages-l10n-v4.12.1.tar.bz2 90676890 BLAKE2B 7f261407007971063abc34f1154f5ab7d5a268dd21c76185f47cfbd73a1091950a3dc7bf0d4ad6bac56259fecbc1524b35b42316a1c2103f426ed936e203607d SHA512 42f5c61591959a0d804c215a9baddd6a182b30aedf5f6d6899f621cc8da9936fc10a1353aad5027eb4177f391f9708cc3018333256444433e937d37d8cdd3067
diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.14.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.14.0.ebuild
new file mode 100644
index 000000000000..3addc26f9aac
--- /dev/null
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.14.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/${PN/-}/-/archive/${PV}/${P/-}.tar.bz2"
+S="${WORKDIR}/${P/-}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+MY_L10N=(cs da de el es fa fi fr hu id it mk nb nl pl pt-BR ro sr sv uk vi)
+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_it? ( !app-i18n/man-pages-it )
+ 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 CONTRIBUTING.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/xzdec.1
+ de/xzdiff.1
+ de/xzgrep.1
+ de/xzless.1
+ de/xzmore.1
+ # sys-apps/shadow
+ {cs,de,es,hu,nl,pl}/groups.1
+ de/su.1
+ # sys-apps/sysvinit
+ de/last.1
+ de/mesg.1
+ de/mountpoint.1
+ de/utmpdump.1
+ de/wall.1
+ fr/bootlogd.8
+ de/halt.8
+ {fr,pl}/killall5.8
+ de/runlevel.8
+ de/sulogin.8
+ # sys-process/procps
+ {de,fr,pl}/free.1
+ {de,fr}/pgrep.1
+ {de,fr}/pmap.1
+ {de,fr,pl}/ps.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
+ # sys-process/psmisc
+ {de,nl,pl}/fuser.1
+ {de,pl}/killall.1
+ de/peekfd.1
+ de/prtstat.1
+ de/pslog.1
+ {de,pl}/pstree.1
+ )
+ printf '%s\n' "${noinst_manpages[@]}" \
+ | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm
+ assert
+}
+
+src_configure() {
+ econf --enable-compression=none
+}