diff options
Diffstat (limited to 'app-i18n/man-pages-l10n')
-rw-r--r-- | app-i18n/man-pages-l10n/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild | 73 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest index b86170fac21a..332cfb9fd3cb 100644 --- a/app-i18n/man-pages-l10n/Manifest +++ b/app-i18n/man-pages-l10n/Manifest @@ -1,3 +1,5 @@ +DIST manpages-l10n-v4.10.0.tar.bz2 64760050 BLAKE2B b70d8b0a48050538f7af90c248f3132dadd69e9eca0e3f438aeb6b8086aed8f70ee4d54af3608c602910fcfac68d1283971a9a1869b3854d1802794c56837b58 SHA512 59f5daa7acf29252af2c733d7084bfe9bccbbec19f5e8cf1855df420835fd934e072479149d679a90ae4e52330763599a20fbb5bc8459b8a44e5bcc1628ab501 DIST manpages-l10n-v4.2.0.tar.bz2 51747352 BLAKE2B 97c3e3fdb11b47753c9c179751fb001af0a9f79324d594d297981735f82b3917bd31fc5c100462d6093e621a98773f23543548efb957113ade39e9c315cd4d72 SHA512 b2de542fdb97868b5fa96f24947c7a37216dc6a6a5ee66142023dd1036017f7128ca26ac8367b0edbd76cfa049174892749efafef9dbf4221e90dd9166b82652 +EBUILD man-pages-l10n-4.10.0.ebuild 1793 BLAKE2B 2397c7a74d5e7c3ccfbe1876b6f7481bbd30a13e0b588ba512867f6c22e92ddb7e3f6ede9b48cb2833ad64654677b5bbca2f3445c12675b91c7f83dc5e43c203 SHA512 244c0416dd0ba943041c40856c850b69e0dfd584b37ecc01db8efebe4847227237ee8aac909c0cb5edfeece389b29a151673f26d7d29c8439055b7310b4ad643 EBUILD man-pages-l10n-4.2.0-r1.ebuild 1799 BLAKE2B 16720e493e97ef1144b96919c70f965a3ee52a2d45cfcfff02677a44ae842ad464119ea89f0b820676481a6248f327c06570e3015a4300caf74400664fb4b814 SHA512 654b3e9ab65b6a3dd8c500066833e4ed33dc6ccc908b8ae4895e5922d35e758ed8a3b3ac8951c0cf3af6baf8d43a2516dc5a614a21f57b6dde09a9b9672cab28 MISC metadata.xml 235 BLAKE2B a6e10699959bdc64d99b8c0b00f46388bdf0c1e125a9351c63e61aae65c6bd9f70ab55a9497f6a6dcf10b161022abdd23c50443193563ba83744c09d1d4cd9c6 SHA512 fdebae10dcd9eddfe7d9546337826902e38d3d0e7b7e6e140038bcb293c98ca81b096d203b5709f42948bfa8868fe2d68d1385fae6664505e14d9ac1541898f9 diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild new file mode 100644 index 000000000000..cc7410ba4530 --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 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" +MY_L10N=(de es fr it nl pl pt-BR ro) +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 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 + {de,es,nl,pl}/groups.1 + de/su.1 + # 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 +} |