aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-data-server/APKBUILD
blob: e4fb85b542eb02b64e3b7a090b4cf9dc5ae1ed3e (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
37
38
39
40
41
42
43
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evolution-data-server
pkgver=3.30.1
pkgrel=0
pkgdesc="data server for evolution"
url="http://projects.gnome.org/evolution"
arch="x86_64 x86 ppc64le aarch64 armhf armv7"
license="GPL"
options="suid !check"
depends_dev="libgdata-dev db-dev gcr-dev icu-dev"
makedepends="$depends_dev gperf flex bison glib-dev gtk+3.0-dev libsecret-dev
	libsoup-dev libxml2-dev nss-dev sqlite-dev krb5-dev gnu-libiconv-dev
	openldap-dev libgdata-dev json-glib-dev webkit2gtk-dev libgweather-dev
	cmake libical-dev libcanberra-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz"
builddir="${srcdir}/${pkgname}-${pkgver}"

prepare() {
	default_prepare
	mkdir -p "$builddir"/build
}

build() {
	cd "$builddir"/build
	CFLAGS="$CFLAGS -I/usr/include/gnu-libiconv" \
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DCMAKE_BUILD_TYPE=Release \
		-DENABLE_GOA=OFF \
		-DENABLE_UOA=OFF \
		..
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="be7b6498542896b9891b3458b8d8e05e004199821ebf822bf50e2753954de0e499af9ad14cfe6eb082fc4edcdb31b16991dd4e745e20f74b1fe34661483fe8bd  evolution-data-server-3.30.1.tar.xz"