summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter/clutter-1.0.inc
diff options
context:
space:
mode:
authorTomas Frydrych <tomas@sleepfive.com>2013-05-20 16:05:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-21 09:30:16 +0100
commitbcb0616551abd1e05d6ee88a22d6c0dfbb6c5fda (patch)
tree9ab79c89b626749ae9a24771ab559e49ea7dc5c3 /meta/recipes-graphics/clutter/clutter-1.0.inc
parente847bd9f31210f0e3190cd7193cceb5cacfda5ab (diff)
downloadpoky-bcb0616551abd1e05d6ee88a22d6c0dfbb6c5fda.tar.gz
clutter: Replace with 1.14.4 version
The package has been renamed to clutter-1.0 instead of clutter-vmajor.vminor, keeping up with the upstream versioning policy (all 1.x packages install clutter-1.0 pc file and headers and are backward compatible), and to simplify dependency management (worth noting that since the 1.x development files are not parall installable, it is not possible to use two versions of clutter 1.x at the same time anyway). Package configuration is provided via PACKAGECONFIG options as follows: 'x11' : enable X11 backend, 'glx' : enable GLX backend, 'egl' : enable EGL backend, 'evdev': enable evdev input backend Default configuration is 'glx'; typical configuration for embedded HW using 'native' EGL would be 'egl evdev'. (From OE-Core rev: 4fbae4449fbb3f5eba499418b374c12bccfb4243) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter-1.0.inc')
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0.inc56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc
new file mode 100644
index 0000000000..6710776213
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-1.0.inc
@@ -0,0 +1,56 @@
1DESCRIPTION = "Clutter graphics library"
2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1+"
4
5inherit clutter
6
7SRC_URI += "file://enable_tests.patch"
8
9DEPENDS = "gtk-doc-native pango glib-2.0 json-glib atk udev cogl-1.0"
10PACKAGES =+ "${PN}-examples"
11AUTOTOOLS_AUXDIR = "${S}/build"
12
13EDEPENDS_X11 = "virtual/libx11 libxi libxfixes"
14EDEPENDS_GLX = "virtual/libgl"
15EDEPENDS_EGL = "virtual/egl"
16
17EDEPENDS_EVDEV = "libxkbcommon"
18ERDEPENDS_EVDEV = "xkeyboard-config"
19
20# Disable pretty much everything, override in platform specific set up
21EXTRA_OECONF += "--disable-gtk-doc \
22 ${@get_fpu_setting(bb, d)} \
23 --disable-introspection \
24 --disable-egl-backend \
25 --disable-quartz-backend \
26 --disable-win32-backend \
27 --disable-x11-backend \
28 --disable-gdk-backend \
29 --disable-wayland-backend \
30 --disable-wayland-compositor \
31 --disable-cex100-backend \
32 --disable-tslib-input \
33 --disable-evdev-input \
34 "
35
36PACKAGECONFIG[x11] = "--enable-x11-backend,,${EDEPENDS_X11}"
37PACKAGECONFIG[glx] = "--enable-x11-backend,,${EDEPENDS_X11} ${EDEPENDS_GLX}"
38PACKAGECONFIG[egl] = "--enable-egl-backend,,${EDEPENDS_EGL}"
39PACKAGECONFIG[evdev] = "--enable-evdev-input,,${EDEPENDS_EVDEV},${ERDEPENDS_EVDEV}"
40
41# Default configuration, distros might want to override
42PACKAGECONFIG ??= "glx"
43
44FILES_${PN}-examples = "${bindir}/test-* ${pkgdatadir}/redhand.png"
45
46do_configure_prepend() {
47 # Fix up some weirdness in the docs
48 sed -i s:doc/reference/Makefile::g ${S}/configure.ac
49 sed -i s:doc::g ${S}/Makefile.am
50
51 # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this
52 touch -t 200001010000 po/clutter-1.0.pot
53
54 # Disable DOLT
55 sed -i -e 's/^DOLT//' ${S}/configure.ac
56}