summaryrefslogtreecommitdiffstats
path: root/pidgin/Pkgfile
blob: 8fbb6d6bcc34b430ce926c9f05b63019ce6e70b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Description: Client messagerie instantanée
# URL:  http://www.pidgin.im
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtkspell, gtk, libxml2, p5-xml-parser, gnutls, nss, nspr, xorg-libxscrnsaver, xorg-libsm, gstreamer, startup-notification, hicolor-icon-theme, libidn, farstream, dbus, networkmanager
# Run on: gtkspell,gtk,libxml2,gnutls,nss,nspr,xorg-libxscrnsaver,gstreamer,startup-notification,hicolor-icon-theme,libidn,farstream,dbus

name=pidgin
version=2.10.2
release=2
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2
	port-to-farstream-v3.patch )

build() {
	cd $name-$version
	patch -p1 < ../port-to-farstream-v3.patch
	autoreconf -if
	sed -i "s#env python#env python2#" */plugins/*.py
	sed -i "s#env python#env python2#" libpurple/purple-{remote,notifications-example,url-handler}
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-gevolution \
		--disable-meanwhile \
		--enable-avahi \
		--enable-gtkspell \
		--disable-mono \
		--enable-tk \
		--disable-cap \
		--disable-schemas-install \
		--enable-gnutls=yes \
		--with-python=/usr/bin/python2
	 
	make
	make DESTDIR=$PKG install
#	rm -rf $PKG/{etc,usr/lib/perl5}
}