aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-data-server/APKBUILD
blob: 04596d6dcb0572860fc331436db721e62eefb861 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=evolution-data-server
pkgver=3.32.3
pkgrel=0
pkgdesc="data server for evolution"
url="https://projects.gnome.org/evolution"
arch="all"
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 json-glib-dev webkit2gtk-dev libgweather-dev
	cmake libical-dev libcanberra-dev vala gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz"

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 \
		-DENABLE_INTROSPECTION=ON \
		-DENABLE_VALA_BINDINGS=ON \
		..
	make
}

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

sha512sums="af81a1f0d6c55a8d5d64e456670f8001498b07d7ed3a00bec2b18c84cb0b6ef99d57b3efab20534448887817d52c89ef14a069ce408d1677dab459e1c9654002  evolution-data-server-3.32.3.tar.xz"