2010-04-12 19:54:34 +00:00
|
|
|
# Template file for 'evolution-data-server'
|
|
|
|
pkgname=evolution-data-server
|
2015-10-13 07:24:24 +00:00
|
|
|
version=3.18.1
|
2015-10-17 16:52:27 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-28 12:33:57 +00:00
|
|
|
configure_args="--with-openldap --disable-uoa
|
2015-10-16 23:05:30 +00:00
|
|
|
--with-krb5=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-nspr-includes=${XBPS_CROSS_BASE}/usr/include/nspr
|
|
|
|
--with-nss-includes=${XBPS_CROSS_BASE}/usr/include/nss
|
|
|
|
$(vopt_enable gir vala-bindings)"
|
|
|
|
hostmakedepends="pkg-config intltool flex glib-devel gperf $(vopt_if gir gobject-introspection)"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="db-devel sqlite-devel mit-krb5-devel nss-devel libical-devel
|
|
|
|
libsecret-devel libsoup-gnome-devel gcr-devel libldap-devel
|
2015-10-16 23:05:30 +00:00
|
|
|
libgdata-devel $(vopt_if gir vala-devel) libgweather-devel icu55-devel"
|
2014-03-27 14:12:46 +00:00
|
|
|
depends="libsoup-gnome>=2.46 libgweather>=3.12"
|
2013-10-14 08:18:54 +00:00
|
|
|
short_desc="Centralized access to appointments and contacts"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-17 06:08:48 +00:00
|
|
|
license="GPL-2"
|
2012-06-19 09:35:30 +00:00
|
|
|
homepage="http://www.gnome.org"
|
2013-09-26 14:50:47 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-10-13 07:24:24 +00:00
|
|
|
checksum=4fe7c520a49d4c7fd67ed6fc2dfb33667f6138368c7bbe3ecd8c4ad2356771bc
|
2013-04-12 08:23:11 +00:00
|
|
|
|
2015-10-16 23:05:30 +00:00
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
2015-10-16 23:15:35 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
# Create iconv-detect.h for cross builds
|
2015-10-16 23:05:30 +00:00
|
|
|
echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h
|
|
|
|
echo >>iconv-detect.h
|
|
|
|
echo '#define ICONV_ISO_D_FORMAT "iso-%d-%d"' >>iconv-detect.h
|
|
|
|
echo '#define ICONV_ISO_S_FORMAT "iso-%d-%s"' >>iconv-detect.h
|
2015-10-16 23:15:35 +00:00
|
|
|
fi
|
2015-10-16 23:05:30 +00:00
|
|
|
}
|
2014-11-26 10:30:50 +00:00
|
|
|
post_install() {
|
2014-12-31 13:10:59 +00:00
|
|
|
# Fix broken pkg-config
|
|
|
|
sed -i "s|^Requires: gio-2.0, , |Requires: gio-2.0, mozilla-nspr, mozilla-nss|" \
|
|
|
|
$DESTDIR/usr/lib/pkgconfig/evolution-data-server-1.2.pc
|
2014-11-26 10:30:50 +00:00
|
|
|
}
|
|
|
|
|
2013-04-12 08:23:11 +00:00
|
|
|
evolution-data-server-devel_package() {
|
|
|
|
depends="sqlite-devel mit-krb5-devel nss-devel libical-devel
|
2014-11-09 21:18:32 +00:00
|
|
|
libldap-devel libgdata-devel>=0.15 libsecret-devel libglib-devel
|
2013-12-09 10:49:30 +00:00
|
|
|
${sourcepkg}>=${version}_${revision}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:23:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-23 20:09:00 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2015-10-16 23:05:30 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-12 08:23:11 +00:00
|
|
|
}
|
|
|
|
}
|