Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SECTION = "x11/wm" |
| 2 | SUMMARY = "Metacity is the boring window manager for the adult in you" |
| 3 | LICENSE = "GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 5 | file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" |
| 6 | |
| 7 | DEPENDS = "gsettings-desktop-schemas startup-notification gtk+ gconf gdk-pixbuf-native libcanberra gnome-doc-utils libgtop intltool-native" |
| 8 | PR = "r1" |
| 9 | |
| 10 | inherit gnomebase update-alternatives distro_features_check |
| 11 | # depends on startup-notification which depends on virtual/libx11 |
| 12 | REQUIRED_DISTRO_FEATURES = "x11" |
| 13 | |
| 14 | GNOME_COMPRESS_TYPE = "xz" |
| 15 | |
| 16 | SRC_URI += "file://remove-yelp-help-rules-var.patch" |
| 17 | SRC_URI[archive.md5sum] = "6d89b71672d4fa49fc87f83d610d0ef6" |
| 18 | SRC_URI[archive.sha256sum] = "8cf4dbf0da0a6f36357ce7db7f829ec685908a7792453c662fb8184572b91075" |
| 19 | |
| 20 | ALTERNATIVE_${PN} = "x-window-manager" |
| 21 | ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/metacity" |
| 22 | ALTERNATIVE_PRIORITY = "10" |
| 23 | |
| 24 | EXTRA_OECONF += "--disable-xinerama" |
| 25 | |
| 26 | do_configure_prepend() { |
| 27 | sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in |
| 28 | } |
| 29 | |
| 30 | FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" |
| 31 | RDEPENDS_${PN} += "gsettings-desktop-schemas" |
| 32 | |