metacity: add 2.30
authorKoen Kooi <koen@openembedded.org>
Thu, 1 Apr 2010 11:04:14 +0000 (13:04 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 1 Apr 2010 12:04:13 +0000 (14:04 +0200)
recipes/gnome/metacity_2.30.0.bb [new file with mode: 0644]

diff --git a/recipes/gnome/metacity_2.30.0.bb b/recipes/gnome/metacity_2.30.0.bb
new file mode 100644 (file)
index 0000000..1c2ff76
--- /dev/null
@@ -0,0 +1,26 @@
+DEFAULT_PREFERENCE = "-1"
+
+SECTION = "x11/wm"
+DESCRIPTION = "Metacity is the boring window manager for the adult in you."
+LICENSE = "GPL"
+DEPENDS = "libcanberra libwnck startup-notification gtk+ gconf gdk-pixbuf-csource-native"
+
+inherit gnome update-alternatives
+
+SRC_URI[archive.md5sum] = "7c8a4c8f3b667efcc60f286adb445d4c"
+SRC_URI[archive.sha256sum] = "5c4e2af2216de022181f692f15427361a1dae3d30756ef89b97a11ff5bd50b22"
+
+EXTRA_OECONF += "--disable-verbose \
+                 --disable-xinerama"
+
+do_configure_prepend() {
+       sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in
+}
+
+ALTERNATIVE_NAME = "x-window-manager"
+ALTERNATIVE_LINK = "${bindir}/x-window-manager"
+ALTERNATIVE_PATH = "${bindir}/metacity"
+ALTERNATIVE_PRIORITY = "30"
+
+RDEPENDS_${PN} = "zenity"
+FILES_${PN} += "${datadir}/themes ${datadir}/gnome*"