42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'libsoup3'
|
|
pkgname=libsoup3
|
|
version=3.0.6
|
|
revision=1
|
|
wrksrc="libsoup-$version"
|
|
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"
|
|
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=b45d59f840b9acf9bb45fd45854e3ef672f57e3ab957401c3ad8d7502ac23da6
|
|
make_check=no # gio tests can't run in chroot
|
|
|
|
# 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
|
|
}
|
|
}
|