blob: a1cfe29cca62b3655280824e5f6b138b7451c82f [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001SUMMARY = "libqmi is a library for talking to WWAN devices by QMI protocol"
2DESCRIPTION = "libqmi is a glib-based library for talking to WWAN modems and \
3 devices which speak the Qualcomm MSM Interface (QMI) protocol"
4HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libqmi"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006LIC_FILES_CHKSUM = " \
7 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
9"
10
11DEPENDS = "glib-2.0 glib-2.0-native"
12
Andrew Geissler9aee5002022-03-30 16:27:02 +000013inherit meson pkgconfig bash-completion gobject-introspection
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000014
Andrew Geissler615f2f12022-07-15 14:00:58 -050015SRCREV ?= "95108b6eebfefa6621a1c34565f562eeca9308b9"
Andrew Geissler9aee5002022-03-30 16:27:02 +000016# patch 0001 is on main branch upstream
17SRC_URI = "\
18 git://gitlab.freedesktop.org/mobile-broadband/libqmi.git;protocol=https;branch=qmi-1-30 \
19 file://0001-build-use-python3-everywhere.patch \
20"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000021
Andrew Geissler9aee5002022-03-30 16:27:02 +000022S = "${WORKDIR}/git"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000023
24PACKAGECONFIG ??= "udev mbim"
Andrew Geissler9aee5002022-03-30 16:27:02 +000025PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,libgudev"
26PACKAGECONFIG[mbim] = "-Dmbim_qmux=true,-Dmbim_qmux=false,libmbim"
27PACKAGECONFIG[qrtr] = "-Dqrtr=true,-Dqrtr=false,libqrtr-glib"
28
29EXTRA_OEMESON = " \
30 -Dgtk_doc=false \
31 -Dman=false \
32"