diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-03-09 17:02:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-12 22:11:45 +0000 |
commit | c1d67e459d24c47ec8728123ba628e1cceae2140 (patch) | |
tree | fe211903efd28c5718332e17c355b4c7d01770d6 /meta/recipes-graphics/cogl | |
parent | 0ec412b09dc8b1bd3a003e11c7077e1d59194882 (diff) | |
download | poky-c1d67e459d24c47ec8728123ba628e1cceae2140.tar.gz |
clutter: enable gobject introspection
(From OE-Core rev: e364deddafaec1f1f6b58ac41542dfc91d5145a4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cogl')
-rw-r--r-- | meta/recipes-graphics/cogl/cogl-1.0.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc index b56bfecefe..fc7cffee4b 100644 --- a/meta/recipes-graphics/cogl/cogl-1.0.inc +++ b/meta/recipes-graphics/cogl/cogl-1.0.inc | |||
@@ -2,7 +2,7 @@ SUMMARY = "Modern 3D graphics API with associated utility APIs" | |||
2 | HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" | 2 | HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | inherit clutter distro_features_check upstream-version-is-even | 5 | inherit clutter distro_features_check upstream-version-is-even gobject-introspection |
6 | # cogl-1.0 needs opengl to build | 6 | # cogl-1.0 needs opengl to build |
7 | REQUIRED_DISTRO_FEATURES ?= "opengl" | 7 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
8 | 8 | ||
@@ -26,8 +26,7 @@ ERDEPENDS_GL = "libgl" | |||
26 | ERDEPENDS_GLES2 = "libgles2" | 26 | ERDEPENDS_GLES2 = "libgles2" |
27 | 27 | ||
28 | # GLESv1 is rarely tested, so disable it | 28 | # GLESv1 is rarely tested, so disable it |
29 | EXTRA_OECONF += "--disable-introspection \ | 29 | EXTRA_OECONF += "--enable-examples-install \ |
30 | --enable-examples-install \ | ||
31 | --enable-debug \ | 30 | --enable-debug \ |
32 | --disable-gles1 \ | 31 | --disable-gles1 \ |
33 | --disable-cairo \ | 32 | --disable-cairo \ |
@@ -58,6 +57,9 @@ PACKAGECONFIG ??= "cogl-pango gles2 \ | |||
58 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx egl-x11', '', d)} \ | 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx egl-x11', '', d)} \ |
59 | " | 58 | " |
60 | 59 | ||
60 | do_compile_prepend() { | ||
61 | export GIR_EXTRA_LIBS_PATH="${B}/cogl/.libs" | ||
62 | } | ||
61 | 63 | ||
62 | FILES_${PN}-examples = "${bindir}/* ${datadir}/cogl/examples-data/*" | 64 | FILES_${PN}-examples = "${bindir}/* ${datadir}/cogl/examples-data/*" |
63 | FILES_libcogl = "${libdir}/libcogl${SOLIBS}" | 65 | FILES_libcogl = "${libdir}/libcogl${SOLIBS}" |