diff --git a/srcpkgs/gnome-calendar/template b/srcpkgs/gnome-calendar/template index 40d7edb2bea48e..5bf9a0894ba948 100644 --- a/srcpkgs/gnome-calendar/template +++ b/srcpkgs/gnome-calendar/template @@ -1,21 +1,27 @@ # Template file for 'gnome-calendar' pkgname=gnome-calendar -version=48.1 +version=50.0 revision=1 build_style=meson hostmakedepends="gettext glib-devel pkg-config gtk4-update-icon-cache - $(vopt_if gir 'gobject-introspection')" + $(vopt_if gir 'gobject-introspection') blueprint-compiler" makedepends="evolution-data-server-devel geoclue2-devel gsettings-desktop-schemas-devel gtk4-devel libadwaita-devel libgweather-devel libical-devel libsoup3-devel" short_desc="Calendar application designed to perfectly fit the GNOME desktop" maintainer="Orphaned " license="GPL-2.0-or-later" -homepage="https://wiki.gnome.org/Apps/Calendar" -changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/gnome-48/NEWS" +homepage="https://apps.gnome.org/Calendar" +changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/gnome-50/NEWS" #changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/main/NEWS" distfiles="${GNOME_SITE}/gnome-calendar/${version%.*}/gnome-calendar-${version}.tar.xz" -checksum=06ceadd5c00be8e358181d421ecf2682ce0aea2fcb12d903b30d29ca33289f02 +checksum=4b75df071a52d98fb35e647d018030129d24d9007790d02457746c98617aeab0 build_options="gir" build_options_default="gir" + +pre_build() { + if [ "$CROSS_BUILD" ]; then + export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0" + fi +}