New comment by chrysos349 on void-packages repository https://github.com/void-linux/void-packages/pull/47392#issuecomment-1911260377 Comment: ``` # Template file for 'fractal' pkgname=fractal version=6 revision=1 build_style=meson build_helper=rust hostmakedepends="cargo clang desktop-file-utils gettext glib-devel gtk-update-icon-cache pkg-config" makedepends="gst-plugins-base1-devel gtksourceview5-devel libadwaita-devel libshumate-devel pipewire-devel rust-std" short_desc="Matrix Messaging Client for GNOME" maintainer="Cameron Nemo " license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Apps/Fractal" distfiles="https://gitlab.gnome.org/World/fractal/-/archive/${version}/fractal-${version}.tar.gz" checksum=a730dffe5fd4859c16e0d84244a82f6ea843d4e464ee04e08fcb5bea61c248f2 if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then broken="uses i64" fi post_patch() { vsed -i "/xdg-desktop-portal/d" meson.build if [ "$CROSS_BUILD" ]; then vsed -i src/meson.build \ -e "s%rust_target /%'${RUST_TARGET}' / rust_target /%" fi } ```