mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
libmbim: disable man page when cross compiling
This commit is contained in:
parent
3f18c04dd4
commit
f62091c9a9
1 changed files with 6 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue