59 lines
1.9 KiB
Bash
59 lines
1.9 KiB
Bash
# Template file for 'evolution-data-server'
|
|
pkgname=evolution-data-server
|
|
version=3.38.4
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="gir qemu"
|
|
configure_args="-DENABLE_UOA=OFF
|
|
-DCMAKE_BUILD_TYPE=None -DSYSCONF_INSTALL_DIR=/etc
|
|
$(vopt_if gir '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON')"
|
|
hostmakedepends="flex glib-devel gperf intltool pkg-config libglib-devel
|
|
$(vopt_if gir vala)"
|
|
makedepends="boost-devel libcanberra-devel libgdata-devel libical-devel
|
|
libsecret-devel mit-krb5-devel webkit2gtk-devel libgweather-devel
|
|
libsoup-devel $(vopt_if gir vala-devel)"
|
|
depends="libgweather libsoup-gnome"
|
|
short_desc="Centralized access to appointments and contacts"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://wiki.gnome.org/Apps/Evolution"
|
|
changelog="https://raw.githubusercontent.com/GNOME/evolution-data-server/gnome-3-38/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=ac53f16b2d51f3e7ff8025f9ca19f4a2d4ce3841d72ae9fe2bb897dc8099d705
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
pre_build() {
|
|
# Only affect g-ir-scanner, which is fine
|
|
LDFLAGS+=" -Wl,--rpath-link=$wrksrc/build/src/camel"
|
|
LDFLAGS+=" -Wl,--rpath-link=$wrksrc/build/src/libebackend"
|
|
LDFLAGS+=" -Wl,--rpath-link=$wrksrc/build/src/libedataserver"
|
|
LDFLAGS+=" -Wl,--rpath-link=$wrksrc/build/src/private"
|
|
}
|
|
|
|
# problematic
|
|
do_check() {
|
|
:
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/lib/systemd
|
|
}
|
|
|
|
evolution-data-server-devel_package() {
|
|
depends="sqlite-devel mit-krb5-devel nss-devel nspr-devel libical-devel
|
|
libgdata-devel>=0.15 libsecret-devel libglib-devel
|
|
libsoup-devel gtk+3-devel libxml2-devel
|
|
${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|