2008-09-22 16:43:39 +00:00
|
|
|
SECTION = "x11/wm"
|
|
|
|
DESCRIPTION = "Metacity is the boring window manager for the adult in you."
|
2010-11-26 15:00:02 +00:00
|
|
|
LICENSE = "GPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
|
|
file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90"
|
|
|
|
|
2011-07-18 15:15:29 +00:00
|
|
|
DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-native libcanberra gnome-doc-utils"
|
2011-12-01 17:02:41 +00:00
|
|
|
PR = "r3"
|
2008-09-22 16:43:39 +00:00
|
|
|
|
|
|
|
inherit gnome update-alternatives
|
|
|
|
|
2011-08-18 00:17:52 +00:00
|
|
|
SRC_URI += "file://crosscompile.patch"
|
2011-06-09 10:54:00 +00:00
|
|
|
SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339"
|
|
|
|
SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd"
|
2010-12-30 13:04:22 +00:00
|
|
|
|
2008-09-23 03:21:06 +00:00
|
|
|
ALTERNATIVE_NAME = "x-window-manager"
|
|
|
|
ALTERNATIVE_LINK = "${bindir}/x-window-manager"
|
|
|
|
ALTERNATIVE_PATH = "${bindir}/metacity"
|
2008-09-22 16:43:39 +00:00
|
|
|
ALTERNATIVE_PRIORITY = "10"
|
|
|
|
|
2008-09-23 02:00:56 +00:00
|
|
|
EXTRA_OECONF += "--disable-verbose \
|
|
|
|
--disable-xinerama"
|
|
|
|
|
2011-06-09 10:54:00 +00:00
|
|
|
do_configure_prepend() {
|
|
|
|
sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in
|
|
|
|
}
|
2010-12-30 13:04:22 +00:00
|
|
|
export CC_FOR_BUILD = "${BUILD_CC}"
|
|
|
|
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}"
|
|
|
|
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0"
|
|
|
|
|
2011-06-09 10:54:00 +00:00
|
|
|
FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome"
|
|
|
|
|