diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-12 14:14:39 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-14 13:18:07 +0100 |
| commit | 263852e5a27ca2256ff11d72c0c80e963bdbee0a (patch) | |
| tree | 7e7496b67f218f0b7756b0db41c982574fa0cb93 | |
| parent | 8dc24dad315f639c8eb6f742a222765fc6a3aad8 (diff) | |
| download | poky-263852e5a27ca2256ff11d72c0c80e963bdbee0a.tar.gz | |
cogl: Add git recipe (required by clutter)
(From OE-Core rev: 00545a358fb1fd29a9dd7a77ee54eaf303f41493)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/clutter/cogl.inc | 22 | ||||
| -rw-r--r-- | meta/recipes-graphics/clutter/cogl_git.bb | 19 |
2 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-graphics/clutter/cogl.inc b/meta/recipes-graphics/clutter/cogl.inc new file mode 100644 index 0000000000..387f6ecf43 --- /dev/null +++ b/meta/recipes-graphics/clutter/cogl.inc | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "Clutter graphics library" | ||
| 2 | HOMEPAGE = "http://www.clutter-project.org/" | ||
| 3 | LICENSE = "LGPL" | ||
| 4 | |||
| 5 | STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gdk-pixbuf libxi" | ||
| 6 | BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)}" | ||
| 7 | |||
| 8 | DEPENDS = "${STDDEPENDS} virtual/libgl" | ||
| 9 | EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx" | ||
| 10 | |||
| 11 | FILESPATH = "${FILE_DIRNAME}/clutter" | ||
| 12 | |||
| 13 | inherit autotools pkgconfig gtk-doc gettext | ||
| 14 | |||
| 15 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
| 16 | require clutter-fpu.inc | ||
| 17 | |||
| 18 | #Fix up some weirdness in the docs | ||
| 19 | do_configure_prepend() { | ||
| 20 | sed -i s:doc/reference/Makefile::g ${S}/configure.ac | ||
| 21 | sed -i s:doc::g ${S}/Makefile.am | ||
| 22 | } | ||
diff --git a/meta/recipes-graphics/clutter/cogl_git.bb b/meta/recipes-graphics/clutter/cogl_git.bb new file mode 100644 index 0000000000..890c654b04 --- /dev/null +++ b/meta/recipes-graphics/clutter/cogl_git.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | require cogl.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
| 4 | |||
| 5 | SRCREV = "0a70a159c65357809740971570b2e301451161b5" | ||
| 6 | PV = "1.8.0+git${SRCPV}" | ||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | DEFAULT_PREFERENCE = "-1" | ||
| 10 | |||
| 11 | SRC_URI = "git://git.gnome.org/cogl;protocol=git;branch=master" | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | AUTOTOOLS_AUXDIR = "${S}/build" | ||
| 15 | |||
| 16 | do_configure_prepend () { | ||
| 17 | # Disable DOLT | ||
| 18 | sed -i -e 's/^DOLT//' ${S}/configure.ac | ||
| 19 | } | ||
