summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta/recipes-gnome/gcr/gcr_3.16.0.bb4
-rw-r--r--meta/recipes-gnome/libnotify/libnotify_0.7.6.bb4
-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
-rw-r--r--meta/recipes-graphics/cogl/cogl-1.0.inc4
-rw-r--r--meta/recipes-graphics/eglinfo/eglinfo.inc4
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_git.bb4
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb4
-rw-r--r--meta/recipes-graphics/mx/mx.inc4
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb4
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb4
-rw-r--r--meta/recipes-graphics/wayland/weston_1.8.0.bb4
13 files changed, 41 insertions, 13 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_3.16.0.bb b/meta/recipes-gnome/gcr/gcr_3.16.0.bb
index 4c9fe2ec89..057c815654 100644
--- a/meta/recipes-gnome/gcr/gcr_3.16.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.16.0.bb
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
7 7
8DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt vala" 8DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt vala"
9 9
10inherit autotools gnomebase gtk-icon-cache gtk-doc 10inherit autotools gnomebase gtk-icon-cache gtk-doc distro_features_check
11# depends on gtk+3
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
11 13
12SRC_URI[archive.md5sum] = "d5835680be0b6a838e02a528d5378d9c" 14SRC_URI[archive.md5sum] = "d5835680be0b6a838e02a528d5378d9c"
13SRC_URI[archive.sha256sum] = "ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075" 15SRC_URI[archive.sha256sum] = "ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075"
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb b/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb
index 41d188cadd..1a24c1073e 100644
--- a/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb
+++ b/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
5 5
6DEPENDS = "dbus gtk+3 dbus-glib" 6DEPENDS = "dbus gtk+3 dbus-glib"
7 7
8inherit gnomebase gtk-doc 8inherit gnomebase gtk-doc distro_features_check
9# depends on gtk+3
10ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
9 11
10SRC_URI[archive.md5sum] = "a4997019d08f46f3bf57b78e6f795a59" 12SRC_URI[archive.md5sum] = "a4997019d08f46f3bf57b78e6f795a59"
11SRC_URI[archive.sha256sum] = "0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837" 13SRC_URI[archive.sha256sum] = "0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837"
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"
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index 3da31c85fd..88d84ea5fe 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -2,7 +2,9 @@ SUMMARY = "Modern 3D graphics API with associated utility APIs"
2HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" 2HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl"
3LICENSE = "MIT" 3LICENSE = "MIT"
4 4
5inherit clutter 5inherit clutter distro_features_check
6# cogl-1.0 needs opengl to build
7REQUIRED_DISTRO_FEATURES ?= "opengl"
6 8
7DEPENDS = "glib-2.0 gdk-pixbuf" 9DEPENDS = "glib-2.0 gdk-pixbuf"
8PACKAGES =+ "${PN}-examples \ 10PACKAGES =+ "${PN}-examples \
diff --git a/meta/recipes-graphics/eglinfo/eglinfo.inc b/meta/recipes-graphics/eglinfo/eglinfo.inc
index b87688af72..fb891755db 100644
--- a/meta/recipes-graphics/eglinfo/eglinfo.inc
+++ b/meta/recipes-graphics/eglinfo/eglinfo.inc
@@ -11,7 +11,9 @@ SRCREV = "4b317648ec6cf39556a9e5d8078f605bc0edd5de"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14inherit waf 14inherit waf distro_features_check
15# depends on virtual/egl
16REQUIRED_DISTRO_FEATURES ?= "opengl"
15 17
16# BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, which 18# BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, which
17# append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS and set 19# append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS and set
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
index ad1729383e..6c247ccafe 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_git.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
@@ -17,7 +17,9 @@ PV = "1.3.1"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig 20inherit autotools pkgconfig distro_features_check
21# depends on virtual/egl
22REQUIRED_DISTRO_FEATURES = "opengl"
21 23
22DEPENDS = "util-macros virtual/egl" 24DEPENDS = "util-macros virtual/egl"
23 25
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
index 0094f556f9..557b8c65db 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
@@ -24,7 +24,9 @@ SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \
24SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061" 24SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061"
25SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92" 25SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92"
26 26
27inherit autotools pkgconfig 27inherit autotools pkgconfig distro_features_check
28# depends on virtual/egl, virtual/libgl ...
29REQUIRED_DISTRO_FEATURES = "opengl"
28 30
29PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ 31PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
30 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu', '', d)}" 32 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu', '', d)}"
diff --git a/meta/recipes-graphics/mx/mx.inc b/meta/recipes-graphics/mx/mx.inc
index ee7f18623c..aa4915d25c 100644
--- a/meta/recipes-graphics/mx/mx.inc
+++ b/meta/recipes-graphics/mx/mx.inc
@@ -1,7 +1,9 @@
1SUMMARY = "Clutter based UI widget library" 1SUMMARY = "Clutter based UI widget library"
2LICENSE = "LGPLv2.1" 2LICENSE = "LGPLv2.1"
3 3
4inherit clutter autotools-brokensep 4inherit clutter autotools-brokensep distro_features_check
5# depends on clutter-1.0 which depends on cogl-1.0
6REQUIRED_DISTRO_FEATURES = "opengl"
5 7
6DEPENDS = "clutter-1.0 dbus-glib gdk-pixbuf" 8DEPENDS = "clutter-1.0 dbus-glib gdk-pixbuf"
7 9
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
index 9d67e5f89c..5734b2785f 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
@@ -7,7 +7,9 @@ LICENSE = "MIT"
7 7
8PR = "r6" 8PR = "r6"
9 9
10inherit packagegroup 10inherit packagegroup distro_features_check
11# rdepends on clutter-*
12REQUIRED_DISTRO_FEATURES = "opengl"
11 13
12PACKAGES = "\ 14PACKAGES = "\
13 ${PN}-core \ 15 ${PN}-core \
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 38b78bcd02..fc2e4f80ee 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -11,7 +11,9 @@ do_install() {
11 install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston 11 install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston
12} 12}
13 13
14inherit allarch update-rc.d 14inherit allarch update-rc.d distro_features_check
15# rdepends on weston which depends on virtual/egl
16REQUIRED_DISTRO_FEATURES = "opengl"
15 17
16RDEPENDS_${PN} = "weston kbd" 18RDEPENDS_${PN} = "weston kbd"
17 19
diff --git a/meta/recipes-graphics/wayland/weston_1.8.0.bb b/meta/recipes-graphics/wayland/weston_1.8.0.bb
index 342c604b98..95cf4956da 100644
--- a/meta/recipes-graphics/wayland/weston_1.8.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.8.0.bb
@@ -16,7 +16,9 @@ SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
16SRC_URI[md5sum] = "24cb8a7ed0535b4fc3642643988dab36" 16SRC_URI[md5sum] = "24cb8a7ed0535b4fc3642643988dab36"
17SRC_URI[sha256sum] = "8963e69f328e815cec42c58046c4af721476c7541bb7d9edc71740fada5ad312" 17SRC_URI[sha256sum] = "8963e69f328e815cec42c58046c4af721476c7541bb7d9edc71740fada5ad312"
18 18
19inherit autotools pkgconfig useradd 19inherit autotools pkgconfig useradd distro_features_check
20# depends on virtual/egl
21REQUIRED_DISTRO_FEATURES = "opengl"
20 22
21DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" 23DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
22DEPENDS += "wayland libinput virtual/egl pango" 24DEPENDS += "wayland libinput virtual/egl pango"