summaryrefslogblamecommitdiff
path: root/user/libsoup/APKBUILD
blob: dc5d4c132f5bfc5cb1fcd7347aea4f7b19597a71 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
               
             



                                             
                                                                               
                                 
          
                                                                         


                                                                                       
 



                      
         

                                 


         
                           


           
                                                

 
                                                                                                                                                                    
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=libsoup
pkgver=2.70.0
pkgrel=0
pkgdesc="GObject-based HTTP library"
url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
options="!check"  # HSTS tests fail because .localdomain names fail to resolve.
license="LGPL-2.0+ AND LGPL-2.1+"
depends=""
makedepends="glib-dev libxml2-dev sqlite-dev libpsl-dev intltool vala-dev
	gobject-introspection-dev glib-networking meson ninja krb5-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"

# secfixes:
#   2.68.2-r0:
#     - CVE-2019-17266

build() {
	meson -Dprefix=/usr build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="c3e2a963f4b38b2eee5d772b68a325c076fde19c26413bb3ada91824d3c7e108fbc325bfdc49a28141a641233485d3044d18142720c2aebaa7cc820f8718159b  libsoup-2.70.0.tar.xz"