uhttpmock: update to 0.10.0

This commit is contained in:
cinerea0 2024-03-23 17:36:41 -04:00 committed by cinerea0
parent 78e233a625
commit 792989591c

View file

@ -1,34 +1,36 @@
# Template file for 'uhttpmock' # Template file for 'uhttpmock'
pkgname=uhttpmock pkgname=uhttpmock
version=0.5.3 version=0.10.0
revision=1 revision=1
build_style=gnu-configure build_style=meson
build_helper="gir" build_helper="gir"
hostmakedepends="automake pkg-config vala" configure_args="$(vopt_bool gtk_doc gtk_doc)"
makedepends="glib-devel libsoup-devel vala" hostmakedepends="pkg-config vala $(vopt_if gtk_doc gtk-doc)"
makedepends="glib-devel libsoup3-devel"
short_desc="HTTP web service mocking project for projects which use libsoup" short_desc="HTTP web service mocking project for projects which use libsoup"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="https://gitlab.com/uhttpmock/uhttpmock" homepage="https://gitlab.freedesktop.org/pwithnall/uhttpmock/"
distfiles="http://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$version.tar.xz" changelog="https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/raw/main/NEWS"
checksum=90843223c3a30bdb7f1eb3442373a03fee425af85a9df289cd687698ccff112f distfiles="https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/${version}/uhttpmock-${version}.tar.gz"
checksum=a4294a9e0f0c619957cefc34e55561990519c25468f07cb7c4e5aa7368ef840b
pre_build() { build_options="gtk_doc"
if [ "$CROSS_BUILD" ]; then
# Make g-ir-scanner-qemuwrapper append this path if [ -z "$CROSS_BUILD" ]; then
export GIR_EXTRA_LIBS_PATH="${wrksrc}/libuhttpmock/.libs" build_options_default="gtk_doc"
fi fi
}
uhttpmock-devel_package() { uhttpmock-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}" depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so vmove usr/lib/*.so
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc if [ "$build_option_gtk_doc" ]; then
vmove usr/share/gtk-doc
fi
vmove usr/share/gir-1.0 vmove usr/share/gir-1.0
vmove usr/share/vala vmove usr/share/vala
} }