void-packages/srcpkgs/evolution/template
2018-10-18 22:56:51 +02:00

41 lines
1.6 KiB
Bash

# Template file for 'evolution'
pkgname=evolution
version=3.30.1
revision=2
build_style=cmake
configure_args="-DENABLE_AUTOAR=OFF -DENABLE_LIBCRYPTUI=OFF -DENABLE_GTKSPELL=OFF
-DENABLE_TEXT_HIGHLIGHT=OFF -DENABLE_PST_IMPORT=OFF
-DENABLE_WEATHER=$(vopt_if gir ON OFF)"
hostmakedepends="gnome-doc-utils gobject-introspection intltool itstool
pkg-config"
makedepends="GConf-devel NetworkManager-devel clutter-gtk-devel enchant-devel
evolution-data-server-devel gnome-desktop-devel gtkhtml-devel libcanberra-devel
$(vopt_if gir libgweather-devel) libnotify-devel webkit2gtk-devel ytnef-devel"
depends="gnome-keyring gtkhtml"
short_desc="Integrated mail, addressbook and calendaring for GNOME"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1-or-later, LGPL-3.0-or-later, GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Evolution"
changelog="https://raw.githubusercontent.com/GNOME/evolution/gnome-3-28/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=be9565303ec8b20d68a136b61e2586d9fdd5204e4ad66d4b908d5957c578749b
shlib_provides="libevolution-calendar.so libevolution-util.so libemail-engine.so
libevolution-mail.so libevolution-shell.so"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
else
hostmakedepends+=" glib-devel"
configure_args+=" -D_correct_iconv_EXITCODE=0"
fi
evolution-devel_package() {
depends="GConf-devel gtkhtml-devel>=4.6.0 evolution-data-server-devel
gnome-desktop-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}