summaryrefslogtreecommitdiff
path: root/community/gwibber/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gwibber/PKGBUILD')
-rw-r--r--community/gwibber/PKGBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/community/gwibber/PKGBUILD b/community/gwibber/PKGBUILD
index d990ce73d..cfdf36be0 100644
--- a/community/gwibber/PKGBUILD
+++ b/community/gwibber/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 79486 2012-11-06 04:11:00Z bgyorgy $
+# $Id: PKGBUILD 83023 2013-01-26 16:24:38Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=gwibber
pkgver=3.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Microblogging client for GNOME, which supports Facebook, Identi.ca, Twitter, Flickr, Foursquare, Sina and Sohu"
arch=('i686' 'x86_64')
url="http://gwibber.com/"
@@ -12,13 +12,24 @@ depends=('libgee' 'account-plugins' 'libnotify' 'libsoup' 'dee' 'json-glib' 'gtk
makedepends=('intltool' 'vala')
options=('!libtool')
install=$pkgname.install
-source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('5988e36e9f592c6eca6537ba6878307a')
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ lp_934530.patch
+ lp_1051801.patch
+ lp_1088775.patch)
+md5sums=('5988e36e9f592c6eca6537ba6878307a'
+ '8c43ae0ed96c52602befeff640a8672a'
+ '0eb53f4f248a6c600b6c6dfaac12341f'
+ '5698a3b1699c018719b193362486c9b5')
build() {
cd "$srcdir/$pkgname-$pkgver"
find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ # Apply some fixes from Ubuntu
+ patch -Np1 -i "$srcdir/lp_934530.patch"
+ patch -Np1 -i "$srcdir/lp_1051801.patch"
+ patch -Np1 -i "$srcdir/lp_1088775.patch"
+
# Use the standalone accounts configuration panel
sed -i 's/"gnome-control-center", "credentials", "application=gwibber"/"credentials-preferences"/' client/gwibber-client.vala
sed -i 's/"gnome-control-center", "credentials"/"credentials-preferences"/' gwibber/microblog/dispatcher.py