summaryrefslogtreecommitdiff
path: root/repo/libsoup/libsoup.xibuild
blob: 71625691b661897f27124cd2dbae722f25664fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

NAME="libsoup"
DESC="Gnome HTTP client/server Library"

MAKEDEPS=" libgcrypt libgpg-error zlib meson gobject-introspection vala libxml2 libpsl sqlite3 brotli"

PKG_VER=3.0.8
SOURCE="https://download.gnome.org/sources/libsoup/${PKG_VER%.*}/libsoup-$PKG_VER.tar.xz"

build() {
	meson --prefix=/usr \
		-Dtls_check=false \
		-Dintrospection=enabled \
		-Dvapi=enabled \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}