fractal: fix cross

This commit is contained in:
Michal Vasilek 2022-03-09 17:07:53 +01:00
parent 20d283df6d
commit 9ce4d75c2c

View file

@ -16,6 +16,11 @@ homepage="https://wiki.gnome.org/Apps/Fractal"
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/$version/$pkgname-$version.tar.gz"
checksum=3c3ea4e67e6d8fbc2e7b220fef188dcde5229e83c2cfeeadee42137718b34e56
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0
}
post_patch() {
[ -z "$CROSS_BUILD" ] && return 0