From: Marc Ferland <[email protected]> Add a PACKAGECONFIG option for polkit. Activate it when DISTRO_FEATURES contains 'polkit'.
Signed-off-by: Marc Ferland <[email protected]> --- meta-oe/recipes-support/upower/upower_1.90.6.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/upower/upower_1.90.6.bb b/meta-oe/recipes-support/upower/upower_1.90.6.bb index 2cffdc14f..6d5fa7016 100644 --- a/meta-oe/recipes-support/upower/upower_1.90.6.bb +++ b/meta-oe/recipes-support/upower/upower_1.90.6.bb @@ -24,9 +24,10 @@ GTKDOC_MESON_OPTION = "gtk-doc" inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +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 \ @@ -41,6 +42,7 @@ RDEPENDS:${PN} += "dbus" RRECOMMENDS:${PN} += "pm-utils" FILES:${PN} += " \ ${datadir}/dbus-1/ \ + ${datadir}/polkit-1/ \ ${base_libdir}/udev/* \ " -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#114297): https://lists.openembedded.org/g/openembedded-devel/message/114297 Mute This Topic: https://lists.openembedded.org/mt/110086168/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
