diff options
Diffstat (limited to 'main/pidgin')
-rw-r--r-- | main/pidgin/APKBUILD | 20 | ||||
-rw-r--r-- | main/pidgin/pidgin-libm.patch | 10 |
2 files changed, 25 insertions, 5 deletions
diff --git a/main/pidgin/APKBUILD b/main/pidgin/APKBUILD index 7d2cfcd1a9..0078fb4467 100644 --- a/main/pidgin/APKBUILD +++ b/main/pidgin/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pidgin -pkgver=2.10.0 -pkgrel=4 +pkgver=2.10.1 +pkgrel=0 pkgdesc="graphical multi-protocol instant messaging client for X" url="http://pidgin.im/" arch="all" @@ -9,13 +9,22 @@ license="GPL" depends= makedepends="gtk+-dev intltool libsm-dev startup-notification-dev gtkspell-dev libxml2-dev gstreamer-dev libidn-dev dbus-glib-dev gnutls-dev - cyrus-sasl-dev ncurses-dev nss-dev" + cyrus-sasl-dev ncurses-dev nss-dev autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc finch libpurple $pkgname-lang" -source="http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2" +source="http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2 + pidgin-libm.patch + " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" + for i in $source; do + case "$i" in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + libtoolize || return 1 + aclocal -I m4macros && autoconf && automake || return 1 } build() { @@ -60,4 +69,5 @@ libpurple() { mv "$pkgdir"/usr/share/purple "$pkgdir"/usr/share/sounds \ "$subpkgdir"/usr/share/ } -md5sums="e1453c9093c4f32beec19abd14069a3f pidgin-2.10.0.tar.bz2" +md5sums="eafb06b4083a201fe22d310e897a19dd pidgin-2.10.1.tar.bz2 +3cf0c3a476007781f4b0d855817cf58a pidgin-libm.patch" diff --git a/main/pidgin/pidgin-libm.patch b/main/pidgin/pidgin-libm.patch new file mode 100644 index 0000000000..f86e805723 --- /dev/null +++ b/main/pidgin/pidgin-libm.patch @@ -0,0 +1,10 @@ +--- ./pidgin/Makefile.am.orig ++++ ./pidgin/Makefile.am +@@ -148,6 +148,7 @@ + pidgin_DEPENDENCIES = @LIBOBJS@ + pidgin_LDFLAGS = -export-dynamic + pidgin_LDADD = \ ++ -lm \ + @LIBOBJS@ \ + $(GLIB_LIBS) \ + $(DBUS_LIBS) \ |