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

                                            
               

          



                                                                                     
                   












                            
                                                                                                 
                                                                                                      
                                        

                                                                                      

         




                                                             
                                                   


           
                                                              

 
            
                                                                                                                                                    
 
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=cawbird
pkgver=1.5
pkgrel=0
pkgdesc="Fork of the Corebird GTK Twitter client that continues to work with Twitter"
url="https://ibboard.co.uk/cawbird"
arch="all"
license="GPL-3.0-or-later"
depends="gst-libav"
makedepends="
	gspell-dev
	gst-plugins-base-dev
	gtk+3.0-dev
	json-glib-dev
	liboauth-dev
	libsoup-dev
	meson
	ninja
	rest-dev
	sqlite-dev
	vala
	"
options="!check" # Error creating directory /home/pmos/.config/cawbird: No such file or directory
source="$pkgname-$pkgver.tar.gz::https://github.com/IBBoard/cawbird/archive/refs/tags/v$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-lang"
_consumerkey="VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA=="
_consumersecret="MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI="

build() {
	abuild-meson \
		-Db_lto=true \
		-Dconsumer_key_base64="$_consumerkey" \
		-Dconsumer_secret_base64="$_consumersecret" \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
917480ac79606a1ab572f0837fd48e100bbb6d70ad3551a8d86486843d9bfb0e4814c75c56ff0e2aa41fd7d32a614bbff4e6121831b3da7da7614fb5a0d3f6e1  cawbird-1.5.tar.gz
"