Magellan Linux

Contents of /branches/R11-stable/extras/akonadi/akonadi-1.9.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18096 - (show annotations) (download)
Thu Jun 27 08:10:26 2013 UTC (10 years, 11 months ago) by niro
File size: 1247 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="akonadi"
4 PVER="1.9.2"
5 PBUILD="r1"
6
7 PCAT="app-office"
8
9 DESCRIPTION="Akonadi - The PIM Storage Service."
10 HOMEPAGE="http://pim.kde.org/akonadi/"
11
12 DEPEND=">= x11-libs/qt4-core-4.8
13 >= x11-libs/qt4-dbus-4.8
14 >= x11-libs/qt4-sql-4.8
15 >= x11-misc/shared-mime-info-0.90
16 >= dev-libs/boost-program-options-1.53
17 >= dev-db/sqlite-3.7
18 >= dev-libs/soprano-2.9"
19
20 SDEPEND=">= dev-libs/libxslt-1.1.26
21 >= kde-base/automoc4-0.9.88
22 >= dev-libs/boost-1.53"
23
24 SRCFILE="${PNAME}-${PVER}.tar.bz2"
25 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26
27 sminclude kde4 mtools
28
29 SRC_URI=(
30 kde://${PNAME}/src/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 mirror://${PNAME}/${PNAME}-${PVER}-boost153.patch
33 )
34
35 UP2DATE="updatecmd ftp://ftp.kde.org/pub/kde/stable/akonadi/src/ | lasttarball"
36
37 src_prepare()
38 {
39 munpack ${SRCFILE} || die
40 cd ${SRCDIR}
41
42 # fix build with boost-1.53
43 mpatch ${PNAME}-${PVER}-boost153.patch || die
44 }
45
46 src_install()
47 {
48 cd ${SRCDIR}
49 kde4_src_install || die
50
51 # use mysql as default database backend
52 # sqlite is possible too (QMYSQL or QSQLITE)
53 local backend="QSQLITE"
54 minstalldir ${KDEDIR}/share/config/akonadi || die
55 MCONFIG="${KDEDIR}/share/config/akonadi/akonadiserverrc"
56 mclearconfig
57 maddconfig '[%General]'
58 maddconfig "Driver=${backend}"
59 }