aboutsummaryrefslogblamecommitdiffstats
path: root/community/glib-networking/APKBUILD
blob: a0e51b99889a6efcc37e9e936133c5ef75cfb60c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                                                    
                                              
                       
             
        
                                     
                                                    
          
                           
                                                   

                                                                         
                           
                                               
                                                                                                       
 



                      
                

                                                

    
         

                                                  


         
                                           


           
                                                             
                                        

 


                                                                                                                                                               
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=glib-networking
pkgver=2.70.0
pkgrel=0
pkgdesc="Networking support for GLib"
url="https://gitlab.gnome.org/GNOME/glib-networking"
arch="all"
license="LGPL-2.0-or-later"
depends="ca-certificates gsettings-desktop-schemas"
makedepends="glib-dev gnutls-dev libproxy-dev intltool libgcrypt-dev bash
	p11-kit-dev meson gsettings-desktop-schemas-dev"
subpackages="$pkgname-lang"
options="!check" # connection-gnutls test fails
source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz"

# secfixes:
#   2.64.3-r0:
#     - CVE-2020-13645

case "$CARCH" in
	s390x|mips64) options="!check" # timeout
	;;
esac

build() {
	abuild-meson . build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

check() {
	meson test --no-rebuild -v -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
	rm -rf "$pkgdir"/usr/lib/systemd
}

sha512sums="
c9f8126e3466470ad8e1d588d56b843a4fa4738619a795e6772d95282c54a8356a916a3b0a0b6994606d8a6841ecb0637230f14575ed95ea68bff8f3f81aea71  glib-networking-2.70.0.tar.xz
"