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 / wayland / wayland.mk
1 ################################################################################
2 #
3 # wayland
4 #
5 ################################################################################
6
7 WAYLAND_VERSION = 1.7.0
8 WAYLAND_SITE = http://wayland.freedesktop.org/releases
9 WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
10 WAYLAND_LICENSE = MIT
11 WAYLAND_LICENSE_FILES = COPYING
12
13 WAYLAND_INSTALL_STAGING = YES
14 WAYLAND_DEPENDENCIES = libffi host-pkgconf host-wayland expat
15
16 # wayland-scanner is only needed for building, not on the target
17 WAYLAND_CONF_OPTS = --disable-scanner
18
19 # We must provide a specialy-crafted wayland-scanner .pc file
20 # which we vampirise and adapt from the host-wayland copy
21 define WAYLAND_SCANNER_PC
22         $(INSTALL) -m 0644 -D $(HOST_DIR)/usr/lib/pkgconfig/wayland-scanner.pc \
23                 $(STAGING_DIR)/usr/lib/pkgconfig/wayland-scanner.pc
24         $(SED) 's:^prefix=.*:prefix=/usr:' \
25                 -e 's:^wayland_scanner=.*:wayland_scanner=$(HOST_DIR)/usr/bin/wayland-scanner:' \
26                 $(STAGING_DIR)/usr/lib/pkgconfig/wayland-scanner.pc
27 endef
28 WAYLAND_POST_INSTALL_STAGING_HOOKS += WAYLAND_SCANNER_PC
29
30 # Remove the DTD from the target, it's not needed at runtime
31 define WAYLAND_TARGET_CLEANUP
32         rm -rf $(TARGET_DIR)/usr/share/wayland
33 endef
34 WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP
35
36 $(eval $(autotools-package))
37 $(eval $(host-autotools-package))