diff options
Diffstat (limited to 'recipes/gnome/gnome-power-manager_2.28.3.bb')
-rw-r--r-- | recipes/gnome/gnome-power-manager_2.28.3.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/gnome/gnome-power-manager_2.28.3.bb b/recipes/gnome/gnome-power-manager_2.28.3.bb new file mode 100644 index 0000000000..95301751e8 --- /dev/null +++ b/recipes/gnome/gnome-power-manager_2.28.3.bb @@ -0,0 +1,45 @@ +LICENSE = "GPLv2" +DEPENDS = "devicekit-power gtk+ gnome-keyring libgnome libgnomeui hal dbus libglade \ + libnotify libwnck cairo libunique gnome-panel gstreamer \ + xrandr policykit-gnome gnome-doc-utils dbus-glib " + +inherit gnome + +SRC_URI[archive.md5sum] = "1fb329b8a6e9c63f46df1ea4bf3bb275" +SRC_URI[archive.sha256sum] = "e918f0a7a35f78a7c4c07894951fed6683b3de4266d81ca2f201078729e0efe9" + +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 +} + +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 " + |