diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 01:13:47 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 01:29:47 +0200 |
commit | b16a19f8375376281b48b7ed9ead5a5230751263 (patch) | |
tree | 7130774c096a937fe866c7006e1c1bcdfa383f1e /community/fractal | |
parent | 57fc2beeac17f30df26dec2b36b73e8e32939e68 (diff) | |
download | aports-b16a19f8375376281b48b7ed9ead5a5230751263.tar.bz2 aports-b16a19f8375376281b48b7ed9ead5a5230751263.tar.xz |
community/fractal: move from testing
Diffstat (limited to 'community/fractal')
-rw-r--r-- | community/fractal/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/fractal/APKBUILD b/community/fractal/APKBUILD new file mode 100644 index 0000000000..c80c6ca606 --- /dev/null +++ b/community/fractal/APKBUILD @@ -0,0 +1,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" |