aboutsummaryrefslogtreecommitdiffstats
path: root/community/fractal/APKBUILD
blob: 3385ff703c702350d530dfb4875368afd50e9bce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=fractal
pkgver=4.4.0
pkgrel=1
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"
depends="dbus:org.freedesktop.Secrets xdg-utils"
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 gst-plugins-good-gtk"
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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="0dfc363ad7f152976e224bdab52b469f8277b214cf47180611a26622ea9e370477c947ace62fe0a6b275e79416b0288c7d021ca3afb387277810a9a26433d6ef  fractal-4.4.0.tar.gz"