mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/man-pages-l10n: add 4.30.0
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST manpages-l10n-4.28.0.tar.bz2 137725559 BLAKE2B 30b7f57f1b25302f63eb116852d207bd2644868ec0d3e43cea94a8b3c7fd3ece90ff5e5090279290083b6050501d767ad6d4d7de384932a2aab558844c230515 SHA512 bf1827e72feec87414c0335dd1f9ce01df4b4d33bcdbc531e4adda3dcf0cf2bf04b40b6aa6803abd3ea7a120502c9957b7254881fee3c1bd9a112924173e97d1
|
||||
DIST manpages-l10n-4.29.1.tar.bz2 136572836 BLAKE2B ca380b3d10b80cb3f71cbbbcbf47dbe9f14ab349a66f3754d7efef1e0e0f9cdc6b79bf9de4c69b9a9acb6b5b61ad8c24abb27d63143d357972d4076b8afa80d4 SHA512 fd54516a631bfa031bba84a6801616839b95e7f39c6db656c2fc36f7fd110f33c4d813e9e539b0562518dc2f7e4e965919d8bd8963ac76eb37c93d82a26b76e7
|
||||
DIST manpages-l10n-4.30.0.tar.bz2 139438290 BLAKE2B 9bd50f3c6623dd68481c70e95ebcce8f6c50b86f124fcd049d0c1770d4099d762bde81ad547ead6162ddd72eca72875a2d7d1fcc029ff3aed6284c3c035d0843 SHA512 8034acf7dc25c71628a5b789480cd52ecf2aaccb674eb926e94f431abaad226a01344ce6c9f732c6751bd48a6c7340fda1bf3f5e121cf39c06c54be5053f1e56
|
||||
|
||||
50
app-i18n/man-pages-l10n/man-pages-l10n-4.30.0.ebuild
Normal file
50
app-i18n/man-pages-l10n/man-pages-l10n-4.30.0.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2026 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
# fa omitted because of missing rtl support in *roff
|
||||
MY_L10N=(cs da de el es fi fr hu id it ko mk nb nl pl pt-BR ro ru sr sv uk vi)
|
||||
IUSE="${MY_L10N[@]/#/l10n_}"
|
||||
# Require at least one language, otherwise the package would be empty.
|
||||
# Unfortunately, this triggers a RequiredUseDefaults pkgcheck warning.
|
||||
REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
|
||||
|
||||
RDEPEND="virtual/man
|
||||
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=(
|
||||
# sys-apps/shadow
|
||||
groups.1
|
||||
# sys-apps/sysvinit
|
||||
killall5.8
|
||||
runlevel.8
|
||||
shutdown.8
|
||||
)
|
||||
|
||||
for f in "${noinst_manpages[@]}"; do
|
||||
rm po/*/"man${f##*.}/${f}.po" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --enable-compression=none
|
||||
}
|
||||
Reference in New Issue
Block a user