diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb')
-rw-r--r-- | meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb | 30 |
1 files changed, 16 insertions, 14 deletions
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 index aeaf68891..cc4c0c478 100644 --- 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 | |||
@@ -21,32 +21,34 @@ EXTRA_OECONF = " --disable-scrollkeeper \ | |||
21 | --with-dpms-ext=${STAGING_INCDIR}/.. \ | 21 | --with-dpms-ext=${STAGING_INCDIR}/.. \ |
22 | --enable-compile-warnings=no \ | 22 | --enable-compile-warnings=no \ |
23 | ac_cv_header_X11_extensions_dpms_h=yes \ | 23 | ac_cv_header_X11_extensions_dpms_h=yes \ |
24 | " | 24 | " |
25 | 25 | ||
26 | do_configure_prepend() { | 26 | do_configure_prepend() { |
27 | sed -i -e 's: man ::g' ${S}/Makefile.am | 27 | sed -i -e 's: man ::g' ${S}/Makefile.am |
28 | } | 28 | } |
29 | 29 | ||
30 | do_configure_append() { | 30 | do_configure_append() { |
31 | rm config.log | 31 | rm config.log |
32 | # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror | 32 | # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror |
33 | for i in $(find ${S} -name "Makefile") ; do | 33 | for i in $(find ${S} -name "Makefile") ; do |
34 | sed -i -e s:-Werror::g $i | 34 | sed -i -e s:-Werror::g $i |
35 | done | 35 | done |
36 | sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile | 36 | sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile |
37 | } | 37 | } |
38 | 38 | ||
39 | PACKAGES =+ "${PN}-applets" | 39 | PACKAGES =+ "${PN}-applets" |
40 | 40 | ||
41 | FILES_${PN}-applets = "${bindir}/*applet* \ | 41 | FILES_${PN}-applets = "${bindir}/*applet* \ |
42 | ${libdir}/bonobo/servers \ | 42 | ${libdir}/bonobo/servers \ |
43 | ${datadir}/gnome-2.0/ui" | 43 | ${datadir}/gnome-2.0/ui \ |
44 | " | ||
44 | 45 | ||
45 | FILES_${PN} += "${datadir}/icons \ | 46 | FILES_${PN} += "${datadir}/icons \ |
46 | ${datadir}/dbus-1 \ | 47 | ${datadir}/dbus-1 \ |
47 | ${datadir}/gnome/autostart \ | 48 | ${datadir}/gnome/autostart \ |
48 | " | 49 | " |
49 | 50 | ||
50 | FILES_${PN}-doc += "${datadir}/omf \ | 51 | FILES_${PN}-doc += "${datadir}/omf \ |
51 | ${datadir}/gnome/help " | 52 | ${datadir}/gnome/help \ |
53 | " | ||
52 | 54 | ||