summaryrefslogtreecommitdiff
path: root/extra/akonadi
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 16:36:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 16:36:47 -0300
commit572f3b3bd973bfa7e64c4c42fe87c8e3a79b7c20 (patch)
tree89f43dd22eaacadfa97977de1f3b73285da15735 /extra/akonadi
parentcebf33d7109e0157a80f34d6136e212f0a28d274 (diff)
parent5898d76e47144f2366f9acda9ab52827b696c2d5 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/bitcoin/PKGBUILD community/ecryptfs-utils/PKGBUILD community/erlang/PKGBUILD community/esmtp/PKGBUILD community/gmic/PKGBUILD community/ibus-sunpinyin/PKGBUILD community/libev/PKGBUILD community/libmirage/PKGBUILD community/libraw/PKGBUILD community/lilypond/PKGBUILD community/luajit/PKGBUILD community/matchbox-window-manager/PKGBUILD community/miniupnpc/PKGBUILD community/mplayer2/PKGBUILD community/mumble/PKGBUILD community/oss/PKGBUILD community/pidgin-lwqq/PKGBUILD community/postgis/PKGBUILD community/python2-pytables/PKGBUILD community/qmc2/PKGBUILD community/qtfm/PKGBUILD community/ruby-gtk3/PKGBUILD community/tea/PKGBUILD community/yacpi/PKGBUILD core/bridge-utils/PKGBUILD core/gcc/PKGBUILD core/libsasl/PKGBUILD core/lvm2/PKGBUILD core/net-tools/PKGBUILD core/ppp/PKGBUILD core/pptpclient/PKGBUILD core/sdparm/PKGBUILD core/systemd/PKGBUILD core/sysvinit-tools/PKGBUILD extra/aisleriot/PKGBUILD extra/arora/PKGBUILD extra/bluez-hcidump/PKGBUILD extra/bluez/PKGBUILD extra/cups/PKGBUILD extra/cyrus-sasl/PKGBUILD extra/dhcp/PKGBUILD extra/gnome-bluetooth/PKGBUILD extra/gnome-desktop/PKGBUILD extra/gnutls/PKGBUILD extra/gts/PKGBUILD extra/guile/PKGBUILD extra/harfbuzz/PKGBUILD extra/iptraf-ng/PKGBUILD extra/json-c/PKGBUILD extra/kdenetwork/PKGBUILD extra/kdepim/PKGBUILD extra/kdesdk-kate/PKGBUILD extra/libatasmart/PKGBUILD extra/libbsd/PKGBUILD extra/libdmtx/PKGBUILD extra/libhangul/PKGBUILD extra/libindi/PKGBUILD extra/libpeas/PKGBUILD extra/libsmbios/PKGBUILD extra/libspiro/PKGBUILD extra/libsrtp/PKGBUILD extra/libxml2/PKGBUILD extra/libxrender/PKGBUILD extra/libxvmc/PKGBUILD extra/llvm/PKGBUILD extra/maxima/PKGBUILD extra/msmtp/PKGBUILD extra/ortp/PKGBUILD extra/perl-dbd-sqlite/PKGBUILD extra/perl-yaml-syck/PKGBUILD extra/php/PKGBUILD extra/pm-utils/PKGBUILD extra/pulseaudio/PKGBUILD extra/pyqt4/PKGBUILD extra/scim-anthy/PKGBUILD extra/scim-chewing/PKGBUILD extra/scim-m17n/PKGBUILD extra/scim/PKGBUILD extra/ssmtp/PKGBUILD extra/texmacs/PKGBUILD extra/v86d/PKGBUILD extra/vlc/PKGBUILD extra/webkitgtk/PKGBUILD extra/webkitgtk2/PKGBUILD extra/wireshark/PKGBUILD extra/zsh/PKGBUILD libre/bogofilter-libre/PKGBUILD libre/ecasound-libre/PKGBUILD libre/libretools/libretools.install libre/mc-libre/PKGBUILD
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 53f6fdfb5..7b822ce93 100644
--- a/extra/akonadi/PKGBUILD
+++ b/extra/akonadi/PKGBUILD
@@ -1,29 +1,39 @@
-# $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' 'mips64el')
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
CXX="g++" \
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;
+