packages/mail-client/mail-notification/mail-notification-5.4.exheres-0 (1998B) - 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="Tray icon showing unread mail" 7 HOMEPAGE="http://www.nongnu.org/mailnotify/" 8 DOWNLOADS="http://savannah.nongnu.org/download/mailnotify/${PNV}.tar.bz2" 9 10 LICENCES="GPL-3" 11 SLOT="0" 12 PLATFORMS="~amd64 ~x86" 13 MYOPTIONS=" 14 ipv6 15 ssl 16 sasl 17 evolution [[ description = [ add support for checking Evolution mailboxes ] ]] 18 " 19 20 DEPENDENCIES=" 21 build: 22 sys-devel/gettext 23 dev-lang/perl:* 24 build+run: 25 gnome-platform/libgnomeui[>=2.15.90] 26 gnome-desktop/gnome-keyring 27 sys-apps/dbus 28 x11-libs/libnotify[>=0.4.1] 29 net-utils/gmime:2.0[>=2.2.7] 30 ssl? ( dev-libs/openssl[>=0.9.6] ) 31 sasl? ( net-libs/cyrus-sasl[>=2.0] ) 32 evolution? ( mail-client/evolution[>=2.12] ) 33 " 34 35 BUGS_TO="djc@djc.id.au" 36 37 DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/disable-icon-cache-update.patch" ) 38 39 function optionyn() { 40 local option="$1" var="${2:-$1}" 41 if option "$option" ; then 42 echo "$var=yes" 43 else 44 echo "$var=no" 45 fi 46 } 47 48 src_configure() { 49 edo ./jb configure \ 50 cc="${CC}" \ 51 cflags="${CFLAGS}" \ 52 cppflags="${CXXFLAGS}" \ 53 ldflags="${LDFLAGS}" \ 54 destdir="${IMAGE}" \ 55 prefix=/usr \ 56 bindir=/usr/bin \ 57 libdir=/usr/${LIBDIR} \ 58 libexecdir=/usr/libexec \ 59 datadir=/usr/share \ 60 sysconfdir=/etc \ 61 localstatedir=/var/lib \ 62 install-gconf-schemas=no \ 63 update-gtk-icon-cache=no \ 64 cc-dependency-tracking=no \ 65 $(optionyn evolution) \ 66 hotmail=no yahoo=no \ 67 $(optionyn ipv6) \ 68 $(optionyn ssl) \ 69 $(optionyn sasl) \ 70 regression-tests=no 71 # Tests call gnome_vfs_init which requires a writeable homedir 72 # https://bugzilla.gnome.org/show_bug.cgi?id=340234 73 } 74 75 src_compile() { 76 : 77 } 78 79 src_install() { 80 edo ./jb install 81 } 82