53 lines
1.9 KiB
Bash
53 lines
1.9 KiB
Bash
# Template file for 'evolution-data-server'
|
|
pkgname=evolution-data-server
|
|
version=3.48.4
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="gir qemu"
|
|
configure_args=" -DSYSCONF_INSTALL_DIR=/etc
|
|
-DWITH_PHONENUMBER=ON -DENABLE_WEATHER=ON
|
|
$(vopt_if gir '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON')"
|
|
hostmakedepends="flex glib-devel gperf gettext pkg-config libglib-devel
|
|
$(vopt_if gir vala)"
|
|
makedepends="boost-devel libcanberra-devel libgdata-devel libical-devel
|
|
libsecret-devel mit-krb5-devel libwebkit2gtk41-devel libwebkitgtk60-devel
|
|
libsoup3-devel libphonenumber-devel $(vopt_if gir vala-devel) gtk4-devel
|
|
libgweather-devel"
|
|
checkdepends="dbus"
|
|
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://gitlab.gnome.org/GNOME/evolution-data-server/-/raw/gnome-44/NEWS"
|
|
distfiles="${GNOME_SITE}/evolution-data-server/${version%.*}/evolution-data-server-${version}.tar.xz"
|
|
checksum=997e3f93b17efb0affcc017bee8780ba5fa2c009e36551bbc91a08ae552d6d60
|
|
make_check=ci-skip # flaky in CI
|
|
|
|
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"
|
|
}
|
|
|
|
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
|
|
libsoup3-devel gtk4-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
|
|
}
|
|
}
|