syncthing-gtk: restore sane versioning, fix tests

This commit is contained in:
Frank Steinborn 2022-02-13 15:46:26 +01:00 committed by Echo
parent 19b02abd1a
commit 0405a7b24c

View file

@ -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 <steinex@nognu.de>"
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
}