fed01d27f6
This allows for communication with Qualcomm modems present on more recent SoCs such as the Snapdragon 835 (MSM8998).
33 lines
1,004 B
Bash
33 lines
1,004 B
Bash
# Template file for 'libqmi'
|
|
pkgname=libqmi
|
|
version=1.28.6
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_helper=gir
|
|
configure_args="--disable-static --enable-mbim-qmux --enable-qrtr
|
|
$(vopt_enable introspection)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="glib-devel libgudev-devel libmbim-devel libqrtr-glib-devel"
|
|
short_desc="QMI modem protocol helper library"
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="http://www.freedesktop.org/wiki/Software/libqmi/"
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=cbb890893de1dee06ea5ebdac2d22f0469314a6f93f15f61f2f1206a1c9ae5fd
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" glib-devel"
|
|
fi
|
|
|
|
libqmi-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|