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 | |
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')
-rw-r--r-- | meta/recipes-graphics/clutter/clutter-1.0.inc | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/clutter/clutter-gst-3.0.inc | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/clutter/clutter-gtk-1.0.inc | 3 | ||||
-rw-r--r-- | meta/recipes-graphics/cogl/cogl-1.0.inc | 8 | ||||
-rw-r--r-- | meta/recipes-graphics/mx/mx.inc | 5 |
5 files changed, 11 insertions, 14 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc index 0ace1ce624..c6ecd0804c 100644 --- a/meta/recipes-graphics/clutter/clutter-1.0.inc +++ b/meta/recipes-graphics/clutter/clutter-1.0.inc | |||
@@ -2,7 +2,7 @@ SUMMARY = "Graphics library for creating hardware-accelerated user interfaces" | |||
2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
3 | LICENSE = "LGPLv2.1+" | 3 | LICENSE = "LGPLv2.1+" |
4 | 4 | ||
5 | inherit clutter ptest-gnome distro_features_check upstream-version-is-even | 5 | inherit clutter ptest-gnome distro_features_check upstream-version-is-even gobject-introspection |
6 | # depends on cogl-1.0 which needs opengl | 6 | # depends on cogl-1.0 which needs opengl |
7 | REQUIRED_DISTRO_FEATURES ?= "opengl" | 7 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
8 | 8 | ||
@@ -19,8 +19,7 @@ EDEPENDS_EVDEV = "libxkbcommon" | |||
19 | ERDEPENDS_EVDEV = "xkeyboard-config" | 19 | ERDEPENDS_EVDEV = "xkeyboard-config" |
20 | 20 | ||
21 | # Disable pretty much everything, override in platform specific set up | 21 | # Disable pretty much everything, override in platform specific set up |
22 | EXTRA_OECONF += "--disable-introspection \ | 22 | EXTRA_OECONF += "--disable-quartz-backend \ |
23 | --disable-quartz-backend \ | ||
24 | --disable-win32-backend \ | 23 | --disable-win32-backend \ |
25 | --disable-gdk-backend \ | 24 | --disable-gdk-backend \ |
26 | --disable-cex100-backend \ | 25 | --disable-cex100-backend \ |
diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc index 4f7b4a3c00..4c877982b7 100644 --- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc +++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc | |||
@@ -2,7 +2,7 @@ SUMMARY = "GStreamer integration library for Clutter" | |||
2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
3 | LICENSE = "LGPLv2+" | 3 | LICENSE = "LGPLv2+" |
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 | # depends on clutter-1.0 which depends on cogl-1.0 | 6 | # depends on clutter-1.0 which depends on cogl-1.0 |
7 | REQUIRED_DISTRO_FEATURES ?= "opengl" | 7 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
8 | 8 | ||
@@ -12,8 +12,6 @@ DEPENDS = "gstreamer1.0-plugins-base gstreamer1.0-plugins-bad clutter-1.0 libgud | |||
12 | RDEPENDS_${PN} += "gstreamer1.0-meta-base" | 12 | RDEPENDS_${PN} += "gstreamer1.0-meta-base" |
13 | PACKAGES =+ "${PN}-examples" | 13 | PACKAGES =+ "${PN}-examples" |
14 | 14 | ||
15 | EXTRA_OECONF += "--disable-introspection" | ||
16 | |||
17 | FILES_${PN} += "${libdir}/gstreamer-1.0/lib*.so" | 15 | FILES_${PN} += "${libdir}/gstreamer-1.0/lib*.so" |
18 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | 16 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" |
19 | FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink" | 17 | FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink" |
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc index b07d3b941d..05c4e5f5ca 100644 --- a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc +++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc | |||
@@ -2,7 +2,7 @@ SUMMARY = "Library for embedding a Clutter canvas in a GTK+ application" | |||
2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
3 | LICENSE = "LGPLv2+" | 3 | LICENSE = "LGPLv2+" |
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 | # depends on clutter-1.0 which depends on cogl-1.0 | 6 | # depends on clutter-1.0 which depends on cogl-1.0 |
7 | REQUIRED_DISTRO_FEATURES ?= "opengl" | 7 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
8 | # depends on gtk+3 | 8 | # depends on gtk+3 |
@@ -12,5 +12,4 @@ DEPENDS = "clutter-1.0 gtk+3" | |||
12 | PACKAGES =+ "${PN}-examples" | 12 | PACKAGES =+ "${PN}-examples" |
13 | AUTOTOOLS_AUXDIR = "${S}/build" | 13 | AUTOTOOLS_AUXDIR = "${S}/build" |
14 | 14 | ||
15 | EXTRA_OECONF += "--disable-introspection" | ||
16 | 15 | ||
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}" |
diff --git a/meta/recipes-graphics/mx/mx.inc b/meta/recipes-graphics/mx/mx.inc index aa4915d25c..4f1095793d 100644 --- a/meta/recipes-graphics/mx/mx.inc +++ b/meta/recipes-graphics/mx/mx.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "Clutter based UI widget library" | 1 | SUMMARY = "Clutter based UI widget library" |
2 | LICENSE = "LGPLv2.1" | 2 | LICENSE = "LGPLv2.1" |
3 | 3 | ||
4 | inherit clutter autotools-brokensep distro_features_check | 4 | inherit clutter autotools-brokensep distro_features_check gobject-introspection |
5 | # depends on clutter-1.0 which depends on cogl-1.0 | 5 | # depends on clutter-1.0 which depends on cogl-1.0 |
6 | REQUIRED_DISTRO_FEATURES = "opengl" | 6 | REQUIRED_DISTRO_FEATURES = "opengl" |
7 | 7 | ||
@@ -9,8 +9,7 @@ DEPENDS = "clutter-1.0 dbus-glib gdk-pixbuf" | |||
9 | 9 | ||
10 | SRC_URI = "http://source.clutter-project.org/sources/mx/${@get_verdir("${PV}")}/mx-${PV}.tar.xz" | 10 | SRC_URI = "http://source.clutter-project.org/sources/mx/${@get_verdir("${PV}")}/mx-${PV}.tar.xz" |
11 | 11 | ||
12 | EXTRA_OECONF = "--disable-introspection \ | 12 | EXTRA_OECONF = "--disable-gtk-doc \ |
13 | --disable-gtk-doc \ | ||
14 | --disable-gtk-widgets \ | 13 | --disable-gtk-widgets \ |
15 | --with-dbus \ | 14 | --with-dbus \ |
16 | --with-winsys=none \ | 15 | --with-winsys=none \ |