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 / weston / weston.mk
1 ################################################################################
2 #
3 # weston
4 #
5 ################################################################################
6
7 WESTON_VERSION = 1.7.0
8 WESTON_SITE = http://wayland.freedesktop.org/releases
9 WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz
10 WESTON_LICENSE = MIT
11 WESTON_LICENSE_FILES = COPYING
12
13 WESTON_DEPENDENCIES = host-pkgconf wayland libxkbcommon pixman libpng \
14         jpeg mtdev udev cairo libinput
15
16 WESTON_CONF_OPTS = \
17         --with-dtddir=$(STAGING_DIR)/usr/share/wayland \
18         --disable-egl \
19         --disable-simple-egl-clients \
20         --disable-xwayland \
21         --disable-x11-compositor \
22         --disable-drm-compositor \
23         --disable-wayland-compositor \
24         --disable-headless-compositor \
25         --disable-weston-launch \
26         --disable-colord
27
28 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
29 WESTON_DEPENDENCIES += libunwind
30 else
31 WESTON_CONF_OPTS += --disable-libunwind
32 endif
33
34 ifeq ($(BR2_PACKAGE_WESTON_RDP),y)
35 WESTON_DEPENDENCIES += freerdp
36 WESTON_CONF_OPTS += --enable-rdp-compositor
37 else
38 WESTON_CONF_OPTS += --disable-rdp-compositor
39 endif
40
41 ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y)
42 WESTON_CONF_OPTS += --enable-fbdev-compositor
43 else
44 WESTON_CONF_OPTS += --disable-fbdev-compositor
45 endif
46
47 ifeq ($(BR2_PACKAGE_WESTON_RPI),y)
48 WESTON_DEPENDENCIES += rpi-userland
49 WESTON_CONF_OPTS += --enable-rpi-compositor \
50         --disable-resize-optimization \
51         --disable-setuid-install \
52         --disable-xwayland-test \
53         --disable-simple-egl-clients \
54         WESTON_NATIVE_BACKEND=rpi-backend.so
55 else
56 WESTON_CONF_OPTS += --disable-rpi-compositor
57 endif # BR2_PACKAGE_WESTON_RPI
58
59 $(eval $(autotools-package))