diff options
Diffstat (limited to 'community/pidgin-gfire')
-rw-r--r-- | community/pidgin-gfire/PKGBUILD | 29 | ||||
-rw-r--r-- | community/pidgin-gfire/gfire-libnotify.patch | 21 |
2 files changed, 50 insertions, 0 deletions
diff --git a/community/pidgin-gfire/PKGBUILD b/community/pidgin-gfire/PKGBUILD new file mode 100644 index 000000000..c3f268c1a --- /dev/null +++ b/community/pidgin-gfire/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 73926 2012-07-17 06:00:57Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Slash <demodevil5[at]yahoo[dot]com> +# Contributor: LookTJ <jesus[dot]christ[dot]i[dot]love[at]gmail[dot]com> + +pkgname=pidgin-gfire +pkgver=0.9.4 +pkgrel=4 +pkgdesc="Gfire is an Plugin for the Pidgin IM client which allows you to connect the Xfire network." +arch=('i686' 'x86_64') +url="http://gfireproject.org/" +license=('GPL') +depends=('glib2' 'pidgin' 'libnotify' 'gtk2') +makedepends=('pkgconfig' 'intltool' 'libtool') +source=("http://downloads.sourceforge.net/gfire/pidgin-gfire-$pkgver.tar.bz2" "gfire-libnotify.patch") +md5sums=('7167828fd77200603a318afdd4d9ebd2' + '5d6fc2b98837fbebba6bef2648699d5e') +options=(!libtool) + +build() { + cd "$srcdir/pidgin-gfire-$pkgver" + + patch -p0 -i ../gfire-libnotify.patch + sed "/gthread.h/d" -i src/gf_base.h + ./autogen.sh + ./configure --prefix=/usr --enable-libnotify + make + make DESTDIR="$pkgdir" install +} diff --git a/community/pidgin-gfire/gfire-libnotify.patch b/community/pidgin-gfire/gfire-libnotify.patch new file mode 100644 index 000000000..51e744cd9 --- /dev/null +++ b/community/pidgin-gfire/gfire-libnotify.patch @@ -0,0 +1,21 @@ +--- src/gf_util.c 2011-03-14 21:19:46.987545000 +0100 ++++ src/gf_util.c 2011-04-18 03:36:24.970676551 +0200 +@@ -612,7 +612,7 @@ + if(!gfire_notify_init() || !p_title) + return; + +- NotifyNotification *notification = notify_notification_new(p_title, p_msg, NULL, NULL); ++ NotifyNotification *notification = notify_notification_new(p_title, p_msg, NULL); + notify_notification_set_urgency(notification, NOTIFY_URGENCY_NORMAL); + notify_notification_set_timeout(notification, NOTIFY_EXPIRES_DEFAULT); + g_signal_connect(notification, "closed", G_CALLBACK(gfire_notify_closed_cb), NULL); +@@ -637,7 +637,7 @@ + return; + } + +- notification = notify_notification_new(p_title, p_msg, NULL, NULL); ++ notification = notify_notification_new(p_title, p_msg, NULL); + + // Get Buddy Icon + PurpleBuddyIcon *icon = purple_buddy_get_icon(p_buddy); + |