summaryrefslogtreecommitdiff
path: root/extra/akonadi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-09 00:51:01 -0700
committerroot <root@rshg054.dnsready.net>2013-06-09 00:51:01 -0700
commit7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (patch)
tree9ec661d7828b93bd4d24723647adc0701d87eda2 /extra/akonadi
parente90166c70f3a2bd27d8c914491f7e0510855fd3f (diff)
Sun Jun 9 00:50:45 PDT 2013
Diffstat (limited to 'extra/akonadi')
-rw-r--r--extra/akonadi/PKGBUILD24
-rw-r--r--extra/akonadi/boost153.patch27
2 files changed, 44 insertions, 7 deletions
diff --git a/extra/akonadi/PKGBUILD b/extra/akonadi/PKGBUILD
index def1e927f..79f45fecc 100644
--- a/extra/akonadi/PKGBUILD
+++ b/extra/akonadi/PKGBUILD
@@ -1,28 +1,38 @@
-# $Id: PKGBUILD 184322 2013-05-06 06:46:28Z andrea $
+# $Id: PKGBUILD 188070 2013-06-08 08:31:33Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=akonadi
pkgver=1.9.2
-pkgrel=1
+pkgrel=2
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('i686' 'x86_64')
url='http://community.kde.org/KDE_PIM/Akonadi'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mariadb' 'soprano')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
+makedepends=('cmake' 'automoc4' 'boost' 'postgresql')
+optdepends=('postgresql: PostgreSQL backend')
install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('bdce288f4b91055d69f35c26dab276d0')
+source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2"
+ 'boost153.patch')
+md5sums=('bdce288f4b91055d69f35c26dab276d0'
+ 'd797b338914c677fb6b93c0c23f46197')
+
+prepare() {
+ mkdir -p build
+
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/boost153.patch
+}
build() {
- mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
- -DQT_QMAKE_EXECUTABLE=qmake-qt4
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DAKONADI_BUILD_TESTS=OFF
make
}
diff --git a/extra/akonadi/boost153.patch b/extra/akonadi/boost153.patch
new file mode 100644
index 000000000..53ab4d91e
--- /dev/null
+++ b/extra/akonadi/boost153.patch
@@ -0,0 +1,27 @@
+From: Sergio Martins <iamsergio@gmail.com>
+Date: Tue, 28 May 2013 20:22:11 +0000
+Subject: Compile with boost-1.53
+X-Git-Url: http://quickgit.kde.org/?p=akonadi.git&a=commitdiff&h=fe3f49cbd21a634c3257903a229b7d5357ee194a
+---
+Compile with boost-1.53
+
+The bug isn't going to be fixed in Qt4, so we need the ifdef.
+
+CCMAIL: vkrause@kde.org
+---
+
+
+--- a/shared/akapplication.h
++++ b/shared/akapplication.h
+@@ -23,7 +23,9 @@
+ #include <QtCore/QObject>
+
+ #ifndef _WIN32_WCE
+-#include <boost/program_options.hpp>
++# ifndef Q_MOC_RUN
++# include <boost/program_options.hpp>
++# endif
+ #endif
+
+ class QCoreApplication;
+