blob: b254eca84eead644fa1d333955929f527e9d69c3 (
plain)
1 # Description: HTTP library implementation in C.
2 # URL: https://wiki.gnome.org/action/show/Projects/libsoup
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: glib-networking libpsl libxml2
5 # Optional: vala krb5
6
7 name=libsoup
8 version=2.66.0
9 release=1
10 source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
11
12 build() {
13 prt-get isinst vala && PKGMK_LIBSOUP+=' -Dvapi=true' || PKGMK_LIBSOUP+=' -Dvapi=false'
14 prt-get isinst krb5 && PKGMK_LIBSOUP+=' -Dgssapi=true' || PKGMK_LIBSOUP+=' -Dgssapi=false'
15
16 meson setup build $name-$version --prefix=/usr ${PKGMK_LIBSOUP}
17 ninja -j ${JOBS-1} -C build
18 DESTDIR=$PKG meson install -C build
19
20 rm -r $PKG/usr/share/locale
21 }
|