mail-client/sylpheed: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 10 Oct 2015 23:58:45 +0000 (19:58 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 10 Oct 2015 23:58:45 +0000 (19:58 -0400)
Package-Manager: portage-2.2.20.1

mail-client/sylpheed/sylpheed-3.4.3-r1.ebuild [new file with mode: 0644]
mail-client/sylpheed/sylpheed-3.4.3.ebuild

diff --git a/mail-client/sylpheed/sylpheed-3.4.3-r1.ebuild b/mail-client/sylpheed/sylpheed-3.4.3-r1.ebuild
new file mode 100644 (file)
index 0000000..febe593
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="A lightweight email client and newsreader"
+HOMEPAGE="http://sylpheed.sraoss.jp/"
+SRC_URI="http://${PN}.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="crypt ipv6 ldap libressl nls oniguruma pda spell ssl xface"
+
+CDEPEND="x11-libs/gtk+:2
+       crypt? ( app-crypt/gpgme )
+       ldap? ( net-nds/openldap )
+       nls? ( sys-devel/gettext )
+       oniguruma? ( dev-libs/oniguruma )
+       pda? ( app-pda/jpilot )
+       spell? ( app-text/gtkspell:2 )
+       ssl? (
+               !libressl? ( dev-libs/openssl:0 )
+               libressl? ( dev-libs/libressl )
+       )"
+RDEPEND="${CDEPEND}
+       app-misc/mime-types
+       net-misc/curl"
+DEPEND="${CDEPEND}
+       virtual/pkgconfig
+       xface? ( media-libs/compface )"
+
+src_configure() {
+       local htmldir=/usr/share/doc/${PF}/html
+       econf \
+               $(use_enable crypt gpgme) \
+               $(use_enable ipv6) \
+               $(use_enable ldap) \
+               $(use_enable oniguruma) \
+               $(use_enable pda jpilot) \
+               $(use_enable spell gtkspell) \
+               $(use_enable ssl) \
+               $(use_enable xface compface) \
+               --with-manualdir=${htmldir}/manual \
+               --with-faqdir=${htmldir}/faq \
+               --disable-updatecheck
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       dodoc AUTHORS ChangeLog* NEWS* PLUGIN* README* TODO*
+
+       doicon *.png
+       domenu *.desktop
+
+       cd plugin/attachment_tool
+       docinto plugin/attachment_tool
+       emake DESTDIR="${D}" install-plugin
+       dodoc README
+}
index 5bd6d3803ee5d8f84b3163fe249d136fb26d0433..1b53b30d7e68b1d56dcc40fa16e6ee1438b50cf3 100644 (file)
@@ -22,7 +22,7 @@ CDEPEND="x11-libs/gtk+:2
        oniguruma? ( dev-libs/oniguruma )
        pda? ( app-pda/jpilot )
        spell? ( app-text/gtkspell:2 )
-       ssl? ( dev-libs/openssl )"
+       ssl? ( dev-libs/openssl:0 )"
 RDEPEND="${CDEPEND}
        app-misc/mime-types
        net-misc/curl"