2011-01-21 04:47:18 +08:00
|
|
|
#
|
|
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=akonadi
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgver=1.6.0
|
2011-04-09 20:48:36 +08:00
|
|
|
pkgrel=1
|
2011-01-21 04:47:18 +08:00
|
|
|
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='http://www.akonadi-project.org'
|
|
|
|
license=('LGPL')
|
2011-07-23 02:02:15 +08:00
|
|
|
depends=('shared-mime-info' 'boost-libs' 'mysql>=5.5.14' 'soprano>=2.6.51')
|
2011-06-26 06:26:05 +08:00
|
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
|
2011-01-21 04:47:18 +08:00
|
|
|
install=$pkgname.install
|
2011-07-23 02:02:15 +08:00
|
|
|
source=("ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/akonadi/src//${pkgname}-${pkgver}.tar.bz2")
|
|
|
|
md5sums=('16bc40e022d06f287f18c71faaeb2e42')
|
2011-01-21 04:47:18 +08:00
|
|
|
|
2011-07-23 02:02:15 +08:00
|
|
|
build()
|
|
|
|
{
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
cd ${srcdir}
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE
|
|
|
|
make || return 1
|
2011-01-21 04:47:18 +08:00
|
|
|
}
|
|
|
|
|
2011-07-23 02:02:15 +08:00
|
|
|
package()
|
|
|
|
{
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-01-21 04:47:18 +08:00
|
|
|
}
|