36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Template file for 'geary'
|
|
pkgname=geary
|
|
version=43.0
|
|
revision=3
|
|
build_helper="gir"
|
|
build_style=meson
|
|
configure_args="-Dprofile=release -Dcontractor=enabled"
|
|
hostmakedepends="desktop-file-utils iso-codes pkg-config itstool
|
|
gobject-introspection vala glib-devel gettext gtk-update-icon-cache"
|
|
makedepends="enchant2-devel gcr-devel gmime3-devel libsoup3-devel libglib-devel
|
|
libgee08-devel libsecret-devel libwebkit2gtk41-devel libxml2-devel
|
|
gnome-online-accounts-devel json-glib-devel libunwind-devel libcanberra-devel
|
|
folks-devel appstream-glib-devel gspell-devel ytnef-devel libhandy1-devel
|
|
libpeas-devel gsound-devel libstemmer-devel"
|
|
depends="gir-freedesktop gnome-keyring"
|
|
short_desc="Lightweight email program for the GNOME desktop"
|
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Apps/Geary"
|
|
changelog="https://gitlab.gnome.org/GNOME/geary/-/raw/main/NEWS"
|
|
distfiles="${GNOME_SITE}/geary/${version%.*}/geary-${version}.tar.xz"
|
|
checksum=489166f87dd9d29011f5e5b79694f2588b473f7e191c59ce9013c8c8e0e363e7
|
|
make_check=no # tests fail with a webkit process crash
|
|
|
|
post_patch() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl|ppc*-musl) ;;
|
|
*)
|
|
vsed -i meson.build -e 's;@UCONTEXT_LIB@;;'
|
|
return 0
|
|
;;
|
|
esac
|
|
vsed -i meson.build -e \
|
|
"s;@UCONTEXT_LIB@;cc.find_library('libucontext', dirs: unwind_lib);"
|
|
}
|