1 # Maintainer: Eugen Zagorodniy <e dot zagorodniy at gmail dot com>
2 # Contributor: Evangelos Foutras <evangelos@foutrelis.com>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
11 arch=('i686' 'x86_64')
12 url="http://pidgin.im/"
14 pkgdesc="Pidgin with patch for ticket 10593"
15 depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
16 'gstreamer0.10' 'hicolor-icon-theme')
17 makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
18 'python2' 'hicolor-icon-theme' 'silc-toolkit' 'gstreamer0.10'
19 'farsight2' 'avahi' 'tk' 'ca-certificates' 'intltool'
21 optdepends=('aspell: for spelling correction'
22 'ca-certificates: SSL CA certificates'
23 'gstreamer0.10-good-plugins: video and voice support'
24 'tk: Tcl/Tk scripting support')
28 install=pidgin.install
29 source=(http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2
31 http://developer.pidgin.im/raw-attachment/ticket/10593/pidgin-ticket-10593.patch)
32 md5sums=('e1453c9093c4f32beec19abd14069a3f'
33 'a673659d86c7a65aa710f7c8c7feda82'
34 '0ed981c84e06ac0a1dbc784f3701c2b2')
37 cd "$srcdir/pidgin-$pkgver"
39 # Further fixes for NetworkManager 0.9
40 # http://developer.pidgin.im/ticket/13859
41 patch -Np1 -i "$srcdir/nm09-more.patch"
43 # #10593: Tray notification for jabber groupchats
44 # http://developer.pidgin.im/ticket/10593
45 patch -Np1 -i "$srcdir/pidgin-ticket-10593.patch"
48 sed -i 's/env python$/\02/' */plugins/*.py \
49 libpurple/purple-{remote,notifications-example,url-handler}
54 --disable-schemas-install \
60 --with-python=/usr/bin/python2 \
61 --with-system-ssl-certs=/etc/ssl/certs
66 cd "$srcdir/pidgin-$pkgver"
69 make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
71 make -C pidgin DESTDIR="$pkgdir" install
72 make -C doc DESTDIR="$pkgdir" install
74 # Remove files that are packaged in libpurle
75 make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
77 install -Dm644 pidgin.desktop "$pkgdir"/usr/share/applications/pidgin.desktop
79 rm "$pkgdir/usr/share/man/man1/finch.1"