summaryrefslogtreecommitdiff
path: root/community/pidgin-libnotify
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-18 17:12:10 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-18 17:12:10 +0100
commitfb5b6b28f363547abcbfa026fcae050236861425 (patch)
tree850e29f1f9f42ada20e1c6818316988505970dae /community/pidgin-libnotify
parent67eabbfbd9364ee57f122c9ec9a03dd61bba850b (diff)
parentab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/ettercap/PKGBUILD community/mplayer2/PKGBUILD community/nginx/PKGBUILD community/pidgin-libnotify/PKGBUILD core/util-linux/PKGBUILD extra/aspell-pt/PKGBUILD extra/glpk/PKGBUILD extra/libgdiplus/PKGBUILD extra/llvm/PKGBUILD extra/mesa/PKGBUILD extra/rhythmbox/PKGBUILD extra/texmacs/PKGBUILD
Diffstat (limited to 'community/pidgin-libnotify')
-rw-r--r--community/pidgin-libnotify/PKGBUILD20
-rw-r--r--community/pidgin-libnotify/pidgin-libnotify-showbutton.patch10
2 files changed, 23 insertions, 7 deletions
diff --git a/community/pidgin-libnotify/PKGBUILD b/community/pidgin-libnotify/PKGBUILD
index 602168012..c56be9118 100644
--- a/community/pidgin-libnotify/PKGBUILD
+++ b/community/pidgin-libnotify/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pidgin-libnotify
pkgver=0.14
-pkgrel=5
+pkgrel=6
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="pidgin plugin that enables popups when someone logs in or messages you."
url="http://gaim-libnotify.sourceforge.net/"
@@ -14,16 +14,22 @@ makedepends=('libtool' 'intltool')
replaces=('gaim-libnotify')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/gaim-libnotify/$pkgname-$pkgver.tar.gz language_fixes.patch
- pidgin-libnotify-0.14-libnotify-0.7.patch)
-md5sums=('bfb5368b69c02d429b2b17c00a6673c0'
- 'e9bdbb3c7faa61f062fc64277457b6c0'
- '05538625f14d9f2c12adae5fa6a1fa26')
+ pidgin-libnotify-0.14-libnotify-0.7.patch pidgin-libnotify-showbutton.patch)
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i "$srcdir/language_fixes.patch"
- patch -p0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch"
+ patch -Np1 -i "$srcdir/language_fixes.patch"
+ patch -Np0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch"
+ patch -Np0 -i "$srcdir/pidgin-libnotify-showbutton.patch"
+
./configure --prefix=/usr --disable-deprecated --disable-static
make
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
+md5sums=('bfb5368b69c02d429b2b17c00a6673c0'
+ 'e9bdbb3c7faa61f062fc64277457b6c0'
+ '05538625f14d9f2c12adae5fa6a1fa26'
+ 'efe1e86aa1e0bc9f7d20efe7f34ad4a7')
diff --git a/community/pidgin-libnotify/pidgin-libnotify-showbutton.patch b/community/pidgin-libnotify/pidgin-libnotify-showbutton.patch
new file mode 100644
index 000000000..1f84e6025
--- /dev/null
+++ b/community/pidgin-libnotify/pidgin-libnotify-showbutton.patch
@@ -0,0 +1,10 @@
+--- src/pidgin-libnotify.c.orig 2007-10-01 20:52:38.000000000 +1000
++++ src/pidgin-libnotify.c 2007-10-01 20:53:20.000000000 +1000
+@@ -307,6 +307,7 @@
+ g_hash_table_insert (buddy_hash, contact, notification);
+
+ g_object_set_data (G_OBJECT(notification), "contact", contact);
++ g_object_set_data (G_OBJECT(notification), "buddy", buddy);
+
+ g_signal_connect (notification, "closed", G_CALLBACK(closed_cb), NULL);
+