forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
evolution-ews-3.24.6.ebuild
66 lines (54 loc) · 1.28 KB
/
evolution-ews-3.24.6.ebuild
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
GNOME2_LA_PUNT="yes"
inherit cmake-utils gnome2
DESCRIPTION="Evolution module for connecting to Microsoft Exchange Web Services"
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="
dev-db/sqlite:3=
>=dev-libs/glib-2.46:2
dev-libs/libical:0=
>=dev-libs/libmspack-0.4
>=dev-libs/libxml2-2
>=gnome-extra/evolution-data-server-3.24.7:0=
>=mail-client/evolution-${PV}:2.0
>=net-libs/libsoup-2.42:2.4
>=x11-libs/gtk+-3.10:3
"
DEPEND="${RDEPEND}
dev-util/gdbus-codegen
>=dev-util/intltool-0.35.5
>=sys-devel/gettext-0.18.3
virtual/pkgconfig
test? ( net-libs/uhttpmock )
"
# Unittests fail to find libevolution-ews.so
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PV}-DESTDIR-honoring.patch
"${FILESDIR}"/${PV}-libical3-compat.patch
)
src_prepare() {
gnome2_src_prepare # default from inherit order, but be explicit; needed for xdg_src_prepare, env_reset and co
}
src_configure() {
local mycmakeargs=(
-DWITH_MSPACK=ON
-DENABLE_TESTS=$(usex test)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_test() {
cmake-utils_src_test
}
src_install() {
cmake-utils_src_install
}