summaryrefslogtreecommitdiff
path: root/recipes/balsa/balsa_2.4.2.bb
blob: 8cd91740b8b729a9511e88c94f92b488f3e0ba46 (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
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://libbalsa-gpe-corruption.patch;patch=1"
PR = "r1"

DEPENDS = "glib-2.0 gmime gnome-icon-theme gtk+ intltool-native libesmtp libxml-parser-perl-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 gtkhtml-3.0 webkit-gtk 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-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() {
	# aclocal seems to insist on looking in here.  Make sure it exists.
	mkdir -p ${S}/m4
}