3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{9..10} )
|
|
6 |
PYTHON_COMPAT=( python3_{9..11} )
|
7 |
7 |
|
8 |
8 |
inherit autotools desktop python-any-r1 xdg
|
9 |
9 |
|
... | ... | |
15 |
15 |
EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git"
|
16 |
16 |
else
|
17 |
17 |
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
18 |
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
|
|
18 |
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
19 |
19 |
fi
|
20 |
20 |
|
21 |
21 |
SLOT="0"
|
22 |
22 |
LICENSE="GPL-3"
|
23 |
23 |
|
24 |
|
IUSE="+appindicator archive bogofilter calendar clamav dbus debug doc gdata +gnutls +imap ipv6 ldap +libcanberra +libnotify litehtml networkmanager nls nntp +notification pdf perl +pgp rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
|
24 |
IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls +imap ldap +libcanberra +libnotify litehtml networkmanager nls nntp +notification +oauth pdf perl +pgp rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
|
25 |
25 |
REQUIRED_USE="
|
26 |
|
appindicator? ( notification )
|
27 |
26 |
libcanberra? ( notification )
|
28 |
27 |
libnotify? ( notification )
|
29 |
28 |
networkmanager? ( dbus )
|
|
29 |
oauth? ( gnutls )
|
30 |
30 |
smime? ( pgp )
|
31 |
31 |
"
|
32 |
32 |
|
33 |
33 |
COMMONDEPEND="
|
|
34 |
>=dev-libs/glib-2.36:2
|
34 |
35 |
dev-libs/nettle:=
|
35 |
36 |
net-mail/ytnef
|
36 |
37 |
sys-libs/zlib:=
|
... | ... | |
45 |
46 |
)
|
46 |
47 |
bogofilter? ( mail-filter/bogofilter )
|
47 |
48 |
calendar? (
|
|
49 |
dev-lang/perl:=
|
48 |
50 |
>=dev-libs/libical-2.0.0:=
|
49 |
51 |
>=net-misc/curl-7.9.7
|
50 |
52 |
)
|
... | ... | |
57 |
59 |
imap? ( >=net-libs/libetpan-0.57 )
|
58 |
60 |
ldap? ( >=net-nds/openldap-2.0.7:= )
|
59 |
61 |
litehtml? (
|
60 |
|
>=dev-libs/glib-2.36:2
|
61 |
62 |
>=dev-libs/gumbo-0.10
|
62 |
63 |
net-misc/curl
|
63 |
64 |
media-libs/fontconfig
|
... | ... | |
65 |
66 |
nls? ( >=sys-devel/gettext-0.18 )
|
66 |
67 |
nntp? ( >=net-libs/libetpan-0.57 )
|
67 |
68 |
notification? (
|
68 |
|
dev-libs/glib:2
|
69 |
|
appindicator? ( dev-libs/libindicate:3[gtk] )
|
70 |
69 |
libcanberra? ( media-libs/libcanberra[gtk3] )
|
71 |
70 |
libnotify? ( x11-libs/libnotify )
|
72 |
71 |
)
|
|
72 |
perl? ( dev-lang/perl:= )
|
73 |
73 |
pdf? ( app-text/poppler[cairo] )
|
74 |
74 |
pgp? ( >=app-crypt/gpgme-1.0.0:= )
|
|
75 |
rss? (
|
|
76 |
dev-libs/libxml2
|
|
77 |
net-misc/curl
|
|
78 |
)
|
75 |
79 |
session? (
|
76 |
80 |
x11-libs/libICE
|
77 |
81 |
x11-libs/libSM
|
... | ... | |
99 |
103 |
clamav? ( app-antivirus/clamav )
|
100 |
104 |
networkmanager? ( net-misc/networkmanager )
|
101 |
105 |
pdf? ( app-text/ghostscript-gpl )
|
102 |
|
perl? ( dev-lang/perl:= )
|
103 |
|
rss? (
|
104 |
|
dev-libs/libxml2
|
105 |
|
net-misc/curl
|
106 |
|
)
|
107 |
106 |
"
|
108 |
107 |
|
109 |
108 |
PATCHES=(
|
110 |
109 |
"${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch"
|
111 |
|
"${FILESDIR}/${PN}-4.1.0-perl-5.36.patch"
|
112 |
|
"${FILESDIR}/${PN}-4.1.0-disable_gnutls.patch"
|
|
110 |
"${FILESDIR}/${PN}-4.1.1-fix_lto.patch"
|
113 |
111 |
)
|
114 |
112 |
|
115 |
113 |
src_prepare() {
|
... | ... | |
126 |
124 |
--disable-dillo-plugin
|
127 |
125 |
--disable-generic-umpc
|
128 |
126 |
--disable-jpilot #735118
|
|
127 |
--disable-python-plugin
|
129 |
128 |
--enable-acpi_notifier-plugin
|
130 |
129 |
--enable-address_keeper-plugin
|
131 |
130 |
--enable-alternate-addressbook
|
132 |
131 |
--enable-att_remover-plugin
|
133 |
132 |
--enable-attachwarner-plugin
|
134 |
133 |
--enable-fetchinfo-plugin
|
|
134 |
--enable-ipv6
|
135 |
135 |
--enable-mailmbox-plugin
|
136 |
136 |
--enable-newmail-plugin
|
137 |
137 |
--enable-tnef_parse-plugin
|
... | ... | |
145 |
145 |
$(use_enable doc manual)
|
146 |
146 |
$(use_enable gdata gdata-plugin)
|
147 |
147 |
$(use_enable gnutls)
|
148 |
|
$(use_enable ipv6)
|
149 |
148 |
$(use_enable ldap)
|
150 |
149 |
$(use_enable litehtml litehtml_viewer-plugin)
|
151 |
150 |
$(use_enable networkmanager)
|
152 |
151 |
$(use_enable nls)
|
153 |
152 |
$(use_enable notification notification-plugin)
|
|
153 |
$(use_enable oauth oauth2)
|
154 |
154 |
$(use_enable pdf pdf_viewer-plugin)
|
155 |
155 |
$(use_enable perl perl-plugin)
|
156 |
156 |
$(use_enable pgp pgpcore-plugin)
|
157 |
157 |
$(use_enable pgp pgpinline-plugin)
|
158 |
158 |
$(use_enable pgp pgpmime-plugin)
|
159 |
|
--disable-python-plugin
|
160 |
159 |
$(use_enable rss rssyl-plugin)
|
161 |
160 |
$(use_enable session libsm)
|
162 |
161 |
$(use_enable sieve managesieve-plugin)
|