1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
40 lines
1.5 KiB
Bash
40 lines
1.5 KiB
Bash
# Template file for 'evolution-data-server'
|
|
pkgname=evolution-data-server
|
|
version=3.12.11
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-openldap --disable-uoa
|
|
--with-krb5=/usr --with-nspr-includes=/usr/include/nspr
|
|
--with-nss-includes=/usr/include/nss --enable-vala-bindings"
|
|
hostmakedepends="pkg-config intltool flex gperf gobject-introspection"
|
|
makedepends="db-devel sqlite-devel mit-krb5-devel nss-devel libical-devel
|
|
libsecret-devel libsoup-gnome-devel gcr-devel libldap-devel
|
|
libgdata-devel vala-devel libgweather-devel icu-devel"
|
|
depends="libsoup-gnome>=2.46 libgweather>=3.12"
|
|
short_desc="Centralized access to appointments and contacts"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://www.gnome.org"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=59023d2cf92e36b69c1f83b2e56a0ba037754982a23cb06f35f6cc5de7a12201
|
|
|
|
post_install() {
|
|
# 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
|
|
}
|
|
|
|
evolution-data-server-devel_package() {
|
|
depends="sqlite-devel mit-krb5-devel nss-devel libical-devel
|
|
libldap-devel libgdata-devel>=0.15 libsecret-devel libglib-devel
|
|
${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/vala
|
|
}
|
|
}
|