summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-05-10 19:30:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-14 11:43:58 +0100
commitb741051080652eabcbcab0f2fa73e82cf31b742a (patch)
tree21f5cf99d8bace687ed89cba8f111ee2da8f0bd9 /meta/recipes-graphics
parentf609f7aba72f4297386fd6f88544db4dc86a63ef (diff)
downloadpoky-b741051080652eabcbcab0f2fa73e82cf31b742a.tar.gz
recipes-graphics: add x11 to REQUIRED_DISTRO_FEATURES
They can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: 908f6f2ded18d5301f428e685bface60335bd791) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_1.2.bb5
-rw-r--r--meta/recipes-graphics/libfakekey/libfakekey_git.bb5
-rw-r--r--meta/recipes-graphics/waffle/waffle_1.3.0.bb5
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-font-common.inc6
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb5
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb.inc5
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util.inc4
-rw-r--r--meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb5
8 files changed, 32 insertions, 8 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.2.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.2.bb
index 4fbc861066..1934fae943 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_1.2.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_1.2.bb
@@ -11,6 +11,9 @@ SRCREV="7422de5b4be7b19d789136b3bb5f932de42db27c"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14inherit autotools pkgconfig 14inherit autotools pkgconfig distro_features_check
15
16# The virtual/libx11 requires x11 in DISTRO_FEATURES
17REQUIRED_DISTRO_FEATURES = "x11"
15 18
16DEPENDS = "util-macros virtual/egl virtual/libx11" 19DEPENDS = "util-macros virtual/egl virtual/libx11"
diff --git a/meta/recipes-graphics/libfakekey/libfakekey_git.bb b/meta/recipes-graphics/libfakekey/libfakekey_git.bb
index 862fe38de2..c60ddea74d 100644
--- a/meta/recipes-graphics/libfakekey/libfakekey_git.bb
+++ b/meta/recipes-graphics/libfakekey/libfakekey_git.bb
@@ -17,4 +17,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig gettext 20inherit autotools pkgconfig gettext distro_features_check
21
22# The libxtst requires x11 in DISTRO_FEATURES
23REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/waffle/waffle_1.3.0.bb b/meta/recipes-graphics/waffle/waffle_1.3.0.bb
index fe9609c5b0..a21fcbb302 100644
--- a/meta/recipes-graphics/waffle/waffle_1.3.0.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.3.0.bb
@@ -7,12 +7,15 @@ SRC_URI = "http://people.freedesktop.org/~chadversary/waffle/files/release/${BPN
7SRC_URI[md5sum] = "5020ecc249096c881e1f59ee961f3d41" 7SRC_URI[md5sum] = "5020ecc249096c881e1f59ee961f3d41"
8SRC_URI[sha256sum] = "340ee04172dba878249469018cd7ec9d1ecd41af26b612c741b8b52e713bca8e" 8SRC_URI[sha256sum] = "340ee04172dba878249469018cd7ec9d1ecd41af26b612c741b8b52e713bca8e"
9 9
10inherit cmake 10inherit cmake distro_features_check
11 11
12# This should be overridden per-machine to reflect the capabilities of the GL 12# This should be overridden per-machine to reflect the capabilities of the GL
13# stack. 13# stack.
14PACKAGECONFIG ??= "glx" 14PACKAGECONFIG ??= "glx"
15 15
16# libx11 requires x11 in DISTRO_FEATURES.
17REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'glx', 'x11', '', d)}"
18
16# I say virtual/libgl, actually wants gl.pc 19# I say virtual/libgl, actually wants gl.pc
17PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,,virtual/libgl libx11" 20PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,,virtual/libgl libx11"
18 21
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
index d3b995a358..d5267f59a2 100644
--- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc
+++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
@@ -10,10 +10,14 @@ RDEPENDS_${PN} = "encodings font-util font-alias"
10XORG_PN = "${BPN}" 10XORG_PN = "${BPN}"
11INC_PR = "r2" 11INC_PR = "r2"
12 12
13
13SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2" 14SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2"
14S = "${WORKDIR}/${XORG_PN}-${PV}" 15S = "${WORKDIR}/${XORG_PN}-${PV}"
15 16
16inherit autotools pkgconfig 17inherit autotools pkgconfig distro_features_check
18
19# The mkfontscale-native requires x11 in DISTRO_FEATURES
20REQUIRED_DISTRO_FEATURES = "x11"
17 21
18EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" 22EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)"
19 23
diff --git a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
index bee500b43a..9bcd1b2fa6 100644
--- a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
+++ b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
@@ -13,7 +13,10 @@ SRC_URI = "file://misc"
13PE = "1" 13PE = "1"
14PR = "r2" 14PR = "r2"
15 15
16inherit allarch 16inherit allarch distro_features_check
17
18# The font-alias requires x11 in DISTRO_FEATURES
19REQUIRED_DISTRO_FEATURES = "x11"
17 20
18S = "${WORKDIR}/misc" 21S = "${WORKDIR}/misc"
19 22
diff --git a/meta/recipes-graphics/xorg-lib/libxcb.inc b/meta/recipes-graphics/xorg-lib/libxcb.inc
index 453f5500c3..fe31f20df0 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb.inc
+++ b/meta/recipes-graphics/xorg-lib/libxcb.inc
@@ -20,7 +20,10 @@ PACKAGES_DYNAMIC = "^libxcb-.*"
20 20
21FILES_${PN} = "${libdir}/libxcb.so.*" 21FILES_${PN} = "${libdir}/libxcb.so.*"
22 22
23inherit autotools pkgconfig pythonnative 23inherit autotools pkgconfig pythonnative distro_features_check
24
25# The libxau and others requires x11 in DISTRO_FEATURES
26REQUIRED_DISTRO_FEATURES = "x11"
24 27
25python populate_packages_prepend () { 28python populate_packages_prepend () {
26 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True) 29 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util.inc b/meta/recipes-graphics/xorg-lib/xcb-util.inc
index d15cf9fba1..99d04f9d44 100644
--- a/meta/recipes-graphics/xorg-lib/xcb-util.inc
+++ b/meta/recipes-graphics/xorg-lib/xcb-util.inc
@@ -18,4 +18,6 @@ DEPENDS += "gperf-native"
18 18
19SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" 19SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
20 20
21inherit autotools pkgconfig 21inherit autotools pkgconfig distro_features_check
22
23REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb b/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb
index 27aacde837..9b3c9e0c05 100644
--- a/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb
+++ b/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb
@@ -11,4 +11,7 @@ SRC_URI = "git://git.yoctoproject.org/test-xvideo"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14inherit autotools 14inherit autotools distro_features_check
15
16# The libxv requires x11 in DISTRO_FEATURES
17REQUIRED_DISTRO_FEATURES = "x11"