diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-09 12:54:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 15:51:37 +0100 |
commit | 43d84e6febb2bfe17be4fedf5679ab8904249318 (patch) | |
tree | 979748d87cea12fd37c8c5abb5615fc40eb71e9f /meta/recipes-gnome | |
parent | b0c29c253d88cc6c63d0e10f6f5a1f2914a1da30 (diff) | |
download | poky-43d84e6febb2bfe17be4fedf5679ab8904249318.tar.gz |
metacity 2.30.3: fix build on GNOME-less hosts and fix packaging
(From OE-Core rev: 919956bf3114a4af5177d30a0c4ea4907e930439)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gnome/metacity_2.30.3.bb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-gnome/gnome/metacity_2.30.3.bb b/meta/recipes-gnome/gnome/metacity_2.30.3.bb index 18105f2d6f..44e21c9c6b 100644 --- a/meta/recipes-gnome/gnome/metacity_2.30.3.bb +++ b/meta/recipes-gnome/gnome/metacity_2.30.3.bb | |||
@@ -5,11 +5,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
5 | file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" | 5 | file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" |
6 | 6 | ||
7 | DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-native libcanberra" | 7 | DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-native libcanberra" |
8 | PR = "r0" | 8 | PR = "r1" |
9 | 9 | ||
10 | inherit gnome update-alternatives | 10 | inherit gnome update-alternatives |
11 | 11 | ||
12 | SRC_URI += "file://crosscompile.patch;patch=1" | 12 | SRC_URI += "file://crosscompile.patch;patch=1" |
13 | SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339" | ||
14 | SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd" | ||
13 | 15 | ||
14 | ALTERNATIVE_NAME = "x-window-manager" | 16 | ALTERNATIVE_NAME = "x-window-manager" |
15 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" | 17 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" |
@@ -19,11 +21,12 @@ ALTERNATIVE_PRIORITY = "10" | |||
19 | EXTRA_OECONF += "--disable-verbose \ | 21 | EXTRA_OECONF += "--disable-verbose \ |
20 | --disable-xinerama" | 22 | --disable-xinerama" |
21 | 23 | ||
22 | FILES_${PN} += "${datadir}/themes" | 24 | do_configure_prepend() { |
23 | 25 | sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in | |
26 | } | ||
24 | export CC_FOR_BUILD = "${BUILD_CC}" | 27 | export CC_FOR_BUILD = "${BUILD_CC}" |
25 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}" | 28 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}" |
26 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0" | 29 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0" |
27 | 30 | ||
28 | SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339" | 31 | FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" |
29 | SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd" | 32 | |