identity: fix builds that require libatomic

This commit is contained in:
Duncaen 2025-04-24 01:09:09 +02:00
parent bbcaaa56fd
commit b47e794e7a
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -15,6 +15,10 @@ homepage="https://apps.gnome.org/Identity/"
distfiles="https://gitlab.gnome.org/YaLTeR/identity/-/archive/v${version}/identity-v${version}.tar.gz" distfiles="https://gitlab.gnome.org/YaLTeR/identity/-/archive/v${version}/identity-v${version}.tar.gz"
checksum=440fe290c45c852145ce189e48d1c168e37d04657527856c0f3d531040b77e44 checksum=440fe290c45c852145ce189e48d1c168e37d04657527856c0f3d531040b77e44
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
XBPS_CROSS_RUSTFLAGS+=" -latomic"
fi
post_patch() { post_patch() {
vsed -e 's/\(gtk_update_icon_cache\): true/\1: false/' \ vsed -e 's/\(gtk_update_icon_cache\): true/\1: false/' \
-e 's/\(update_desktop_database\): true/\1: false/' \ -e 's/\(update_desktop_database\): true/\1: false/' \