From 07dae4fd4e475e4f3eebd28f84e7a0813a8b6140 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 2 Dec 2025 17:51:31 +0800 Subject: upower: upgrade 1.90.10 -> 1.91.0 Changelog: =========== - New feature: Support multiple keyboard backlight LED control. - Make installation of tests optional - Support conf.d style config file - Deprecate CapacityLevel property Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/upower/upower_1.90.10.bb | 55 ------------------------ meta-oe/recipes-support/upower/upower_1.91.0.bb | 55 ++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 55 deletions(-) delete mode 100644 meta-oe/recipes-support/upower/upower_1.90.10.bb create mode 100644 meta-oe/recipes-support/upower/upower_1.91.0.bb diff --git a/meta-oe/recipes-support/upower/upower_1.90.10.bb b/meta-oe/recipes-support/upower/upower_1.90.10.bb deleted file mode 100644 index a7effcd7de..0000000000 --- a/meta-oe/recipes-support/upower/upower_1.90.10.bb +++ /dev/null @@ -1,55 +0,0 @@ -SUMMARY = "UPower is an abstraction for enumerating power devices" -DESCRIPTION = "UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics." -LICENSE = "GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=0de8fbf1d97a140d1d93b9f14dcfbf08" - -DEPENDS = " \ - intltool-native \ - libusb1 \ - libgudev \ - glib-2.0 \ - dbus-glib \ -" - -SRC_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2" -SRC_URI[sha256sum] = "c1baf418b685ffe4150c8a75c04da0cec70323fe094b5b257b287eea564d3f56" -S = "${UNPACKDIR}/${BPN}-v${PV}" - -UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags" -UPSTREAM_CHECK_REGEX = "v(?P\d+(\.\d+)+)" - -GIR_MESON_ENABLE_FLAG = "enabled" -GIR_MESON_DISABLE_FLAG = "disabled" -GTKDOC_MESON_OPTION = "gtk-doc" - -inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd - -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}" -PACKAGECONFIG[idevice] = "-Didevice=enabled,-Didevice=disabled,libimobiledevice libplist" -PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no -Dudevrulesdir=${base_libdir}/udev/rules.d,systemd" -PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" - -EXTRA_OEMESON = " \ - -Dos_backend=linux \ - -Dman=false \ -" - -SYSTEMD_SERVICE:${PN} = "upower.service" -# don't start on boot by default - dbus does that on demand -SYSTEMD_AUTO_ENABLE = "disable" - -RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_dbus}" -RRECOMMENDS:${PN} += "pm-utils" -PACKAGES += "${PN}-zsh-completion" -FILES:${PN} += " \ - ${datadir}/dbus-1/ \ - ${datadir}/polkit-1/ \ - ${base_libdir}/udev/* \ -" -FILES:${PN}-zsh-completion = "${datadir}/zsh" - -do_install:append() { - # remove integration tests scripts - rm -rf ${D}${datadir}/installed-tests - rm -rf ${D}${libexecdir}/upower -} diff --git a/meta-oe/recipes-support/upower/upower_1.91.0.bb b/meta-oe/recipes-support/upower/upower_1.91.0.bb new file mode 100644 index 0000000000..9d20e0a432 --- /dev/null +++ b/meta-oe/recipes-support/upower/upower_1.91.0.bb @@ -0,0 +1,55 @@ +SUMMARY = "UPower is an abstraction for enumerating power devices" +DESCRIPTION = "UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics." +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=0de8fbf1d97a140d1d93b9f14dcfbf08" + +DEPENDS = " \ + intltool-native \ + libusb1 \ + libgudev \ + glib-2.0 \ + dbus-glib \ +" + +SRC_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2" +SRC_URI[sha256sum] = "954f8ee8d1422c813615862bc6249cb9b31ace1d905fd1f06549c4e47f4ba401" +S = "${UNPACKDIR}/${BPN}-v${PV}" + +UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags" +UPSTREAM_CHECK_REGEX = "v(?P\d+(\.\d+)+)" + +GIR_MESON_ENABLE_FLAG = "enabled" +GIR_MESON_DISABLE_FLAG = "disabled" +GTKDOC_MESON_OPTION = "gtk-doc" + +inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}" +PACKAGECONFIG[idevice] = "-Didevice=enabled,-Didevice=disabled,libimobiledevice libplist" +PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no -Dudevrulesdir=${base_libdir}/udev/rules.d,systemd" +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" + +EXTRA_OEMESON = " \ + -Dos_backend=linux \ + -Dman=false \ +" + +SYSTEMD_SERVICE:${PN} = "upower.service" +# don't start on boot by default - dbus does that on demand +SYSTEMD_AUTO_ENABLE = "disable" + +RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_dbus}" +RRECOMMENDS:${PN} += "pm-utils" +PACKAGES += "${PN}-zsh-completion" +FILES:${PN} += " \ + ${datadir}/dbus-1/ \ + ${datadir}/polkit-1/ \ + ${base_libdir}/udev/* \ +" +FILES:${PN}-zsh-completion = "${datadir}/zsh" + +do_install:append() { + # remove integration tests scripts + rm -rf ${D}${datadir}/installed-tests + rm -rf ${D}${libexecdir}/upower +} -- cgit v1.2.3-54-g00ecf