aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/balsa/balsa_2.4.7.bb
blob: 70d704bed272510b23a7cb3316842e72883355f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
DESCRIPTION = "Robust and configurable e-mail client for GNOME"
HOMEPAGE = "http://pawsa.fedorapeople.org/balsa/"
SECTION = "x11/network"
LICENSE = "GPL"
SRC_URI = "http://pawsa.fedorapeople.org/balsa/${P}.tar.bz2 \
           file://obsolete-icon.patch"
PR = "r1"

DEPENDS = "glib-2.0 gmime gnome-doc-utils-native gnome-icon-theme gtk+ intltool-native libesmtp libxml-parser-perl-native libxslt-native"
RDEPENDS_${PN} = "gnome-icon-theme"
# FIXME: It is possible to build several variants of balsa: lite (SSL, gqlite/GPE, maybe HTML),
# standard (GNOME, spell checking, HTML), full (Kerberos, LDAP, PGP, Rubrica, X-Face)

# Options for regular expressions are: NONE (POSIX) glib-2.0 (GRegex) libpcre (PCRE)
DEPENDS += ""

# Options for remote activation are: libbonobo libunique
DEPENDS += "libunique"

# Options for HTML view are: gtkhtml-2.0(gtkhtml2) gtkhtml-3.0(gtkhtml3) webkit-gtk(webkit) NONE
DEPENDS += "webkit-gtk"

# Optional dependencies (missing in OE): Spell checking
#DEPENDS += "gtkspell"

# Optional dependencies: desktop notification:
DEPENDS += "libnotify"

# Optional dependencies: SSL support:
DEPENDS += "openssl"

# Optional dependencies: GPE addressbook:
DEPENDS += "sqlite"

# Optional dependencies: GNOME:
DEPENDS += "gconf libgnome libgnomeui"
#DEPENDS += "gnome-keyring"

# Optional dependencies: PGP support:
#DEPENDS += "gpgme"

# Optional dependencies: view source:
#DEPENDS += "gtksourceview2"

# Optional dependencies: LDAP:
#DEPENDS += "openldap"

# Options for optional Kerberos 5: heimdal (not in OE) krb5
#DEPENDS += "krb5"

# Optional dependencies: automatic online/offline with NetworkManager:
#DEPENDS += "networkmanager"

# Optional dependencies: Rubrica addressbook:
#DEPENDS += "libxml2"

# Optional dependencies (not yet in OE): X-Face support:
#DEPENDS += "compface"

# Optional dependencies: sound support:
#DEPENDS += "libcanberra"

# FIXME: doc build requires docbook4 and gnome-doc-utils

inherit autotools gtk-icon-cache

EXTRA_OECONF="--with-ssl \
	      --without-gnome \
	      --disable-scrollkeeper \
	      --enable-smime \
	      --with-sqlite \
	      --with-ssl \
	      --with-html-widget=webkit \
	      --with-unique \
	      --without-gtkspell \
	      --without-nm \
"
# Broken (does not compile, crashes after symbol fix):
#	      --enable-touch-ui \
# Not enabled:
#	      --with-gtkspell \
#	      --with-gpgme \
#	      --with-gtksourceview \
#	      --with-rubrica \
#	      --with-gss \
#	      --with-ldap \
#	      --with-compface \
#	      --with-canberra \

do_configure_prepend() {
	# doc is not yet buildable with OE
	sed -i -e 's: doc : :g' ${S}/Makefile.am
	# aclocal seems to insist on looking in here.  Make sure it exists.
	mkdir -p ${S}/m4
}

SRC_URI[md5sum] = "fb9597446dfe8adcfae4a0928da336f7"
SRC_URI[sha256sum] = "581326a68a52f8344c900ca47d862536821bc5864c38b09cb6c333722a212952"