clutter-1.0.inc 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. inherit clutter ptest-gnome features_check upstream-version-is-even gobject-introspection
  8. # depends on cogl-1.0 which needs opengl
  9. REQUIRED_DISTRO_FEATURES ?= "opengl"
  10. DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0"
  11. PACKAGE_BEFORE_PN += "${PN}-examples"
  12. AUTOTOOLS_AUXDIR = "${S}/build"
  13. EDEPENDS_X11 = "virtual/libx11 libxi libxfixes"
  14. EDEPENDS_GLX = "virtual/libgl"
  15. EDEPENDS_EGL = "virtual/egl"
  16. EDEPENDS_WAYLAND = "wayland libxkbcommon gdk-pixbuf"
  17. EDEPENDS_EVDEV = "libxkbcommon"
  18. ERDEPENDS_EVDEV = "xkeyboard-config"
  19. # Disable pretty much everything, override in platform specific set up
  20. EXTRA_OECONF += "--disable-quartz-backend \
  21. --disable-win32-backend \
  22. --disable-gdk-backend \
  23. --disable-cex100-backend \
  24. --disable-tslib-input \
  25. "
  26. PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,${EDEPENDS_X11}"
  27. PACKAGECONFIG[glx] = ",,${EDEPENDS_X11} ${EDEPENDS_GLX}"
  28. PACKAGECONFIG[egl] = "--enable-egl-backend,--disable-egl-backend,${EDEPENDS_EGL}"
  29. PACKAGECONFIG[evdev] = "--enable-evdev-input,--disable-evdev-input,${EDEPENDS_EVDEV},${ERDEPENDS_EVDEV}"
  30. PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,${EDEPENDS_WAYLAND}"
  31. PACKAGECONFIG[wayland-compositor] = "--enable-wayland-compositor,--disable-wayland-compositor,wayland"
  32. # Default configuration, distros might want to override
  33. PACKAGECONFIG ??= "egl \
  34. ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
  35. ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', '', d)}"
  36. FILES_${PN}-examples = "${libdir}/clutter/examples"
  37. do_configure_prepend() {
  38. # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this
  39. touch -t 200001010000 ${S}/po/clutter-1.0.pot
  40. }