1 |
mschiff 13/03/04 19:11:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: akonadi-server-1.9.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134) |
9 |
|
10 |
Revision Changes Path |
11 |
1.101 app-office/akonadi-server/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.101&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.101&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?r1=1.100&r2=1.101 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v |
20 |
retrieving revision 1.100 |
21 |
retrieving revision 1.101 |
22 |
diff -u -r1.100 -r1.101 |
23 |
--- ChangeLog 2 Mar 2013 19:34:29 -0000 1.100 |
24 |
+++ ChangeLog 4 Mar 2013 19:11:06 -0000 1.101 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-office/akonadi-server |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.100 2013/03/02 19:34:29 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.101 2013/03/04 19:11:06 mschiff Exp $ |
30 |
+ |
31 |
+*akonadi-server-1.9.1 (04 Mar 2013) |
32 |
+ |
33 |
+ 04 Mar 2013; Marc Schiffbauer <mschiff@g.o> |
34 |
+ +akonadi-server-1.9.1.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
02 Mar 2013; Markos Chandras <hwoarang@g.o> |
38 |
akonadi-server-1.8.0.ebuild, akonadi-server-1.8.1.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-office/akonadi-server/akonadi-server-1.9.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.9.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.9.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: akonadi-server-1.9.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.9.1.ebuild,v 1.1 2013/03/04 19:11:06 mschiff Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
if [[ $PV = *9999* ]]; then |
56 |
scm_eclass=git-2 |
57 |
EGIT_REPO_URI="git://anongit.kde.org/akonadi" |
58 |
SRC_URI="" |
59 |
KEYWORDS="" |
60 |
else |
61 |
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2" |
62 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
63 |
S="${WORKDIR}/${P/-server/}" |
64 |
fi |
65 |
|
66 |
inherit cmake-utils ${scm_eclass} |
67 |
|
68 |
DESCRIPTION="The server part of Akonadi" |
69 |
HOMEPAGE="http://pim.kde.org/akonadi" |
70 |
|
71 |
LICENSE="LGPL-2.1" |
72 |
SLOT="0" |
73 |
IUSE="+mysql postgres sqlite test" |
74 |
|
75 |
CDEPEND=" |
76 |
dev-libs/boost |
77 |
>=dev-libs/soprano-2.6.51 |
78 |
>=dev-qt/qtgui-4.5.0:4[dbus] |
79 |
>=dev-qt/qtsql-4.5.0:4[mysql?,postgres?] |
80 |
>=dev-qt/qttest-4.5.0:4 |
81 |
x11-misc/shared-mime-info |
82 |
" |
83 |
DEPEND="${CDEPEND} |
84 |
dev-libs/libxslt |
85 |
>=dev-util/automoc-0.9.88 |
86 |
" |
87 |
RDEPEND="${CDEPEND} |
88 |
postgres? ( dev-db/postgresql-server ) |
89 |
" |
90 |
|
91 |
REQUIRED_USE="|| ( sqlite mysql postgres )" |
92 |
|
93 |
RESTRICT=test |
94 |
|
95 |
PATCHES=( "${FILESDIR}/${P}-qt5.patch" ) |
96 |
|
97 |
pkg_setup() { |
98 |
# Set default storage backend in order: MySQL, SQLite PostgreSQL |
99 |
# reverse driver check to keep the order |
100 |
if use postgres; then |
101 |
DRIVER="QPSQL" |
102 |
AVAILABLE+=" ${DRIVER}" |
103 |
fi |
104 |
|
105 |
if use sqlite; then |
106 |
DRIVER="QSQLITE3" |
107 |
AVAILABLE+=" ${DRIVER}" |
108 |
fi |
109 |
|
110 |
if use mysql; then |
111 |
DRIVER="QMYSQL" |
112 |
AVAILABLE+=" ${DRIVER}" |
113 |
fi |
114 |
|
115 |
# Notify about driver name change |
116 |
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then |
117 |
ewarn |
118 |
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3." |
119 |
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc." |
120 |
fi |
121 |
|
122 |
# Notify about MySQL not being default anymore |
123 |
if ! use sqlite && has_version "<=${CATEGORY}/${PN}-1.9.0[sqlite]"; then |
124 |
ewarn |
125 |
ewarn "The default storage drive has changed from SQLite to MySQL." |
126 |
ewarn "If you want to stay with SQLite, enable the sqlite USE flag and reinstall" |
127 |
ewarn "${CATEGORY}/${PN}." |
128 |
ewarn "Otherwise, select a different driver in your ~/.config/akonadi/akonadiserverrc." |
129 |
ewarn "Available drivers are:${AVAILABLE}" |
130 |
fi |
131 |
} |
132 |
|
133 |
src_configure() { |
134 |
local mycmakeargs=( |
135 |
-DAKONADI_USE_STRIGI_SEARCH=OFF |
136 |
-DWITH_QT5=OFF |
137 |
$(cmake-utils_use test AKONADI_BUILD_TESTS) |
138 |
$(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE) |
139 |
) |
140 |
|
141 |
cmake-utils_src_configure |
142 |
} |
143 |
|
144 |
src_install() { |
145 |
# Who knows, maybe it accidentally fixes our permission issues |
146 |
cat <<-EOF > "${T}"/akonadiserverrc |
147 |
[%General] |
148 |
Driver=${DRIVER} |
149 |
EOF |
150 |
insinto /usr/share/config/akonadi |
151 |
doins "${T}"/akonadiserverrc |
152 |
|
153 |
cmake-utils_src_install |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
echo |
158 |
elog "${DRIVER} has been set as your default akonadi storage backend." |
159 |
elog "You can override it in your ~/.config/akonadi/akonadiserverrc." |
160 |
elog "Available drivers are: ${AVAILABLE}" |
161 |
} |