# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=fractal pkgver=4.2.1 pkgrel=0 pkgdesc="Matrix group messaging app" url="https://wiki.gnome.org/Apps/Fractal" arch="x86_64 x86 armhf armv7 aarch64 ppc64le" # limited by Rust license="GPL-3.0-or-later" makedepends="meson gtk+3.0-dev dbus-dev openssl-dev gspell-dev libhandy-dev gtksourceview4-dev gstreamer-dev gst-plugins-base-dev gst-plugins-bad-dev gst-editing-services-dev glib-dev cargo gmp-dev" options="!check" # no tests subpackages="$pkgname-lang" source="https://gitlab.gnome.org/GNOME/fractal/-/archive/$pkgver/fractal-$pkgver.tar.gz" case "$CARCH" in x86) export CFLAGS="$CFLAGS -fno-stack-protector" ;; esac build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ . output ninja -C output } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="10793878cd6d0d15c0a855c7fa5e675f0f63ce5411d1f9fd917efd78e078b61d3b06825cbd90845836c26bb0eb7329ae64b917d0e7ed64c98e5acc360b9cb9e1 fractal-4.2.1.tar.gz"