1 # Maintainer: Gianfranco 'Gianfrix' Micoli <gianfrix.mg@gmail.com>
7 pkgdesc="A GNOME instant messaging client using the Telepathy framework."
9 url="http://live.gnome.org/Empathy"
11 depends=('telepathy-glib>=0.12.0' 'telepathy-mission-control>=5.6.0' 'folks>=0.2.0' 'telepathy-logger>=0.1.5' 'telepathy-farsight>=0.0.15'
12 'gnome-keyring>=2.32.0' 'gnutls' 'gconf>=2.32.0' 'evolution-data-server>=2.31.92' 'libcanberra>=0.25' 'libnotify' 'libunique'
13 'enchant' 'iso-codes' 'libwebkit' 'dconf>=0.5.1')
14 makedepends=('pkg-config' 'intltool' 'gnome-doc-utils>=0.20.1' 'nautilus-sendto')
15 optdepends=('telepathy-gabble: XMPP/Jabber support'
16 'telepathy-butterfly: MSN support'
17 'telepathy-idle: IRC support'
18 'telepathy-salut: Link-local XMPP support'
19 'telepathy-sofiasip: SIP support'
20 'telepathy-haze: libpurple support')
22 groups=('gnome-extra')
23 provides=('empathy=2.32.0.1')
25 install=empathy.install
26 source=(http://ftp.gnome.org/pub/GNOME/sources/${realname}/2.32/${realname}-${pkgver}.tar.bz2
27 http://archive.ubuntu.com/ubuntu/pool/main/e/empathy/empathy_2.32.0-0ubuntu2.debian.tar.bz2)
28 sha256sums=('df92bfb65a5eec73488ad95180c6ce6baf979292df197bcbb20de79f54a5c90c'
29 'c9f8bf24381b2192b707758c5d2d2b19dabfee650f7a35787f72525d214865a5')
32 cd "${srcdir}/${realname}-${pkgver}"
33 patch -Np1 -i ../debian/patches/02_notifications_focus.patch
34 patch -Np1 -i ../debian/patches/10_use_notify_osd_icons.patch
35 patch -Np1 -i ../debian/patches/11_empathy_accounts_category.patch
36 patch -Np1 -i ../debian/patches/20_libindicate.patch
37 patch -Np1 -i ../debian/patches/21_login_indicators.patch
38 patch -Np1 -i ../debian/patches/31_really_raise_window.patch
39 patch -Np1 -i ../debian/patches/34_start_raised_execpt_in_session.patch
40 patch -Np1 -i ../debian/patches/36_chat_window_default_size.patch
41 sed -i -e "s/python/python2/" tools/*.py
42 ./autogen.sh --prefix=/usr \
44 --libexecdir=/usr/lib/empathy \
45 --disable-schemas-compile
47 make DESTDIR="${pkgdir}" install
48 install -d ${pkgdir}/usr/share/indicators/messages/applications/
49 cp -vr ../debian/indicators/empathy ${pkgdir}/usr/share/indicators/messages/applications/