blob: c80c6ca60613de69d365ac2d6b7bd1d4d5457f77 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=fractal
pkgver=4.2.0
pkgrel=0
pkgdesc="Matrix group messaging app"
url="https://wiki.gnome.org/Apps/Fractal"
arch="x86_64 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
gtksourceview-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"
prepare() {
default_prepare
# Need latest version of these to work with musl's built-in gettext support
sed 's|git = "https://github.com/danigm/gettext-rs"|version = "0.4.2"|' \
-i fractal-gtk/Cargo.toml
sed '/branch = "no-gettext"/d' -i fractal-gtk/Cargo.toml
cat >> fractal-gtk/Cargo.toml <<EOF
[dependencies.gettext-sys]
version = "0.19.9"
EOF
}
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="1884c1c3741e56244d0d3aece4bacb4f3490bffca6426abee76430063b68be9a54e61e1919c7fee38e8da2f5e04907cee9006b05c919e81c7d2855d3ea47cc5e fractal-4.2.0.tar.gz"
|