packages/mail-client/mail-notification/mail-notification-scm.exheres-0 (2039B) - raw
1 # Copyright 2010 Dan Callaghan <djc@djc.id.au>
2 # Distributed under the terms of the GNU General Public License v2
3
4 require gnome-2 multilib
5
6 SUMMARY="Dan Callaghan's fork of mail-notification, a tray icon showing unread mail"
7 HOMEPAGE="http://github.com/danc86/mail-notification"
8 DOWNLOADS=""
9
10 SCM_REPOSITORY="git://github.com/danc86/mail-notification.git"
11 require scm-git
12
13 LICENCES="GPL-3"
14 SLOT="0"
15 PLATFORMS="~amd64 ~x86"
16 MYOPTIONS="
17 ipv6
18 ssl
19 sasl
20 evolution [[ description = [ add support for checking Evolution mailboxes ] ]]
21 "
22
23 DEPENDENCIES="
24 build:
25 sys-devel/gettext
26 dev-lang/perl:*
27 dev-util/gob2
28 build+run:
29 gnome-platform/libgnomeui[>=2.15.90]
30 gnome-desktop/gnome-keyring
31 sys-apps/dbus
32 x11-libs/libnotify[>=0.4.1]
33 net-utils/gmime:2.0[>=2.2.7]
34 ssl? ( dev-libs/openssl[>=0.9.6] )
35 sasl? ( net-libs/cyrus-sasl[>=2.0] )
36 evolution? ( mail-client/evolution[>=2.12] )
37 "
38
39 BUGS_TO="djc@djc.id.au"
40
41 function optionyn() {
42 local option="$1" var="${2:-$1}"
43 if option "$option" ; then
44 echo "$var=yes"
45 else
46 echo "$var=no"
47 fi
48 }
49
50 src_configure() {
51 edo ./jb configure \
52 cc="${CC}" \
53 cflags="${CFLAGS}" \
54 cppflags="${CXXFLAGS}" \
55 ldflags="${LDFLAGS}" \
56 destdir="${IMAGE}" \
57 prefix=/usr \
58 bindir=/usr/bin \
59 libdir=/usr/${LIBDIR} \
60 libexecdir=/usr/libexec \
61 datadir=/usr/share \
62 sysconfdir=/etc \
63 localstatedir=/var/lib \
64 install-gconf-schemas=no \
65 update-gtk-icon-cache=no \
66 cc-dependency-tracking=no \
67 $(optionyn evolution) \
68 hotmail=no yahoo=no \
69 $(optionyn ipv6) \
70 $(optionyn ssl) \
71 $(optionyn sasl) \
72 regression-tests=no
73 # Tests call gnome_vfs_init which requires a writeable homedir
74 # https://bugzilla.gnome.org/show_bug.cgi?id=340234
75 }
76
77 src_test() {
78 :
79 }
80
81 src_compile() {
82 :
83 }
84
85 src_install() {
86 edo ./jb install
87 }
88