# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=libqmi pkgver=1.24.0 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="e899765e67c1db0f758030e78b296015c476f938bb2afa01594b3e71a0b8d5fc2237c8272497aec891d5555523ecf0fecd69c4d0e14165c07072780621b3b502 libqmi-1.24.0.tar.xz"