summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-01-28 09:37:17 +0100
committerUlrich Müller <ulm@gentoo.org>2023-01-28 09:46:22 +0100
commit7da8f68d42a6932f0ec87d962ab4574d56892cce (patch)
tree4cbd8a7df5a2cf8b2c3616dbb783659747b3f1ec /app-i18n/man-pages-l10n
parentapp-editors/retext: add myself as a maintainer (diff)
downloadgentoo-7da8f68d42a6932f0ec87d962ab4574d56892cce.tar.gz
gentoo-7da8f68d42a6932f0ec87d962ab4574d56892cce.tar.bz2
gentoo-7da8f68d42a6932f0ec87d962ab4574d56892cce.zip
app-i18n/man-pages-l10n: add 4.17.0
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-i18n/man-pages-l10n')
-rw-r--r--app-i18n/man-pages-l10n/Manifest1
-rw-r--r--app-i18n/man-pages-l10n/man-pages-l10n-4.17.0.ebuild84
2 files changed, 85 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest
index 7479278e0473..897641876ed4 100644
--- a/app-i18n/man-pages-l10n/Manifest
+++ b/app-i18n/man-pages-l10n/Manifest
@@ -1,2 +1,3 @@
DIST manpages-l10n-4.14.0.tar.bz2 102563001 BLAKE2B 500744ab21482e83e076543539dac58b16e2dfb1f4a0f38b9adfe933cc69a0d68534663e3bc07f053ad3580021b34150fe8a40e9ecd0d01b968f8570ca74b051 SHA512 335b7b34ed6135b5ceb53a75cee2f71198733df02ba8727d55863f2ceb4ae37c44636d78feca123f5d53ba07018af2ce51567c0605b242dcb441a0a56dcf9106
+DIST manpages-l10n-4.17.0.tar.bz2 108073280 BLAKE2B 4604b0c406cf16bb87ef5b7d1f43868b0ecfa085cfdfd6717e2156bd953ead0fa33d6960b78cd9e98a8e8c448c7c01bc669b91b04b3a11cc58c52c2963812f86 SHA512 e53fb8198bdf9ca2380c5cc487b2864b361011d3293202245fed4af1644563e478428547cd7c307be2556d0aeb88f7fad8ecaa34e837326319d4adb554473372
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.17.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.17.0.ebuild
new file mode 100644
index 000000000000..26437923cc43
--- /dev/null
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.17.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 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 fi fr hu id it mk nb nl pl pt-BR ro ru 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 )
+ l10n_ru? ( !app-i18n/man-pages-ru )"
+
+BDEPEND="app-text/po4a
+ dev-lang/perl"
+
+DOCS=(AUTHORS.md CHANGES.md CONTRIBUTING.md COPYRIGHT.md README.md)
+
+src_prepare() {
+ default
+ sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die
+
+ # some packages have their own translations
+ local f noinst_manpages=(
+ # app-arch/xz-utils
+ xz.1
+ xzdec.1
+ xzdiff.1
+ xzgrep.1
+ xzless.1
+ xzmore.1
+ # sys-apps/shadow
+ groups.1
+ su.1
+ # sys-apps/sysvinit
+ last.1
+ mesg.1
+ mountpoint.1
+ utmpdump.1
+ wall.1
+ halt.8
+ killall5.8
+ runlevel.8
+ sulogin.8
+ # sys-process/procps
+ free.1
+ pgrep.1
+ pmap.1
+ ps.1
+ pwdx.1
+ tload.1
+ uptime.1
+ sysctl.conf.5
+ sysctl.8
+ vmstat.8
+ # sys-process/psmisc
+ fuser.1
+ killall.1
+ peekfd.1
+ prtstat.1
+ pslog.1
+ pstree.1
+ )
+
+ for f in "${noinst_manpages[@]}"; do
+ rm po/*/"man${f##*.}/${f}.po" || die
+ done
+}
+
+src_configure() {
+ econf --enable-compression=none
+}