diff options
| author | Robert Bragg <bob@openedhand.com> | 2008-09-26 15:16:32 +0000 |
|---|---|---|
| committer | Robert Bragg <bob@openedhand.com> | 2008-09-26 15:16:32 +0000 |
| commit | c4e9ad655ca02e39f57b8ccb7bf5f34b1feeb3bc (patch) | |
| tree | 435045091d55f4f2dd32d8384b69827dc8db09e8 | |
| parent | 52734d2374d3ac4eaee206537a7708fefb46c4cc (diff) | |
| download | poky-c4e9ad655ca02e39f57b8ccb7bf5f34b1feeb3bc.tar.gz | |
Fixes the metacity-clutter revision; packages the plugins; and adds a post
install section to use gconftool-2 to enable the "simple" plugin by default.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5299 311d38ba-8fff-0310-9ca6-ca027cbcb966
| -rw-r--r-- | meta/packages/gnome/metacity-clutter_git.bb | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/meta/packages/gnome/metacity-clutter_git.bb b/meta/packages/gnome/metacity-clutter_git.bb index d32927147c..831ba507ea 100644 --- a/meta/packages/gnome/metacity-clutter_git.bb +++ b/meta/packages/gnome/metacity-clutter_git.bb | |||
| @@ -2,8 +2,8 @@ SECTION = "x11/wm" | |||
| 2 | DESCRIPTION = "Metacity is the boring window manager for the adult in you." | 2 | DESCRIPTION = "Metacity is the boring window manager for the adult in you." |
| 3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
| 4 | DEPENDS = "startup-notification gtk+ gconf clutter gdk-pixbuf-csource-native" | 4 | DEPENDS = "startup-notification gtk+ gconf clutter gdk-pixbuf-csource-native" |
| 5 | PR = "r0" | 5 | PR = "r2" |
| 6 | PV = "2.25.1+gitr${SRCREV}" | 6 | PV = "2.25.1+git${SRCREV}" |
| 7 | inherit gnome update-alternatives | 7 | inherit gnome update-alternatives |
| 8 | 8 | ||
| 9 | SRC_URI = "git://git.o-hand.com/metacity-clutter.git;protocol=git;branch=clutter" | 9 | SRC_URI = "git://git.o-hand.com/metacity-clutter.git;protocol=git;branch=clutter" |
| @@ -18,9 +18,21 @@ EXTRA_OECONF += "--disable-verbose \ | |||
| 18 | --disable-xinerama \ | 18 | --disable-xinerama \ |
| 19 | --with-clutter" | 19 | --with-clutter" |
| 20 | 20 | ||
| 21 | FILES_${PN} += "${datadir}/themes" | 21 | FILES_${PN} += "${datadir}/themes ${libdir}/metacity/plugins/clutter/*.so" |
| 22 | FILES_${PN}-dbg += "${libdir}/metacity/plugins/clutter/.debug/*" | ||
| 22 | 23 | ||
| 23 | do_stage () { | 24 | do_stage () { |
| 24 | autotools_stage_all | 25 | autotools_stage_all |
| 25 | } | 26 | } |
| 26 | 27 | ||
| 28 | pkg_postinst_${PN} () { | ||
| 29 | #!/bin/sh -e | ||
| 30 | if [ "x$D" != "x" ]; then | ||
| 31 | exit 1 | ||
| 32 | fi | ||
| 33 | |||
| 34 | . ${sysconfdir}/init.d/functions | ||
| 35 | |||
| 36 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/metacity/general/clutter_plugins '[simple]' | ||
| 37 | } | ||
| 38 | |||
