aboutsummaryrefslogblamecommitdiffstats
path: root/community/glib-networking/APKBUILD
blob: a4c61f387c05af4195137aaa36c2535f56cb2b33 (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.66.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"
source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz"

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

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="697798864746b40542873257a789290cacee425467e32c0eb096c87e124b37510753a990ef5d350f1db85c24da88e448bca9d8d8b4308123a74feac299176de5  glib-networking-2.66.0.tar.xz"