65 lines
1.7 KiB
Text
65 lines
1.7 KiB
Text
|
|
# fp6-img fork of Alpine community/libqmi: + the upstream-merged (!470,
|
||
|
|
# unreleased) LOC Register Events client-identification TLVs - half of
|
||
|
|
# working GNSS on the FP6. Drop when Alpine ships libqmi > 1.39.0.
|
||
|
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
||
|
|
maintainer="Achill Gilgenast <achill@achill.org>"
|
||
|
|
pkgname=libqmi
|
||
|
|
pkgver=1.38.0_git20260414
|
||
|
|
_commit=cff17a676e10d75081516dafa997fe9bc9043c38
|
||
|
|
pkgrel=100
|
||
|
|
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="
|
||
|
|
bash-completion-dev
|
||
|
|
glib-dev
|
||
|
|
gobject-introspection-dev
|
||
|
|
help2man
|
||
|
|
libgudev-dev
|
||
|
|
libmbim-dev
|
||
|
|
libqrtr-glib-dev
|
||
|
|
linux-headers
|
||
|
|
meson
|
||
|
|
python3
|
||
|
|
"
|
||
|
|
subpackages="
|
||
|
|
$pkgname-dev
|
||
|
|
$pkgname-doc
|
||
|
|
$pkgname-bash-completion
|
||
|
|
qmi-utils
|
||
|
|
"
|
||
|
|
#source="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/$pkgver/libqmi-$pkgver.tar.gz"
|
||
|
|
source="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/$_commit/libqmi-$_commit.tar.gz
|
||
|
|
0001-loc-add-client-identification-TLVs-to-Register-Event.patch
|
||
|
|
"
|
||
|
|
builddir="$srcdir/$pkgname-$_commit"
|
||
|
|
|
||
|
|
build() {
|
||
|
|
abuild-meson \
|
||
|
|
-Db_lto=true \
|
||
|
|
. output
|
||
|
|
meson compile -C output
|
||
|
|
}
|
||
|
|
|
||
|
|
check() {
|
||
|
|
local tests=$(meson test --list -C output)
|
||
|
|
case "$CARCH" in
|
||
|
|
s390x) tests=${tests//test-message} ;;
|
||
|
|
esac
|
||
|
|
meson test --print-errorlogs -C output $tests
|
||
|
|
}
|
||
|
|
|
||
|
|
package() {
|
||
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||
|
|
}
|
||
|
|
|
||
|
|
utils() {
|
||
|
|
pkgdesc="$pkgdesc (CLI utilities)"
|
||
|
|
|
||
|
|
amove usr/bin
|
||
|
|
}
|
||
|
|
|
||
|
|
sha512sums="
|
||
|
|
fc178689675b47faaa46c14b126dc054354044238ea00464b4cc4910c5f2c73faaa12d80a5219fbfad65ab575e38f7af3fd79ae7974ea80ed67bfffe027b85c3 libqmi-cff17a676e10d75081516dafa997fe9bc9043c38.tar.gz
|
||
|
|
"
|