summaryrefslogtreecommitdiffstats
path: root/main/pidgin
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-11 14:34:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-11 14:34:23 +0000
commit238527a9fbde0cfce718601a19271bf33b82768f (patch)
tree98c80f9869e3a75646e928b8288227420270f626 /main/pidgin
parent8e5ea149bf2ebf7fe7f5282dc8596907004c3a8f (diff)
downloadaports-238527a9fbde0cfce718601a19271bf33b82768f.tar.bz2
aports-238527a9fbde0cfce718601a19271bf33b82768f.tar.xz
main/pidgin: upgrade to 2.10.1
Diffstat (limited to 'main/pidgin')
-rw-r--r--main/pidgin/APKBUILD20
-rw-r--r--main/pidgin/pidgin-libm.patch10
2 files changed, 25 insertions, 5 deletions
diff --git a/main/pidgin/APKBUILD b/main/pidgin/APKBUILD
index 7d2cfcd1a..0078fb446 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 000000000..f86e80572
--- /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) \