34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'geary'
|
|
pkgname=geary
|
|
version=3.36.3.1
|
|
revision=1
|
|
build_helper="gir"
|
|
build_style=meson
|
|
configure_args="-Dcontractor=true"
|
|
hostmakedepends="desktop-file-utils iso-codes pkg-config itstool
|
|
gobject-introspection vala glib-devel gettext"
|
|
makedepends="enchant2-devel gcr-devel gmime3-devel libsoup-devel libglib-devel
|
|
libgee08-devel libsecret-devel webkit2gtk-devel libxml2-devel
|
|
gnome-online-accounts-devel json-glib-devel libunwind-devel libcanberra-devel
|
|
folks-devel appstream-glib-devel gspell-devel ytnef-devel libhandy-devel
|
|
libpeas-devel"
|
|
depends="gir-freedesktop gnome-keyring"
|
|
short_desc="Lightweight email program for the GNOME desktop"
|
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Apps/Geary"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*.*}/geary-${version}.tar.xz"
|
|
checksum=2065293f16cca2526c81fe55b6c555bedf6ce8fe17fe8301c498411e5e339dbb
|
|
|
|
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);"
|
|
}
|