41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Template file for 'libsoup3'
|
|
pkgname=libsoup3
|
|
version=3.0.4
|
|
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=5bd38b5e091f707fd7fa3ed7c37aacca3f8e16c65787f1cc17dc38d1dcde567b
|
|
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
|
|
}
|
|
}
|