libmbim: disable man page when cross compiling

This commit is contained in:
John 2025-07-20 17:03:09 +02:00
parent 3f18c04dd4
commit f62091c9a9

View file

@ -3,9 +3,9 @@ pkgname=libmbim
version=1.32.0
revision=1
build_style=meson
build_helper="gir qemu"
configure_args="-Dintrospection=true"
hostmakedepends="pkg-config help2man"
build_helper="gir"
configure_args="-Dintrospection=true $(vopt_bool man)"
hostmakedepends="pkg-config $(vopt_if man help2man)"
makedepends="glib-devel libgudev-devel bash-completion"
short_desc="MBIM modem protocol helper library"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -14,11 +14,13 @@ homepage="https://www.freedesktop.org/wiki/Software/libmbim/"
distfiles="https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/${version}/libmbim-${version}.tar.bz2"
checksum=47228f0c07dfb2fbf51e35eb60f12c22113ef6923a0e23fcae3b2a4efee5ed29
build_options="gir"
build_options="gir man"
build_options_default="gir"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
else
build_options_default+=" man"
fi
libmbim-devel_package() {