blob: b7bde92f5dd69ea602f0bf3185d97deb217ac42e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.1.1.ebuild,v 1.3 2009/02/01 23:28:06 scarabeus Exp $
EAPI="2"
inherit cmake-utils qt4
DESCRIPTION="The server part of Akonadi"
HOMEPAGE="http://pim.kde.org/akonadi"
SRC_URI="http://akonadi.omat.nl/${P/-server/}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="+mysql"
RDEPEND="x11-libs/qt-core:4
x11-libs/qt-dbus:4
x11-libs/qt-sql:4[mysql?]
x11-libs/qt-test:4
x11-misc/shared-mime-info"
DEPEND="${RDEPEND}
dev-libs/boost
dev-libs/libxslt
>=kde-base/automoc-0.9.88"
S="${WORKDIR}/${P/-server/}"
src_prepare() {
# Don't check for mysql, avoid an automagic dep.
if ! use mysql; then
sed -e '/mysqld/s/find_program/#DONOTWANT &/' \
-i "${S}"/server/CMakeLists.txt || die 'Sed failed.'
fi
}
|