summaryrefslogtreecommitdiff
path: root/meta/packages/mutter/mutter.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-13 15:46:30 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-13 15:46:30 +0000
commit9a66ae02cb848d0576a91cf0e1bedc3bef4862f7 (patch)
tree728ff3d65c1e1150970fdc8c179a4e50fea1c756 /meta/packages/mutter/mutter.inc
parent813e135deec6dd4c7f3ef54072877233bee991dd (diff)
downloadopenembedded-core-9a66ae02cb848d0576a91cf0e1bedc3bef4862f7.tar.gz
openembedded-core-9a66ae02cb848d0576a91cf0e1bedc3bef4862f7.tar.bz2
openembedded-core-9a66ae02cb848d0576a91cf0e1bedc3bef4862f7.zip
mutter: Add 2.28.1 release
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mutter/mutter.inc')
-rw-r--r--meta/packages/mutter/mutter.inc47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/packages/mutter/mutter.inc b/meta/packages/mutter/mutter.inc
new file mode 100644
index 0000000000..860d9906d5
--- /dev/null
+++ b/meta/packages/mutter/mutter.inc
@@ -0,0 +1,47 @@
+SECTION = "x11/wm"
+DESCRIPTION = "Metacity is the boring window manager for the adult in you. Mutter is metacity + clutter."
+LICENSE = "GPLv2"
+DEPENDS = "startup-notification gtk+ gconf clutter-1.0 gdk-pixbuf-csource-native intltool glib-2.0-native"
+# gobject-introspection
+inherit gnome update-alternatives
+
+ALTERNATIVE_NAME = "x-window-manager"
+ALTERNATIVE_LINK = "${bindir}/x-window-manager"
+ALTERNATIVE_PATH = "${bindir}/mutter"
+ALTERNATIVE_PRIORITY = "11"
+
+EXTRA_OECONF += "--disable-verbose \
+ --disable-xinerama \
+ --without-introspection \
+ --with-clutter"
+
+#RDEPENDS_${PN} = "zenity"
+
+FILES_${PN} += "${datadir}/themes ${libdir}/mutter/plugins/*.so ${datadir}/gnome/wm-properties/"
+FILES_${PN}-dbg += "${libdir}/mutter/plugins/.debug/*"
+
+export CC_FOR_BUILD = "${BUILD_CC}"
+export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include"
+export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0"
+
+do_configure_prepend () {
+ echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make
+}
+
+do_stage () {
+ autotools_stage_all
+}
+
+pkg_postinst_${PN} () {
+#!/bin/sh -e
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+
+. ${sysconfdir}/init.d/functions
+
+gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/mutter/general/clutter_plugins '[default]'
+
+gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /apps/mutter/general/compositing_manager true
+}
+