1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 bs ca cs da de el es_AR es_CO es fr hu it ja nl no pl pt_BR pt_PT ru sv tr
10 inherit autotools eutils l10n
12 DESCRIPTION="MS-Explorer-like minimalist file manager for X"
13 HOMEPAGE="http://roland65.free.fr/xfe"
14 SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
18 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
19 IUSE="debug nls startup-notification"
23 x11-libs/fox:1.6[png,truetype]
26 startup-notification? ( x11-libs/startup-notification )
37 DOCS=( AUTHORS BUGS ChangeLog README TODO )
39 PATCHES=( "${FILESDIR}/${PN}-1.42-use_pkgconfig_for_freetype_and_xft.patch" )
44 cat >po/POTFILES.skip <<-EOF
53 # malformed LINGUAS file
54 # recent intltool expects newline for every linguas
56 -e '/^#/!s:\s\s*:\n:g' \
59 # remove not selected locales
60 rm_locale() { sed -i -e "/${1}/d" po/LINGUAS || die ;}
61 l10n_for_each_disabled_locale_do rm_locale
64 -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
74 $(use_enable startup-notification sn)
77 econf "${myeconfargs[@]}"