The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / metacity / metacity.mk
1 ################################################################################
2 #
3 # metacity
4 #
5 ################################################################################
6
7 # newer versions need libcanberra-gtk and gnome-doc-utils
8 METACITY_VERSION_MAJOR = 2.25
9 METACITY_VERSION = $(METACITY_VERSION_MAJOR).1
10 METACITY_SOURCE = metacity-$(METACITY_VERSION).tar.bz2
11 METACITY_SITE = http://ftp.gnome.org/pub/gnome/sources/metacity/$(METACITY_VERSION_MAJOR)
12 METACITY_LICENSE = GPLv2+
13 METACITY_LICENSE_FILES = COPYING
14
15 METACITY_CONF_OPTS = \
16         --x-includes=$(STAGING_DIR)/usr/include/X11 \
17         --x-libraries=$(STAGING_DIR)/usr/lib \
18         --disable-glibtest \
19         --disable-gconf \
20         --disable-sm \
21         --disable-startup-notification
22
23 METACITY_DEPENDENCIES = libgtk2 \
24         xlib_libX11 \
25         host-libxml-parser-perl \
26         xlib_libXcomposite \
27         xlib_libXfixes \
28         xlib_libXrender \
29         xlib_libXdamage
30
31 ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
32 METACITY_DEPENDENCIES += xlib_libXcursor
33 endif
34
35 define METACITY_INSTALL_XSESSION
36         $(INSTALL) -D package/metacity/Xsession $(TARGET_DIR)/etc/X11/Xsession
37 endef
38
39 METACITY_POST_INSTALL_TARGET_HOOKS += METACITY_INSTALL_XSESSION
40
41 $(eval $(autotools-package))