diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-06-25 21:14:07 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-06-25 14:21:48 -0700 |
| commit | 4e50aebeae37980c64262709c6e4d451c29161f6 (patch) | |
| tree | f3970d535c8f5b429a40f5457accdc583a4841ad /meta-oe | |
| parent | bf40fa739714cfda21d14b7bc192afe9c04d2be0 (diff) | |
| download | meta-openembedded-4e50aebeae37980c64262709c6e4d451c29161f6.tar.gz | |
upower: remove polkit dependency
Follow upstream upower:
https://gitlab.freedesktop.org/upower/upower/commit/9a2b2633095fb901fc1931ab0c600392d68bb3b4
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-support/upower/upower_0.99.7.bb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta-oe/recipes-support/upower/upower_0.99.7.bb b/meta-oe/recipes-support/upower/upower_0.99.7.bb index 3fd91e958f..ffa2c49ee9 100644 --- a/meta-oe/recipes-support/upower/upower_0.99.7.bb +++ b/meta-oe/recipes-support/upower/upower_0.99.7.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "UPower is an abstraction for enumerating power devices, listening | |||
| 2 | LICENSE = "GPLv2+" | 2 | LICENSE = "GPLv2+" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=0de8fbf1d97a140d1d93b9f14dcfbf08" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=0de8fbf1d97a140d1d93b9f14dcfbf08" |
| 4 | 4 | ||
| 5 | DEPENDS = "intltool-native libusb1 libgudev glib-2.0 dbus-glib polkit" | 5 | DEPENDS = "intltool-native libusb1 libgudev glib-2.0 dbus-glib" |
| 6 | 6 | ||
| 7 | SRC_URI = " \ | 7 | SRC_URI = " \ |
| 8 | http://upower.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | 8 | http://upower.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ |
| @@ -13,8 +13,6 @@ SRC_URI[sha256sum] = "24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc1 | |||
| 13 | 13 | ||
| 14 | inherit autotools pkgconfig gettext gobject-introspection systemd distro_features_check | 14 | inherit autotools pkgconfig gettext gobject-introspection systemd distro_features_check |
| 15 | 15 | ||
| 16 | REQUIRED_DISTRO_FEATURES = "polkit" | ||
| 17 | |||
| 18 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 16 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 19 | PACKAGECONFIG[idevice] = "--with-idevice,--without-idevice,libimobiledevice libplist" | 17 | PACKAGECONFIG[idevice] = "--with-idevice,--without-idevice,libimobiledevice libplist" |
| 20 | PACKAGECONFIG[systemd] = "--with-systemdutildir=${systemd_unitdir} --with-systemdsystemunitdir=${systemd_system_unitdir}, \ | 18 | PACKAGECONFIG[systemd] = "--with-systemdutildir=${systemd_unitdir} --with-systemdsystemunitdir=${systemd_system_unitdir}, \ |
| @@ -34,6 +32,5 @@ do_configure_prepend() { | |||
| 34 | RDEPENDS_${PN} += "dbus" | 32 | RDEPENDS_${PN} += "dbus" |
| 35 | RRECOMMENDS_${PN} += "pm-utils" | 33 | RRECOMMENDS_${PN} += "pm-utils" |
| 36 | FILES_${PN} += "${datadir}/dbus-1/ \ | 34 | FILES_${PN} += "${datadir}/dbus-1/ \ |
| 37 | ${datadir}/polkit-1/ \ | ||
| 38 | ${base_libdir}/udev/* \ | 35 | ${base_libdir}/udev/* \ |
| 39 | " | 36 | " |
