# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=libqmi pkgver=1.24.4 pkgrel=0 pkgdesc="QMI modem protocol helper library" url="https://www.freedesktop.org/wiki/Software/libqmi" arch="all" license="GPL-2.0-or-later AND LGPL-2.1-or-later" makedepends="glib-dev gtk-doc libgudev-dev libmbim-dev linux-headers python3" subpackages="$pkgname-dev $pkgname-doc" source="https://www.freedesktop.org/software/libqmi/libqmi-$pkgver.tar.xz" # Tests fail [ "$CARCH" = s390x ] && options="$options !check" build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-mbim-qmux \ --enable-more-warnings=yes make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="7850c2754763d3d0addfa6760ed11ba895dd78421a6b3453224b50bd97d09109ccacf16c322d81c8e512321e45fd8e611015796c86a94f30acf8611eb37e8a1a libqmi-1.24.4.tar.xz"