diff options
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter-1.0.inc')
-rw-r--r-- | meta/recipes-graphics/clutter/clutter-1.0.inc | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc deleted file mode 100644 index 80472178be..0000000000 --- a/meta/recipes-graphics/clutter/clutter-1.0.inc +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | SUMMARY = "Graphics library for creating hardware-accelerated user interfaces" | ||
2 | DESCRIPTION = "Clutter is an Open GL based interactive canvas library, \ | ||
3 | designed for creating fast, mainly 2D single window applications such as media \ | ||
4 | box UIs, presentations, kiosk style applications and so on." | ||
5 | HOMEPAGE = "http://www.clutter-project.org/" | ||
6 | LICENSE = "LGPLv2.1+" | ||
7 | |||
8 | inherit clutter ptest-gnome features_check upstream-version-is-even gobject-introspection | ||
9 | # depends on cogl-1.0 which needs opengl | ||
10 | REQUIRED_DISTRO_FEATURES ?= "opengl" | ||
11 | |||
12 | DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" | ||
13 | PACKAGE_BEFORE_PN += "${PN}-examples" | ||
14 | AUTOTOOLS_AUXDIR = "${S}/build-aux" | ||
15 | |||
16 | EDEPENDS_X11 = "virtual/libx11 libxi libxfixes" | ||
17 | EDEPENDS_GLX = "virtual/libgl" | ||
18 | EDEPENDS_EGL = "virtual/egl" | ||
19 | EDEPENDS_WAYLAND = "wayland libxkbcommon gdk-pixbuf" | ||
20 | |||
21 | EDEPENDS_EVDEV = "libxkbcommon" | ||
22 | ERDEPENDS_EVDEV = "xkeyboard-config" | ||
23 | |||
24 | # Disable pretty much everything, override in platform specific set up | ||
25 | EXTRA_OECONF += "--disable-quartz-backend \ | ||
26 | --disable-win32-backend \ | ||
27 | --disable-cex100-backend \ | ||
28 | --disable-tslib-input \ | ||
29 | " | ||
30 | |||
31 | PACKAGECONFIG[gdk] = "--enable-gdk-backend,--disable-gdk-backend,gtk+3" | ||
32 | PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,${EDEPENDS_X11}" | ||
33 | PACKAGECONFIG[glx] = ",,${EDEPENDS_X11} ${EDEPENDS_GLX}" | ||
34 | PACKAGECONFIG[egl] = "--enable-egl-backend,--disable-egl-backend,${EDEPENDS_EGL}" | ||
35 | PACKAGECONFIG[evdev] = "--enable-evdev-input,--disable-evdev-input,${EDEPENDS_EVDEV},${ERDEPENDS_EVDEV}" | ||
36 | PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,${EDEPENDS_WAYLAND}" | ||
37 | PACKAGECONFIG[wayland-compositor] = "--enable-wayland-compositor,--disable-wayland-compositor,wayland" | ||
38 | |||
39 | # Default configuration, distros might want to override | ||
40 | PACKAGECONFIG ??= "egl gdk \ | ||
41 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ | ||
42 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', '', d)}" | ||
43 | |||
44 | FILES_${PN}-examples = "${libdir}/clutter/examples" | ||
45 | |||
46 | do_configure_prepend() { | ||
47 | # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this | ||
48 | touch -t 200001010000 ${S}/po/clutter-1.0.pot | ||
49 | } | ||