fractal: update distfiles, checksum, fix build

This commit is contained in:
Đoàn Trần Công Danh 2022-12-13 21:17:04 +07:00
parent 82b823bb8f
commit eedd3f3d0a
1 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,8 @@ short_desc="Matrix Messaging Client for GNOME"
maintainer="Cameron Nemo <cam@nohom.org>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Fractal"
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/$version/$pkgname-$version.tar.gz"
checksum=3c3ea4e67e6d8fbc2e7b220fef188dcde5229e83c2cfeeadee42137718b34e56
distfiles="https://gitlab.gnome.org/GNOME/fractal/-/archive/${version}/fractal-${version}.tar.gz"
checksum=33d8b5303f9309bc4a29bdcabe263f316cfb8805b50d7f4b6b2f0a0a7dd9efaf
post_patch() {
[ -z "$CROSS_BUILD" ] && return 0
@ -28,4 +28,5 @@ pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.0 --precise 1.1.0
cargo update --package autocfg:0.1.7 --precise 0.1.8
cargo update --package socket2 --precise 0.3.19
}