fa973f4b8df4690a8fcc10a9b36a854cbd69cd52
[gentoo.git] / dev-util / intltool / intltool-0.51.0-r2.ebuild
1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=6
5
6 DESCRIPTION="Internationalization Tool Collection"
7 HOMEPAGE="https://launchpad.net/intltool/"
8 SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
13 IUSE=""
14
15 DEPEND="
16         dev-lang/perl
17         dev-perl/XML-Parser
18 "
19 RDEPEND="${DEPEND}
20         sys-devel/gettext
21 "
22 DOCS=( AUTHORS ChangeLog NEWS README TODO doc/I18N-HOWTO )
23
24 PATCHES=(
25         # Fix handling absolute paths in single file key output, bug #470040
26         # https://bugs.launchpad.net/intltool/+bug/1168941
27         "${FILESDIR}"/${PN}-0.50.2-absolute-paths.patch
28         "${FILESDIR}"/${PN}-0.51.0-perl-5.22.patch
29         "${FILESDIR}"/${PN}-0.51.0-perl-5.26.patch
30 )