From cd2b2263bd1b1901c8d1f976a64a25b73efe5498 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr Date: Tue, 28 Dec 2021 15:56:03 +0100 Subject: [PATCH] Organize backported recipes seperately --- .../dunfell-support/libmbim_1.24.4.bb | 17 ++++++ .../dunfell-support/libqmi_1.26.6.bb | 21 ++++++++ .../dunfell-support/modemmanager_1.14.6.bb | 53 +++++++++++++++++++ .../wayland-protocols_1.21.bb | 0 4 files changed, 91 insertions(+) create mode 100644 recipes-meta-oe-backports/dunfell-support/libmbim_1.24.4.bb create mode 100644 recipes-meta-oe-backports/dunfell-support/libqmi_1.26.6.bb create mode 100644 recipes-meta-oe-backports/dunfell-support/modemmanager_1.14.6.bb rename {recipes-support => recipes-meta-oe-backports/dunfell-support}/wayland-protocols_1.21.bb (100%) diff --git a/recipes-meta-oe-backports/dunfell-support/libmbim_1.24.4.bb b/recipes-meta-oe-backports/dunfell-support/libmbim_1.24.4.bb new file mode 100644 index 0000000..148b3ca --- /dev/null +++ b/recipes-meta-oe-backports/dunfell-support/libmbim_1.24.4.bb @@ -0,0 +1,17 @@ +SUMMARY = "libmbim is library for talking to WWAN devices by MBIM protocol" +DESCRIPTION = "libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libmbim/" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +DEPENDS = "glib-2.0 glib-2.0-native libgudev" + +inherit autotools pkgconfig bash-completion gobject-introspection + +SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz" + +SRC_URI[md5sum] = "4b4b12ab7153d7c999289b5dfc2d25db" +SRC_URI[sha256sum] = "dd488ee6176243a6adb27a5872897336272ea7bea33a3ad501ba268e5a58b285" diff --git a/recipes-meta-oe-backports/dunfell-support/libqmi_1.26.6.bb b/recipes-meta-oe-backports/dunfell-support/libqmi_1.26.6.bb new file mode 100644 index 0000000..6d60a67 --- /dev/null +++ b/recipes-meta-oe-backports/dunfell-support/libqmi_1.26.6.bb @@ -0,0 +1,21 @@ +SUMMARY = "libqmi is a library for talking to WWAN devices by QMI protocol" +DESCRIPTION = "libqmi is a glib-based library for talking to WWAN modems and \ + devices which speak the Qualcomm MSM Interface (QMI) protocol" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libqmi" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +DEPENDS = "glib-2.0 glib-2.0-native" + +inherit autotools pkgconfig bash-completion gobject-introspection + +SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz" + +SRC_URI[sha256sum] = "a71963bb1097a42665287e40a9a36f95b8f9d6d6a4b7a5de22d660328af97cb9" + +PACKAGECONFIG ??= "udev mbim" +PACKAGECONFIG[udev] = ",--without-udev,libgudev" +PACKAGECONFIG[mbim] = "--enable-mbim-qmux,--disable-mbim-qmux,libmbim" diff --git a/recipes-meta-oe-backports/dunfell-support/modemmanager_1.14.6.bb b/recipes-meta-oe-backports/dunfell-support/modemmanager_1.14.6.bb new file mode 100644 index 0000000..d0a0ce3 --- /dev/null +++ b/recipes-meta-oe-backports/dunfell-support/modemmanager_1.14.6.bb @@ -0,0 +1,53 @@ +SUMMARY = "ModemManager is a daemon controlling broadband devices/connections" +DESCRIPTION = "ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ModemManager/" +LICENSE = "GPL-2.0 & LGPL-2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +inherit gnomebase gettext systemd vala gobject-introspection bash-completion + +DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native" + +SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz" +SRC_URI[sha256sum] = "783d5da925b2ca69f6233fcead691dd0f5cba06aa479d71495efdc07053fc0fd" +S = "${WORKDIR}/ModemManager-${PV}" + +PACKAGECONFIG ??= "mbim qmi \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)} \ +" + +PACKAGECONFIG[at] = "--with-at-command-via-dbus" +PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," +PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit" +# Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. +PACKAGECONFIG[mbim] = "--with-mbim,--without-mbim,libmbim" +# Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol. +PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi" + +EXTRA_OECONF = " \ + --with-udev-base-dir=${nonarch_base_libdir}/udev \ +" + +FILES_${PN} += " \ + ${datadir}/icons \ + ${datadir}/polkit-1 \ + ${datadir}/dbus-1 \ + ${datadir}/ModemManager \ + ${libdir}/ModemManager \ + ${systemd_unitdir}/system \ +" + +FILES_${PN}-dev += " \ + ${libdir}/ModemManager/*.la \ +" + +FILES_${PN}-staticdev += " \ + ${libdir}/ModemManager/*.a \ +" + +FILES_${PN}-dbg += "${libdir}/ModemManager/.debug" + +SYSTEMD_SERVICE_${PN} = "ModemManager.service" diff --git a/recipes-support/wayland-protocols_1.21.bb b/recipes-meta-oe-backports/dunfell-support/wayland-protocols_1.21.bb similarity index 100% rename from recipes-support/wayland-protocols_1.21.bb rename to recipes-meta-oe-backports/dunfell-support/wayland-protocols_1.21.bb