From 8924f03a044634853c78c9cb1a36f3cff7d31a0b Mon Sep 17 00:00:00 2001 From: Frank Steinborn Date: Sun, 13 Feb 2022 15:46:26 +0100 Subject: [PATCH] syncthing-gtk: restore sane versioning, fix tests --- srcpkgs/syncthing-gtk/template | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/srcpkgs/syncthing-gtk/template b/srcpkgs/syncthing-gtk/template index 336afea95255..fe38baae17c1 100644 --- a/srcpkgs/syncthing-gtk/template +++ b/srcpkgs/syncthing-gtk/template @@ -1,19 +1,30 @@ # Template file for 'syncthing-gtk' pkgname=syncthing-gtk -reverts="0.14.36_1" -version=0.9.4.4+ds+git20220108+9023143f8b93 -revision=2 +reverts="0.14.36_1 0.9.4.4+ds+git20220108+9023143f8b93_1 + 0.9.4.4+ds+git20220108+9023143f8b93_2" +version=0.9.4.4 +revision=4 +_debianver="ds+git20220108+9023143f8b93" build_style=python3-module hostmakedepends="python3-setuptools gettext" depends="syncthing python3-dateutil libnotify librsvg python3-bcrypt python3-cairo gtk+3 python3-gobject" +checkdepends="$depends" short_desc="GTK based GUI for Syncthing" maintainer="Frank Steinborn " license="GPL-2.0-or-later" homepage="https://salsa.debian.org/debian/syncthing-gtk/" -distfiles="${DEBIAN_SITE}/main/s/syncthing-gtk/syncthing-gtk_${version}.orig.tar.xz" +distfiles="${DEBIAN_SITE}/main/s/syncthing-gtk/syncthing-gtk_${version}+${_debianver}.orig.tar.xz" checksum=fc71f390a17b10ea9338a60f7ae813a6d6faa7e881b4b31ff7ea4ffdbbecf7a8 +# for checks +# v0.9.4.4-ds-git20220108-9023143f8b93 is an invalid version and will not be supported in a future release +# remove windows.py +post_extract() { + mv ${XBPS_BUILDDIR}/syncthing* ${wrksrc} + rm ${wrksrc}/syncthing_gtk/windows.py +} + pre_configure() { ./generate-locales.sh }