diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-04-29 10:01:17 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-04-29 10:40:25 +0200 |
commit | d6840415834f92dc49bdf184c08e2a77fb1412e5 (patch) | |
tree | fda8ef8e0cd3b85beadd300e950af7ddb38c65b7 | |
parent | dev-ml/ordering: Stabilize 3.6.2 arm, #901629 (diff) | |
download | gentoo-d6840415834f92dc49bdf184c08e2a77fb1412e5.tar.gz gentoo-d6840415834f92dc49bdf184c08e2a77fb1412e5.tar.bz2 gentoo-d6840415834f92dc49bdf184c08e2a77fb1412e5.zip |
app-i18n/man-pages-l10n: add 4.18.1
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | app-i18n/man-pages-l10n/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/man-pages-l10n/man-pages-l10n-4.18.1.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest index 5654725d17f3..0d620b1a47cd 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-4.18.1.tar.bz2 110701567 BLAKE2B 107529345eabf24a2c63ef859504ff5b0d0a44fbb521f82053e03ab7c6e8ca7d1c147d36554a488f5b99d25b1aa326c50b2d61d2c1d2b7f0de959447647a372a SHA512 7975aa7118eaefee3dceba5f60be5a413abb9a48d1ec51c536bda9a742ece897196df17633349b55aac37b76319d0360f7dadbe9191514551cb7d0496710a690 diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.18.1.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.18.1.ebuild new file mode 100644 index 000000000000..7ec9425f175a --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.18.1.ebuild @@ -0,0 +1,81 @@ +# 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" +# fa and ko omitted because of build failures (patches are welcome!) +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_it? ( !app-i18n/man-pages-it ) + 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 +} |