summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-10-21 04:23:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:39:27 +0000
commitd3da00648ccd4b281871efdd1be7790fe77e5d1e (patch)
treeb29a775270802af68a1bcd80b1256f93027911ee /meta/recipes-graphics/clutter
parent63690f0914786c941af760735f60135a717d9e5d (diff)
downloadpoky-d3da00648ccd4b281871efdd1be7790fe77e5d1e.tar.gz
recipes: add distro_features_check for some packages
* The packages that depends on gtk+3 require any of distro features from ${GTK3DISTROFEATURES} * The packages that depends on virtual/egl, virtual/libgl ... require distro feature 'opengl' (From OE-Core rev: 3edf08b38b0af93cef0933b061349264dc86d54c) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/clutter')
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0.inc4
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-3.0.inc4
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk-1.0.inc6
3 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc
index da21cee8b5..5d0f55c64d 100644
--- a/meta/recipes-graphics/clutter/clutter-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-1.0.inc
@@ -2,7 +2,9 @@ SUMMARY = "Graphics library for creating hardware-accelerated user interfaces"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1+" 3LICENSE = "LGPLv2.1+"
4 4
5inherit clutter ptest-gnome 5inherit clutter ptest-gnome distro_features_check
6# depends on cogl-1.0 which needs opengl
7REQUIRED_DISTRO_FEATURES ?= "opengl"
6 8
7DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" 9DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0"
8PACKAGE_BEFORE_PN += "${PN}-examples" 10PACKAGE_BEFORE_PN += "${PN}-examples"
diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
index d4fed7127f..67c75902ef 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
@@ -2,7 +2,9 @@ SUMMARY = "GStreamer integration library for Clutter"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5inherit clutter 5inherit clutter distro_features_check
6# depends on clutter-1.0 which depends on cogl-1.0
7REQUIRED_DISTRO_FEATURES ?= "opengl"
6 8
7SRC_URI += "file://0001-Install-example-binary-needed-for-core-image-clutter.patch" 9SRC_URI += "file://0001-Install-example-binary-needed-for-core-image-clutter.patch"
8 10
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
index 45898b4d60..688eed2d91 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
@@ -2,7 +2,11 @@ SUMMARY = "Library for embedding a Clutter canvas in a GTK+ application"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5inherit clutter 5inherit clutter distro_features_check
6# depends on clutter-1.0 which depends on cogl-1.0
7REQUIRED_DISTRO_FEATURES ?= "opengl"
8# depends on gtk+3
9ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
6 10
7DEPENDS = "clutter-1.0 gtk+3" 11DEPENDS = "clutter-1.0 gtk+3"
8PACKAGES =+ "${PN}-examples" 12PACKAGES =+ "${PN}-examples"