aboutsummaryrefslogblamecommitdiffstats
path: root/community/dino/APKBUILD
blob: 085a06a7ee02b5258c9548992960ec18ade1357e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
            
            
        

                                   
                                              
                                                 
                      
                                               
             
             

                       
                 
                  
                 


                            
                  


                       
                                
                   

                   
                  
            
                                   

                           

                                                                                   
                       
         
 



                      



















                                         
            

                                                                                                                                                   
 
# 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
"