1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgbase=evolution-data-server
8 evolution-data-server-docs
12 pkgdesc="Unified contacts, tasks and calendar backend"
13 url="https://wiki.gnome.org/Apps/Evolution"
41 _commit=fc0a280168a5ec8aaeae7f9e34c46f10914c7c84 # tags/3.48.1^0
42 source=("git+https://gitlab.gnome.org/GNOME/evolution-data-server.git#commit=$_commit")
47 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
56 -DCMAKE_INSTALL_PREFIX=/usr
57 -DLIBEXEC_INSTALL_DIR=/usr/lib
58 -DSYSCONF_INSTALL_DIR=/etc
60 -DENABLE_INTROSPECTION=ON
61 -DENABLE_VALA_BINDINGS=ON
67 cmake -S $pkgbase -B build -G Ninja "${cmake_options[@]}"
73 ctest --output-on-failure --stop-on-failure
77 local p="$1" f d; shift
79 d="$srcdir/$p/${f#$pkgdir/}"
80 mkdir -p "$(dirname "$d")"
82 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
86 package_evolution-data-server() {
91 libebook-contacts-1.2.so
96 libedataserverui-1.2.so
99 DESTDIR="$pkgdir" cmake --install build
103 _pick ui4 usr/include/evolution-data-server/libedataserverui4
104 _pick ui4 usr/lib/libedataserverui4-1.0.so*
105 _pick ui4 usr/lib/pkgconfig/libedataserverui4-1.0.pc
106 _pick ui4 usr/lib/girepository-1.0/EDataServerUI4-1.0.typelib
107 _pick ui4 usr/share/gir-1.0/EDataServerUI4-1.0.gir
108 _pick ui4 usr/share/vala/vapi/libedataserverui4-1.0.*
110 _pick docs usr/share/gtk-doc
113 package_libedataserverui4() {
114 pkgdesc+=" - GTK 4 UI library"
116 "evolution-data-server=$pkgver-$pkgrel"
120 provides=(libedataserverui4-1.0.so)
125 package_evolution-data-server-docs() {
126 pkgdesc+=" - documentation"
132 # vim:set sw=2 sts=-1 et: