blob: 74db2d670faad058b7f2122ecb35a1a485f90690 (
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
44
45
46
47
48
49
50
51
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evolution-data-server
pkgver=2.32.3
pkgrel=0
pkgdesc="data server for evolution"
url="http://projects.gnome.org/evolution"
arch="all"
license="GPL"
depends=
depends_dev="gtk+-dev glib-dev libsoup-dev libxml2-dev gconf-dev libgdata-dev db-dev libgweather-dev libgnome-keyring-dev libical-dev nspr-dev nss-dev sqlite-dev"
makedepends="$depends_dev gperf flex bison"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
g_unicode_canonical_decomposition.patch
g_atomic_int_exchange_and_add.patch
"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
# to build against gtk+-2.24
# http://bugs.gentoo.org/show_bug.cgi?id=352400
sed -i -e "s:-DGTK_DISABLE_DEPRECATED::" configure
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="480bab0702991692f9dee9fecfc49f48 evolution-data-server-2.32.3.tar.bz2
464467c7a90ca790002356046dae8356 g_unicode_canonical_decomposition.patch
2578f99935e070bd4db96a08f1bdb819 g_atomic_int_exchange_and_add.patch"
|