planner: update to 3.0.6.

This commit is contained in:
Michal Vasilek 2022-03-10 22:08:05 +01:00 committed by Echo
parent df2c04b002
commit 7e71d33f89

View file

@ -1,32 +1,19 @@
# Template file for 'planner'
pkgname=planner
version=2.7
version=3.0.6
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="gettext pkg-config vala glib-devel curl"
makedepends="evolution-data-server-devel libgee08-devel granite-devel
webkit2gtk-devel libsoup-devel libpeas-devel libhandy1-devel"
makedepends="libgee08-devel granite-devel webkit2gtk-devel libsoup-devel
libhandy1-devel json-glib-devel"
depends="io.elementary.icons io.elementary.stylesheet curl"
short_desc="Task manager with Todoist support designed for GNU/Linux"
maintainer="linarcx <linarcx@riseup.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/alainm23/planner"
distfiles="https://github.com/alainm23/planner/archive/${version}.tar.gz"
checksum=cd34953867a91b2992aa4eafddc5093a695d1e6096571ade75640dddcc425d69
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" evolution-data-server-devel"
fi
pre_configure() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# In musl libc there is no _NL_TIME_FIRST_WEEKDAY in langinfo.h
# thus replace Posix.NLTime.FIRST_WEEKDAY.to_string ().data[0];
# with 0; (sunday)
vsed -i src/Services/Calendar/CalendarModel.vala \
-e "s#\(int week_start =\) Posix.*#\1 0;#"
fi
}
checksum=345a9ad2220820f08f583321e874528eee9f7e009236127efacee72d071c7ea5
post_install() {
vinstall data/com.github.alainm23.planner.desktop.in 644 \