Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "libqmi is a library for talking to WWAN devices by QMI protocol" |
| 2 | DESCRIPTION = "libqmi is a glib-based library for talking to WWAN modems and \ |
| 3 | devices which speak the Qualcomm MSM Interface (QMI) protocol" |
| 4 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libqmi" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 5 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = " \ |
| 7 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 8 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ |
| 9 | " |
| 10 | |
| 11 | DEPENDS = "glib-2.0 glib-2.0-native" |
| 12 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 13 | inherit meson pkgconfig bash-completion gobject-introspection |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 14 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 15 | SRCREV ?= "95108b6eebfefa6621a1c34565f562eeca9308b9" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 16 | # patch 0001 is on main branch upstream |
| 17 | SRC_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 Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 21 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 22 | S = "${WORKDIR}/git" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 23 | |
| 24 | PACKAGECONFIG ??= "udev mbim" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 25 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,libgudev" |
| 26 | PACKAGECONFIG[mbim] = "-Dmbim_qmux=true,-Dmbim_qmux=false,libmbim" |
| 27 | PACKAGECONFIG[qrtr] = "-Dqrtr=true,-Dqrtr=false,libqrtr-glib" |
| 28 | |
| 29 | EXTRA_OEMESON = " \ |
| 30 | -Dgtk_doc=false \ |
| 31 | -Dman=false \ |
| 32 | " |