uhttpmock: update to 0.5.3; xlint

The cross build process may need autotools.
Also remove build option gir and always enable gir and vala.
This commit is contained in:
Jürgen Buchmüller 2020-12-29 10:06:49 +01:00
parent 126e4d1404
commit 87ccdcac55

View file

@ -1,20 +1,17 @@
# Template file for 'uhttpmock' # Template file for 'uhttpmock'
pkgname=uhttpmock pkgname=uhttpmock
version=0.5.1 version=0.5.3
revision=3 revision=1
build_style=gnu-configure build_style=gnu-configure
build_helper="gir" build_helper="gir"
hostmakedepends="pkg-config $(vopt_if gir 'gobject-introspection vala')" hostmakedepends="automake pkg-config vala"
makedepends="glib-devel libsoup-devel $(vopt_if gir 'gobject-introspection vala')" makedepends="glib-devel libsoup-devel vala"
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" license="LGPL-2.1-or-later"
homepage="https://gitlab.com/uhttpmock/uhttpmock" homepage="https://gitlab.com/uhttpmock/uhttpmock"
distfiles="http://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$version.tar.xz" distfiles="http://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$version.tar.xz"
checksum=a6a34a011db142a98473b492039c84468d575f416689484f1f82a84927f17798 checksum=90843223c3a30bdb7f1eb3442373a03fee425af85a9df289cd687698ccff112f
build_options="gir"
build_options_default="gir"
pre_build() { pre_build() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
@ -32,9 +29,7 @@ uhttpmock-devel_package() {
vmove usr/lib/*.so vmove usr/lib/*.so
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0
vmove usr/share/gir-1.0 vmove usr/share/vala
vmove usr/share/vala
fi
} }
} }