aboutsummaryrefslogtreecommitdiffstats
path: root/community/dino/APKBUILD
blob: 085a06a7ee02b5258c9548992960ec18ade1357e (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
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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=dino
pkgver=0.3.0
pkgrel=2
pkgdesc="Modern Jabber/XMPP client"
url="https://dino.im"
# missing libhandy1 or webrtc-audio-processing
arch="all !s390x !armhf !armv7 !ppc64le !riscv64"
license="GPL-3.0-only"
depends="gst-plugins-good gst-plugins-good-gtk"
makedepends="
	cmake
	glib-dev
	glib-networking
	gpgme-dev
	gspell-dev
	gst-libav
	gst-plugins-base-dev
	gtk+3.0-dev
	libgcrypt-dev
	libgee-dev
	libhandy1-dev
	libnice-dev
	libqrencode-dev
	libsignal-protocol-c-dev
	libsoup-dev
	libsrtp-dev
	ninja
	sqlite-dev
	vala
	webrtc-audio-processing-dev
"
subpackages="$pkgname-lang"
source="
	https://github.com/dino/dino/releases/download/v$pkgver/dino-$pkgver.tar.gz
	mobile-ui.patch
	"

# secfixes:
#   0.2.1-r0:
#     - CVE-2021-33896

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-tests
	make
}

check() {
	build/xmpp-vala-test
	build/signal-protocol-vala-test
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="
e3d885208451b00b0416a1401780a94a169fb1179b2f609f7965e3445873d6b72ded84cb471d534616892ec89b5edcd6701fc97c36f19d690f4b894399000515  dino-0.3.0.tar.gz
97cf900664f9121a257abfd4d25eb95265630c0bb381523b958c8ee23a67f4da2f6941d2f0bd04a9603d07372f5e09d7dcecba9f2fa19c235884b43ca6c8d204  mobile-ui.patch
"