Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/akonadi-server: ChangeLog akonadi-server-1.2.0.ebuild
Date: Tue, 04 Aug 2009 05:25:11
Message-Id: E1MYCWK-0007ea-Hv@stork.gentoo.org
1 wired 09/08/04 05:25:08
2
3 Modified: ChangeLog
4 Added: akonadi-server-1.2.0.ebuild
5 Log:
6 version bump. kde 4.3 dep.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 app-office/akonadi-server/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/akonadi-server/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 22 Jul 2009 23:33:35 -0000 1.15
23 +++ ChangeLog 4 Aug 2009 05:25:08 -0000 1.16
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-office/akonadi-server
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.15 2009/07/22 23:33:35 wired Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.16 2009/08/04 05:25:08 wired Exp $
29 +
30 +*akonadi-server-1.2.0 (04 Aug 2009)
31 +
32 + 04 Aug 2009; Alex Alexander <wired@g.o>
33 + +akonadi-server-1.2.0.ebuild:
34 + version bump. kde 4.3 dep.
35
36 22 Jul 2009; Alex Alexander <wired@g.o>
37 akonadi-server-1.1.2.ebuild:
38
39
40
41 1.1 app-office/akonadi-server/akonadi-server-1.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/akonadi-server/akonadi-server-1.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/akonadi-server/akonadi-server-1.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: akonadi-server-1.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.2.0.ebuild,v 1.1 2009/08/04 05:25:08 wired Exp $
51
52 EAPI="2"
53
54 inherit cmake-utils
55
56 DESCRIPTION="The server part of Akonadi"
57 HOMEPAGE="http://pim.kde.org/akonadi"
58 SRC_URI="http://download.akonadi-project.org/${P/-server/}.tar.bz2"
59
60 LICENSE="LGPL-2.1"
61 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
62 SLOT="0"
63 IUSE="+mysql sqlite"
64
65 RDEPEND="
66 dev-libs/boost
67 >=dev-libs/soprano-2.2
68 >=x11-libs/qt-core-4.5.0:4
69 >=x11-libs/qt-dbus-4.5.0:4
70 >=x11-libs/qt-sql-4.5.0:4[mysql?,sqlite?]
71 x11-misc/shared-mime-info
72 "
73 DEPEND="${RDEPEND}
74 dev-libs/libxslt
75 >=kde-base/automoc-0.9.88
76 "
77
78 S="${WORKDIR}/${P/-server/}"
79
80 src_install() {
81 # Set default storage backend in order: mysql, sqlite
82 if use mysql; then
83 driver="QMYSQL"
84 elif use sqlite; then
85 driver="QSQLITE"
86 fi
87 # Who knows, maybe it accidentally fixes our permission issues
88 mkdir -p "${D}"/usr/share/config/akonadi || die "mkdir failed"
89 cat <<-EOF > "${D}"/usr/share/config/akonadi/akonadiserverrc
90 [%General]
91 Driver=${driver}
92 EOF
93
94 cmake-utils_src_install
95 }
96
97 pkg_postinst() {
98 if use mysql || use sqlite; then
99 echo
100 elog "${driver} has been set as your default akonadi storage backend."
101 elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
102 elog "Available drivers are:"
103 elog "QMYSQL, QSQLITE (experimental)"
104 elog "Note that QMYSQL is the one fully tested and officially supported."
105 echo
106 else
107 echo
108 ewarn "You have decided to build akonadi-server with both"
109 ewarn "'mysql' and 'sqlite' USE flags disabled."
110 ewarn "akonadi-server will not be functional."
111 echo
112 fi
113 }