diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-07-09 12:14:01 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-07-09 22:42:19 +0200 |
commit | 2f08b53254f8970dd86d9d864b57fa8ee497bed7 (patch) | |
tree | ebbc5f3970ce5340742e4d86543d54e04819c745 /app-i18n/man-pages-l10n | |
parent | dev-python/pygraphviz: Stabilize 1.11 amd64, #910125 (diff) | |
download | gentoo-2f08b53254f8970dd86d9d864b57fa8ee497bed7.tar.gz gentoo-2f08b53254f8970dd86d9d864b57fa8ee497bed7.tar.bz2 gentoo-2f08b53254f8970dd86d9d864b57fa8ee497bed7.zip |
app-i18n/man-pages-l10n: add 4.19.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/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/man-pages-l10n/man-pages-l10n-4.19.0.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest index ecc0fd740ea7..0d7f1a2efbc1 100644 --- a/app-i18n/man-pages-l10n/Manifest +++ b/app-i18n/man-pages-l10n/Manifest @@ -1,2 +1,3 @@ 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 +DIST manpages-l10n-4.19.0.tar.bz2 112228176 BLAKE2B fd00f3b2881814ac80cb3da07202b5d7a9842b197b1313f70780e33af6b6a10981497fb1d75fb0d8d9d84e99533ce9702cf2bc6191d8dd9f1d11ac3209bea629 SHA512 036f9dd647504c168b0a9aaed757dbb583c2a3ca5431cddb370b1c8bac220228037a699420d6c2e184b046784d3eea2e96b439649e2617b6160e485d4d358011 diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.19.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.19.0.ebuild new file mode 100644 index 000000000000..c0c044b759b6 --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.19.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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_}" +# require at least one language lest we install an empty package +# pkgcheck warning: RequiredUseDefaults +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 + shutdown.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 +} |