1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Multilingual Library for Unix/Linux"
9 HOMEPAGE="https://savannah.nongnu.org/projects/m17n https://git.savannah.nongnu.org/cgit/m17n/m17n-lib.git"
10 SRC_URI="mirror://nongnu/m17n/${P}.tar.gz"
14 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
15 IUSE="X anthy athena bidi fontconfig gd libotf libxml2 spell xft"
17 RDEPEND="~dev-db/m17n-db-${PV}
20 athena? ( x11-libs/libXaw )
21 bidi? ( dev-libs/fribidi )
22 fontconfig? ( media-libs/fontconfig )
23 gd? ( media-libs/gd[png] )
24 libotf? ( dev-libs/libotf )
30 anthy? ( app-i18n/anthy )
31 libxml2? ( dev-libs/libxml2 )
32 spell? ( app-text/aspell )"
37 "${FILESDIR}"/${PN}-configure.patch
38 "${FILESDIR}"/${PN}-freetype.patch
39 "${FILESDIR}"/${PN}-ispell.patch
40 "${FILESDIR}"/${PN}-parallel-make.patch
47 # workaround for parallel install
48 sed -i "/^install-module/s/:/: install-libLTLIBRARIES/" src/Makefile.in
55 $(use_with spell ispell)
60 $(use_with bidi fribidi)
61 $(use_with fontconfig)
62 $(use_with xft freetype)