SUMMARY = "Power manager for the Xfce desktop environment" HOMEPAGE = "http://goodies.xfce.org/projects/applications/xfce4-power-manager" SECTION = "x11" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" inherit xfce DEPENDS += "gtk+ glib-2.0 dbus-glib xfconf libxfce4ui libxfce4util libnotify \ libxrandr virtual/libx11 libxext xfce4-panel upower" SRC_URI[md5sum] = "e7d00548e58bf19229e727818184c1e0" SRC_URI[sha256sum] = "c50ec8aa7e7848c57c0f856dceb8132eb5f37585f0ac1627459ab8c882c73b07" EXTRA_OECONF = " \ --enable-network-manager \ --enable-panel-plugins \ " PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" PACKAGECONFIG[systemd] = "--enable-polkit, --disable-polkit, polkit" PACKAGES += "xfce4-powermanager-plugin" FILES_${PN} += " \ ${datadir}/polkit-1 \ ${datadir}/appdata \ " FILES_xfce4-powermanager-plugin = " \ ${libdir}/xfce4 \ ${datadir}/xfce4 \ " RDEPENDS_xfce4-powermanager-plugin = "${PN}" RDEPENDS_${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}" # xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin RPROVIDES_xfce4-powermanager-plugin += "xfce4-brightness-plugin" RREPLACES_xfce4-powermanager-plugin += "xfce4-brightness-plugin" RCONFLICTS_xfce4-powermanager-plugin += "xfce4-brightness-plugin"