updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / empathy-ubuntu / PKGBUILD
blob7224312ea615fb32b5f3422ab79b99798046bfb4
1 # Maintainer: Gianfranco 'Gianfrix' Micoli <gianfrix.mg@gmail.com>
3 pkgname=empathy-ubuntu
4 realname=empathy
5 pkgver=2.32.0.1
6 pkgrel=1
7 pkgdesc="A GNOME instant messaging client using the Telepathy framework."
8 arch=('i686' 'x86_64')
9 url="http://live.gnome.org/Empathy"
10 license=('GPL2')
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')
21 options=('!libtool')
22 groups=('gnome-extra')
23 provides=('empathy=2.32.0.1')
24 conflicts=('empathy')
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')
31 build() {
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 \
43       --sysconfdir=/etc  \
44       --libexecdir=/usr/lib/empathy \
45       --disable-schemas-compile
46   make
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/