blob: d4f4b467e2e64613d902a8c4e494d2f5de287993 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Maintainer: fossdd <fossdd@pwned.life>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=chatty-git
pkgver=r1.abeb9ed
pkgrel=1
pkgdesc='Simple to use SMS and Matrix messaging application (development version)'
arch=(x86_64 aarch64 riscv64)
url='https://gitlab.gnome.org/World/Chatty'
license=(GPL-3.0-or-later)
depends=(
cairo
dconf
evolution-data-server
feedbackd
gcc-libs
gdk-pixbuf2
glib2
glibc
gnome-desktop-4
gstreamer
gtk4
gtksourceview5
hicolor-icon-theme
libadwaita
libcmatrix
libmm-glib
libphonenumber
libspelling
pango
sqlite
)
makedepends=(
appstream
git
itstool
meson
)
checkdepends=(xorg-server-xvfb)
source=(
"git+https://gitlab.gnome.org/World/Chatty.git#branch=main"
)
b2sums=('SKIP')
pkgver() {
cd Chatty
( set -o pipefail
git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
)
}
build() {
arch-meson Chatty build \
-D purple=disabled
meson compile -C build
}
check() {
dbus-run-session xvfb-run \
-s '-screen 0 1920x1080x24 -nolisten local' \
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|