42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'libsoup3'
|
|
pkgname=libsoup3
|
|
version=3.2.0
|
|
revision=2
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dgssapi=disabled -Dntlm=disabled -Dsysprof=disabled
|
|
-Dtls_check=false -Dintrospection=$(vopt_if gir enabled disabled)
|
|
-Dvapi=$(vopt_if gir enabled disabled)"
|
|
hostmakedepends="gettext-devel glib-devel pkg-config gettext
|
|
$(vopt_if gir vala) python3-gobject"
|
|
makedepends="libglib-devel nghttp2-devel sqlite-devel libpsl-devel brotli-devel
|
|
$(vopt_if gir vala-devel)"
|
|
depends="glib-networking"
|
|
checkdepends="$depends gnutls-devel"
|
|
short_desc="HTTP library implementation in C"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/libsoup"
|
|
changelog="https://gitlab.gnome.org/GNOME/libsoup/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/libsoup/${version%.*}/libsoup-${version}.tar.xz"
|
|
checksum=2832370698ca8f9fbf174c345b73d89b60561103a626c2df70726b0707f79bd3
|
|
make_check=ci-skip # can not bind ports in CI
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libsoup3-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/lib/pkgconfig/libsoup-3.0.pc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0/Soup-3.0.gir
|
|
vmove usr/share/vala
|
|
fi
|
|
vmove usr/include/libsoup-3.0
|
|
vmove usr/lib/libsoup-3.0.so
|
|
}
|
|
}
|