1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A lightweight email client and newsreader"
9 HOMEPAGE="http://sylpheed.sraoss.jp/"
10 SRC_URI="http://${PN}.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
12 LICENSE="GPL-2 LGPL-2.1"
14 KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
15 IUSE="crypt ipv6 ldap libressl nls oniguruma pda spell ssl xface"
17 CDEPEND="net-libs/liblockfile
19 crypt? ( app-crypt/gpgme )
20 ldap? ( net-nds/openldap )
21 nls? ( sys-devel/gettext )
22 oniguruma? ( dev-libs/oniguruma:= )
23 pda? ( app-pda/jpilot )
29 !libressl? ( dev-libs/openssl:0 )
30 libressl? ( dev-libs/libressl )
37 xface? ( media-libs/compface )"
39 DOCS="AUTHORS ChangeLog* NEW* PLUGIN* README* TODO*"
42 local htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
44 $(use_enable crypt gpgme) \
47 $(use_enable oniguruma) \
48 $(use_enable pda jpilot) \
49 $(use_enable spell gtkspell) \
51 $(use_enable xface compface) \
52 --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins \
53 --with-manualdir="${htmldir}"/manual \
54 --with-faqdir="${htmldir}"/faq \
64 cd plugin/attachment_tool
65 emake DESTDIR="${D}" install-plugin
66 docinto plugin/attachment_tool