From 292abf0fd33d3ee0bff3c72e7d7edab026bdeda5 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 18 Jun 2011 16:58:16 +0200 Subject: gnome-power-manager: add 2.32.0 Signed-off-by: Koen Kooi --- .../gnome-power-manager_2.32.0.bb | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb (limited to 'meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb') diff --git a/meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb b/meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb new file mode 100644 index 000000000..798673035 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "Power management daemon" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +DEPENDS = "glib-2.0 gtk+ gconf gnome-keyring dbus dbus-glib libnotify libwnck cairo libunique gnome-panel xrandr virtual/libx11 libxrender libcanberra upower" + +inherit gnome +SRC_URI[archive.md5sum] = "9a08e85dce3ffb90775f15e3bda4adda" +SRC_URI[archive.sha256sum] = "17fa301bf7e133285c0e054ae3be2b0f690c48f59b09f67e04d6ed339b330476" + +EXTRA_OECONF = " --disable-scrollkeeper \ + --disable-keyring \ + --x-includes=${STAGING_INCDIR} \ + --x-libraries=${STAGING_LIBDIR} \ + --with-dpms-ext=${STAGING_INCDIR}/.. \ + --enable-compile-warnings=no \ + ac_cv_header_X11_extensions_dpms_h=yes \ + " + +do_configure_prepend() { + sed -i -e 's: man ::g' ${S}/Makefile.am +} + +do_configure_append() { + rm config.log + # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror + for i in $(find ${S} -name "Makefile") ; do + sed -i -e s:-Werror::g $i + done + sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile +} + +PACKAGES =+ "${PN}-applets" + +FILES_${PN}-applets = "${bindir}/*applet* \ + ${libdir}/bonobo/servers \ + ${datadir}/gnome-2.0/ui" + +FILES_${PN} += "${datadir}/icons \ + ${datadir}/dbus-1 \ + ${datadir}/gnome/autostart \ + " + +FILES_${PN}-doc += "${datadir}/omf \ + ${datadir}/gnome/help " + -- cgit v1.2.3-54-g00ecf