summaryrefslogtreecommitdiffstats
path: root/main/pidgin
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-24 12:48:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-24 12:48:54 +0000
commit7dd6bfbca5cd07bc6656ba25d546367c76bf7908 (patch)
treefe3bbbab1ebffde391876f3348c44f65dabe3d6d /main/pidgin
parent0663aaec0ccfdb1838f133087268a4ad407a34fe (diff)
downloadaports-7dd6bfbca5cd07bc6656ba25d546367c76bf7908.tar.bz2
aports-7dd6bfbca5cd07bc6656ba25d546367c76bf7908.tar.xz
main/pidgin: fix sasl underlinking in libirc and enable avahi
Diffstat (limited to 'main/pidgin')
-rw-r--r--main/pidgin/APKBUILD18
-rw-r--r--main/pidgin/irc-underlinking.patch13
2 files changed, 26 insertions, 5 deletions
diff --git a/main/pidgin/APKBUILD b/main/pidgin/APKBUILD
index 622296dfa..2a52a42af 100644
--- a/main/pidgin/APKBUILD
+++ b/main/pidgin/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pidgin
pkgver=2.10.7
-pkgrel=1
+pkgrel=2
pkgdesc="graphical multi-protocol instant messaging client for X"
url="http://pidgin.im/"
arch="all"
@@ -9,11 +9,12 @@ 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 farstream0.1-dev
+ cyrus-sasl-dev ncurses-dev nss-dev farstream0.1-dev avahi-dev
autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc finch libpurple $pkgname-lang"
source="http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2
pidgin-underlinking.patch
+ irc-underlinking.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -28,14 +29,14 @@ prepare() {
aclocal -I m4macros && autoconf && automake --add-missing || return 1
}
-build() {
+build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
- --disable-avahi \
+ --enable-avahi \
--disable-doxygen \
--disable-gnutls \
--disable-meanwhile \
@@ -74,4 +75,11 @@ libpurple() {
"$subpkgdir"/usr/share/
}
md5sums="ea88976b9952e80b702b030489f94393 pidgin-2.10.7.tar.bz2
-9e7f42f8bc4284009dff50e8128bf4f9 pidgin-underlinking.patch"
+9e7f42f8bc4284009dff50e8128bf4f9 pidgin-underlinking.patch
+cdbce1effbc9beb7f4cf583f083785df irc-underlinking.patch"
+sha256sums="eba32994eca20d1cf24a4261b059b2de71a1ec2dd0926e904074b0db49f7f192 pidgin-2.10.7.tar.bz2
+3f086cb668806f3b69af4c7decd6618a16dbfdcd120df984713adafc5bc0aa09 pidgin-underlinking.patch
+a75625c8d1eb1d758f15cedaa87e51ed3e3d7ee5f5770ad1882059c590bebc6b irc-underlinking.patch"
+sha512sums="0f0d421f91be3b1577527f3609bff164d7c57a94338e18dca5d8b7d911634a98b9c0e8860f3e62026eba09a6afb3112a8cd6770a90c89afdb9fb40f83dd6f3e4 pidgin-2.10.7.tar.bz2
+307f284a7d1ad5277b8d198d8ee56806f063a8b72356726f89f31fad67aad3e3cd43c597556e7dce1804d2e8d92b350a968fcc851a11d851f70c7a375ab29559 pidgin-underlinking.patch
+75eb7af0e31ac3bbb3ad5c0641b7bdbe9c32b540f2e8902d8480213abed54c4cf438d5a2e59659aa40cc17ceda387928c4a05b320da874ff3e99a3edecf936d3 irc-underlinking.patch"
diff --git a/main/pidgin/irc-underlinking.patch b/main/pidgin/irc-underlinking.patch
new file mode 100644
index 000000000..e30f983dd
--- /dev/null
+++ b/main/pidgin/irc-underlinking.patch
@@ -0,0 +1,13 @@
+--- ./libpurple/protocols/irc/Makefile.am.orig 2013-09-24 12:35:56.771633963 +0000
++++ ./libpurple/protocols/irc/Makefile.am 2013-09-24 12:36:22.581943787 +0000
+@@ -27,7 +27,8 @@
+ st =
+ pkg_LTLIBRARIES = libirc.la
+ libirc_la_SOURCES = $(IRCSOURCES)
+-libirc_la_LIBADD = $(GLIB_LIBS)
++libirc_la_LIBADD = $(GLIB_LIBS) \
++ $(SASL_LIBS)
+
+ endif
+
+