From 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:20:04 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../xfce4-power-manager_1.2.0.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb (limited to 'meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb') diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb new file mode 100644 index 0000000000..6e92186ab9 --- /dev/null +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb @@ -0,0 +1,33 @@ +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" + +SRC_URI += "file://0001-Add-shutdown-reboot-functionality-for-systemd.patch" + +RDEPENDS_${PN} = "networkmanager udisks upower ${@base_contains('DISTRO_FEATURES','systemd','','consolekit',d)}" + +EXTRA_OECONF = " \ + --enable-network-manager \ + --enable-panel-plugins \ +" + +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','',d)}" +PACKAGECONFIG[systemd] = "--enable-polkit, --disable-polkit, polkit" + +PACKAGES += "xfce4-brightness-plugin" +FILES_${PN} += "${datadir}/polkit-1" +FILES_xfce4-brightness-plugin = " \ + ${libdir}/xfce4/panel-plugins/xfce4-brightness-plugin \ + ${datadir}/xfce4/panel-plugins/xfce4-brightness-plugin.desktop \ +" + +SRC_URI[md5sum] = "935599b7114b0a4b0e2c9a5d6c72524c" +SRC_URI[sha256sum] = "d7fb98a540284b62f4201527de17d4b24123f9d26c9f49131dd497c8387184e9" -- cgit v1.2.3-54-g00ecf