Skip to content

Commit

Permalink
fractal: update to 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
balejk committed Jan 17, 2025
1 parent 4133562 commit c65a988
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions srcpkgs/fractal/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
# Template file for 'fractal'
pkgname=fractal
version=4.4.2
revision=2
version=9
revision=1
build_style=meson
build_helper="rust"
hostmakedepends="cargo pkg-config glib-devel gettext"
makedepends="gtk+3-devel libglib-devel openssl-devel gstreamer1-devel
cairo-devel gettext-devel gst-plugins-base1-devel gst-plugins-bad1-devel
gst1-editing-services-devel gtksourceview4-devel pango-devel gspell-devel
gmp-devel libsecret-devel libhandy-devel rust-std gst1-editing-services-devel python3-devel"
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 libwebp-devel libseccomp-devel"
short_desc="Matrix Messaging Client for GNOME"
maintainer="Cameron Nemo <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Fractal"
distfiles="https://gitlab.gnome.org/GNOME/fractal/-/archive/${version}/fractal-${version}.tar.gz"
checksum=97bb2f355fb1a89851bf16c17aed63063c6c0a79d8adcd31ce0ab82bc4a56f5e
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/${version}/fractal-${version}.tar.gz"
checksum=61be5f378545fe4ef76feb7d5604aac6261a3dedcfb5dd756713eacc574d5373

if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
broken="limited by Rust + crate dependencies"
fi

post_patch() {
[ -z "$CROSS_BUILD" ] && return 0
vsed -i "/xdg-desktop-portal/d" meson.build

vsed -i scripts/cargo.sh \
-e 's;"$CARGO_TARGET_DIR";&/${RUST_TARGET};' \
-e '/CARGO_HOME/d'
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / &%"
fi
}

0 comments on commit c65a988

Please sign in to comment.