phosh-arch/purism-chatty/PKGBUILD

59 lines
1.3 KiB
Bash
Raw Normal View History

2024-08-13 17:17:11 +02:00
# Maintainer: Danct12 <danct12@disroot.org>
_pkgname=chatty
pkgname=purism-chatty
2024-08-22 00:55:22 +02:00
pkgver=0.8.5
2024-08-13 17:17:11 +02:00
pkgrel=1
pkgdesc="SMS/MMS, Matrix and (optionally) XMPP messaging app"
url="https://gitlab.gnome.org/World/Chatty"
license=('GPL')
arch=('x86_64' 'armv7h' 'aarch64')
depends=(
'evolution-data-server'
'feedbackd'
'gnome-desktop-4'
'gtksourceview5'
'gtk4'
'libadwaita'
'libmm-glib'
'libolm'
'libpurple'
'libspelling'
)
replaces=('chatty<=0.7.3')
makedepends=('git' 'itstool' 'meson' 'ninja')
checkdepends=('xorg-server-xvfb')
optdepends=(
'libpurple-carbons: message carbons support'
'libpurple-lurch: OMEMO encryption'
'libpurple-xmpp-http-upload: XMPP HTTP File Upload support'
'mmsd-tng: MMS support'
'purple-telegram: Telegram chat protocol support'
)
2024-08-22 00:55:22 +02:00
_commit="7bea437c9e3086148da41a91e82218c9422aa67f" # tags/v0.8.4
2024-08-13 17:17:11 +02:00
source=($_pkgname::git+https://gitlab.gnome.org/World/Chatty.git#commit=${_commit})
pkgver() {
cd $_pkgname
git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $_pkgname
git submodule update --init
}
build() {
arch-meson $_pkgname output
ninja -C output
}
# FAIL: secure memory pool is not locked while in FIPS mode
#check() {
# xvfb-run ninja -C output test
#}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
md5sums=('SKIP')