summaryrefslogtreecommitdiff
path: root/community/ubuntuone-client/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ubuntuone-client/PKGBUILD')
-rw-r--r--community/ubuntuone-client/PKGBUILD31
1 files changed, 14 insertions, 17 deletions
diff --git a/community/ubuntuone-client/PKGBUILD b/community/ubuntuone-client/PKGBUILD
index 31e198468..296bed607 100644
--- a/community/ubuntuone-client/PKGBUILD
+++ b/community/ubuntuone-client/PKGBUILD
@@ -1,37 +1,34 @@
-# $Id: PKGBUILD 72611 2012-06-17 13:44:37Z bgyorgy $
+# $Id: PKGBUILD 77827 2012-10-15 01:33:32Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=ubuntuone-client
-pkgver=3.0.2
+pkgver=4.0.0
pkgrel=1
pkgdesc="Ubuntu One helps you store, sync and share files between your computers"
arch=('i686' 'x86_64')
url="https://launchpad.net/ubuntuone-client"
license=('GPL')
depends=('dbus-glib' 'python2-configglue' 'python2-distribute' 'libnotify' 'python2-gobject2' 'python2-pyinotify' 'python-simplejson' 'ubuntu-sso-client' 'python2-ubuntuone-storageprotocol' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool' 'imake' 'gobject-introspection' 'vala')
-optdepends=('ubuntu-sso-client-qt: required for first-time log in or'
- 'ubuntu-sso-client-gtk: required for first-time log in'
- 'python2-pyqt: proxy support')
+makedepends=('intltool' 'imake' 'gobject-introspection')
options=('!libtool')
install=$pkgname.install
-source=(http://launchpad.net/ubuntuone-client/stable-3-0/$pkgver/+download/$pkgname-$pkgver.tar.gz
- http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20120513.tar.gz)
-md5sums=('5251fad8d316e8730188078239a4dd73'
- '6f4603f11ea21d030bfaef34d3567f68')
+source=(http://launchpad.net/ubuntuone-client/stable-4-0/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ 1339_1338.diff
+ fix-notify-hint.patch)
+md5sums=('738039703d4dcf54518a725f8ffbc4de'
+ 'e82e80c229de06692988c1f938a34fb9'
+ '54dfeb2be011f0a12ea7cfa0f0c19bec')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
- # Install language files
- echo 'ace af am an ar ast az be bg bn bo br bs ca ca@valencia ckb crh cv cy cs csb da de el en_AU en_CA en_GB eo es et eu fa fi fo fr fy gd gl gu he hi hr hu hy id is it ja jv kk km kn ko ku ky lt lv ml mr ms my nb nds nl nn oc pl pt pt_BR ro ru sd shn si sk sl sq sr sv ta te th tr ug uk ur uz vi zh_CN zh_HK zh_TW' >po/LINGUAS
- rename $pkgname- '' ../po/$pkgname-*.po
- mv -f -t po ../po/*
+ # Improve TransfersMenu declaration to avoid problems
+ patch -Np0 -i "$srcdir/1339_1338.diff"
- # Fix desktop file
- sed -i 's/ubuntuone-installer/ubuntuone-control-panel-qt/' \
- ubuntuone/platform/linux/{messaging,launcher}.py
+ # Workaround for crash in notification-daemon
+ # https://bugzilla.gnome.org/show_bug.cgi?id=665166
+ patch -Np1 -i "$srcdir/fix-notify-hint.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
--disable-static \