diff options
| -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 | " |
