diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-graphics/clutter/clutter.inc | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter.inc')
-rw-r--r-- | meta/recipes-graphics/clutter/clutter.inc | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-graphics/clutter/clutter.inc b/meta/recipes-graphics/clutter/clutter.inc new file mode 100644 index 0000000000..c099309bbb --- /dev/null +++ b/meta/recipes-graphics/clutter/clutter.inc | |||
@@ -0,0 +1,57 @@ | |||
1 | DESCRIPTION = "Clutter graphics library" | ||
2 | HOMEPAGE = "http://www.clutter-project.org/" | ||
3 | LICENSE = "LGPL" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "(zylonite|mx31litekit|omap-3430ldp|omap-3430sdp|mx31ads|qemuarm|qemux86|ipodtouch|netbook|menlow)" | ||
6 | |||
7 | STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gtk+ libxi" | ||
8 | BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)}" | ||
9 | |||
10 | DEPENDS = "${STDDEPENDS} virtual/libgl" | ||
11 | EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx" | ||
12 | |||
13 | DEPENDS_zylonite = "${STDDEPENDS} libgles-zylonite tslib" | ||
14 | EXTRA_OECONF_zylonite = "${BASE_CONF} --with-flavour=eglnative" | ||
15 | PACKAGE_ARCH_zylonite = "${MACHINE_ARCH}" | ||
16 | LDFLAGS_append_zylonite = " -lnws -lstdc++ " | ||
17 | |||
18 | DEPENDS_mx31litekit = "${STDDEPENDS} libgles-mx31 tslib" | ||
19 | EXTRA_OECONF_mx31litekit = "${BASE_CONF} --with-flavour=eglnative" | ||
20 | PACKAGE_ARCH_mx31litekit = "${MACHINE_ARCH}" | ||
21 | LDFLAGS_append_mx31litekit = " -lpvrNULLWSEGL -lstdc++ " | ||
22 | |||
23 | DEPENDS_omap-3430ldp = "${STDDEPENDS} libgles-omap3 tslib" | ||
24 | # The eglx drivers are pretty dire, use eglnative | ||
25 | EXTRA_OECONF_omap-3430ldp = "${BASE_CONF} --with-flavour=eglnative" | ||
26 | PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}" | ||
27 | |||
28 | DEPENDS_omap-3430sdp = "${STDDEPENDS} libgles-omap3 tslib" | ||
29 | # The eglx drivers are pretty dire, use eglnative | ||
30 | EXTRA_OECONF_omap-3430sdp = "${BASE_CONF} --with-flavour=eglnative" | ||
31 | PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}" | ||
32 | |||
33 | DEPENDS_mx31ads = "${STDDEPENDS} libgles-mx31 tslib" | ||
34 | EXTRA_OECONF_mx31ads = "${BASE_CONF} --with-flavour=eglnative" | ||
35 | PACKAGE_ARCH_mx31ads = "${MACHINE_ARCH}" | ||
36 | LDFLAGS_append_mx31ads = " -lpvrNULLWSEGL -lstdc++ " | ||
37 | |||
38 | DEPENDS_netbook = "${STDDEPENDS} virtual/xserver-xf86 virtual/libgl" | ||
39 | EXTRA_OECONF_netbook = "${BASE_CONF} --with-flavour=glx" | ||
40 | PACKAGE_ARCH_netbook = "${MACHINE_ARCH}" | ||
41 | |||
42 | DEPENDS_menlow = "${STDDEPENDS} virtual/xserver-xf86 virtual/libgl" | ||
43 | EXTRA_OECONF_menlow = "${BASE_CONF} --with-flavour=glx" | ||
44 | PACKAGE_ARCH_menlow = "${MACHINE_ARCH}" | ||
45 | |||
46 | FILESPATH = "${FILE_DIRNAME}/clutter" | ||
47 | |||
48 | inherit autotools pkgconfig gtk-doc | ||
49 | |||
50 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
51 | require clutter-fpu.inc | ||
52 | |||
53 | #Fix up some weirdness in the docs | ||
54 | do_configure_prepend() { | ||
55 | sed -i s:doc/reference/Makefile::g ${S}/configure.ac | ||
56 | sed -i s:doc::g ${S}/Makefile.am | ||
57 | } | ||