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