From 73edf274447574c313eada95c14773fda73f216d Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Mon, 12 Jun 2023 01:36:53 +0300 Subject: [PATCH] timeshift: update to 23.06.2 --- srcpkgs/timeshift/template | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/srcpkgs/timeshift/template b/srcpkgs/timeshift/template index 3e8fa0d212c4..05a171c266e9 100644 --- a/srcpkgs/timeshift/template +++ b/srcpkgs/timeshift/template @@ -1,26 +1,26 @@ # Template file for 'timeshift' pkgname=timeshift -version=22.11.2 +version=23.06.2 revision=1 -build_style=gnu-makefile -hostmakedepends="gettext pkg-config vala which" -makedepends="libgee-devel json-glib-devel gtk+3-devel vte3-devel libgirepository-devel" -depends="rsync psmisc" +build_style=meson +hostmakedepends="gettext pkg-config vala help2man" +makedepends="libgee-devel json-glib-devel vte3-devel libgirepository-devel + xapps-devel libxkbfile-devel" +depends="rsync psmisc xhost" short_desc="System restore tool" maintainer="Orphaned " license="GPL-3.0-only" homepage="https://github.com/linuxmint/timeshift" changelog="https://raw.githubusercontent.com/linuxmint/timeshift/master/debian/changelog" distfiles="https://github.com/linuxmint/timeshift/archive/${version}/timeshift-${version}.tar.gz" -checksum=36fd19865d1d30dc5f6eca468ceaa3dad01cd95d9090d050d67f5c2cd98fe37d +checksum=a88c947a70e850fcac11e34484bd9074ec48302998f9d734f579387b5b88eeaf + +if [ "$CROSS_BUILD" ]; then + hostmakedepends=${hostmakedepends%help2man} + configure_args="-Dman=false" +fi # Remove hard-dep on crontab, leave up to user to decide post_extract() { vsed -i src/Core/Main.vala -e '/dependencies/s:"crontab",::' } - -# timeshift.1.gz is not a gzip file. -pre_install() { - mv man/timeshift.1.gz man/timeshift.1 - gzip man/timeshift.1 -}