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

                                                           
               
             



                                             
                                                                               
                                 
          
                                                                         

                                                                       


                                                                                      
 



                      




                                  
         

                                 


         
                           


           
                                                

 

                                                                                                                                                                   
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libsoup
pkgver=2.74.2
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
	musl.patch
	"

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

prepare() {
	meson subprojects download
	default_prepare
}

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

check() {
	ninja -C build test
}

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

sha512sums="6f9da3296364e210103093cef9ef34fb40f694a8ef90966fc1fbd834c11f3db1031784a0901e9181bf3124e0682708148bd3598a31d60f1cce61eaae2e19ba7a  libsoup-2.74.2.tar.xz
39edda5e49afbab5ba2f368b6e1536d195509b7ce26f9cc75b4f1d3aa53e78bd59abc9a4dc6258cf16f236590f11065f4463777c3e49e88cf64ab3c1bb9cb347  musl.patch"