diff options
Diffstat (limited to 'meta/packages/mutter/mutter_git.bb')
| -rw-r--r-- | meta/packages/mutter/mutter_git.bb | 50 |
1 files changed, 3 insertions, 47 deletions
diff --git a/meta/packages/mutter/mutter_git.bb b/meta/packages/mutter/mutter_git.bb index 7352cf8a95..b41bf1e505 100644 --- a/meta/packages/mutter/mutter_git.bb +++ b/meta/packages/mutter/mutter_git.bb | |||
| @@ -1,11 +1,7 @@ | |||
| 1 | SECTION = "x11/wm" | 1 | require mutter.inc |
| 2 | DESCRIPTION = "Metacity is the boring window manager for the adult in you. Mutter is metacity + clutter." | 2 | |
| 3 | LICENSE = "GPLv2" | ||
| 4 | DEPENDS = "startup-notification gtk+ gconf clutter-1.0 gdk-pixbuf-csource-native intltool glib-2.0-native" | ||
| 5 | # gobject-introspection | ||
| 6 | PR = "r18" | ||
| 7 | PV = "2.28.1+git${SRCPV}" | 3 | PV = "2.28.1+git${SRCPV}" |
| 8 | inherit gnome update-alternatives | 4 | PR = "r18" |
| 9 | 5 | ||
| 10 | # Gnome is the upstream but moblin is under more active development atm | 6 | # Gnome is the upstream but moblin is under more active development atm |
| 11 | # git://git.gnome.org/mutter.git;protocol=git;branch=master | 7 | # git://git.gnome.org/mutter.git;protocol=git;branch=master |
| @@ -19,43 +15,3 @@ SRC_URI = "git://git.moblin.org/mutter.git;protocol=git;branch=master \ | |||
| 19 | " | 15 | " |
| 20 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 21 | 17 | ||
| 22 | ALTERNATIVE_NAME = "x-window-manager" | ||
| 23 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" | ||
| 24 | ALTERNATIVE_PATH = "${bindir}/mutter" | ||
| 25 | ALTERNATIVE_PRIORITY = "11" | ||
| 26 | |||
| 27 | EXTRA_OECONF += "--disable-verbose \ | ||
| 28 | --disable-xinerama \ | ||
| 29 | --without-introspection \ | ||
| 30 | --with-clutter" | ||
| 31 | |||
| 32 | #RDEPENDS_${PN} = "zenity" | ||
| 33 | |||
| 34 | FILES_${PN} += "${datadir}/themes ${libdir}/mutter/plugins/*.so ${datadir}/gnome/wm-properties/" | ||
| 35 | FILES_${PN}-dbg += "${libdir}/mutter/plugins/.debug/*" | ||
| 36 | |||
| 37 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 38 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include" | ||
| 39 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0" | ||
| 40 | |||
| 41 | do_configure_prepend () { | ||
| 42 | echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make | ||
| 43 | } | ||
| 44 | |||
| 45 | do_stage () { | ||
| 46 | autotools_stage_all | ||
| 47 | } | ||
| 48 | |||
| 49 | pkg_postinst_${PN} () { | ||
| 50 | #!/bin/sh -e | ||
| 51 | if [ "x$D" != "x" ]; then | ||
| 52 | exit 1 | ||
| 53 | fi | ||
| 54 | |||
| 55 | . ${sysconfdir}/init.d/functions | ||
| 56 | |||
| 57 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/mutter/general/clutter_plugins '[default]' | ||
| 58 | |||
| 59 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /apps/mutter/general/compositing_manager true | ||
| 60 | } | ||
| 61 | |||
