gnome-power-manager: add 2.24.2
authorKoen Kooi <koen@openembedded.org>
Wed, 10 Dec 2008 09:13:18 +0000 (10:13 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 10 Dec 2008 14:04:51 +0000 (15:04 +0100)
* dpms madness: http://bugzilla.gnome.org/show_bug.cgi?id=563953

conf/checksums.ini
packages/gnome/gnome-power-manager_2.24.2.bb [new file with mode: 0644]

index bf031c6..0cffe18 100644 (file)
@@ -6830,6 +6830,10 @@ sha256=78f7dc6946e178513202f06afc19496c8ac1e3ac6c43c56c40f4db1a23762179
 md5=3341092fc87ced400631c3d635979426
 sha256=0bcc8a35d52279cd24de93e957bf0f8b3359d096cd891e5bed07cb4b912f920b
 
+[http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.24/gnome-power-manager-2.24.2.tar.bz2]
+md5=c8971e0c4ed060e0182785321f19b961
+sha256=ebf81236c9405ba47e7a21767c2372f2c3abb44cc671bac8662d2aeb3e746dbc
+
 [http://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.22/gnome-python-2.22.1.tar.bz2]
 md5=02054115dc86617da2a80eb87a1f988b
 sha256=559b5d857b4fbc31418bc677f3391182ba1c357cabb8dfee04a1e709a7a63d01
diff --git a/packages/gnome/gnome-power-manager_2.24.2.bb b/packages/gnome/gnome-power-manager_2.24.2.bb
new file mode 100644 (file)
index 0000000..904cd39
--- /dev/null
@@ -0,0 +1,36 @@
+LICENSE = "GPLv2"
+DEPENDS = "libnotify libgnomeui gnome-panel gnome-doc-utils libwnck gtk+ gnome-keyring libglade hal dbus-glib " 
+
+inherit gnome
+
+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_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 \
+               "
+
+FILE_{PN}-doc += "${datadir}/omf \
+                  ${datadir}/gnome/help "
+