diff options
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 | ||
| 12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 13 | 13 | ||
| 14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig distro_features_check |
| 15 | |||
| 16 | # The virtual/libx11 requires x11 in DISTRO_FEATURES | ||
| 17 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 15 | 18 | ||
| 16 | DEPENDS = "util-macros virtual/egl virtual/libx11" | 19 | DEPENDS = "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 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 19 | 19 | ||
| 20 | inherit autotools pkgconfig gettext | 20 | inherit autotools pkgconfig gettext distro_features_check |
| 21 | |||
| 22 | # The libxtst requires x11 in DISTRO_FEATURES | ||
| 23 | REQUIRED_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 | |||
| 7 | SRC_URI[md5sum] = "5020ecc249096c881e1f59ee961f3d41" | 7 | SRC_URI[md5sum] = "5020ecc249096c881e1f59ee961f3d41" |
| 8 | SRC_URI[sha256sum] = "340ee04172dba878249469018cd7ec9d1ecd41af26b612c741b8b52e713bca8e" | 8 | SRC_URI[sha256sum] = "340ee04172dba878249469018cd7ec9d1ecd41af26b612c741b8b52e713bca8e" |
| 9 | 9 | ||
| 10 | inherit cmake | 10 | inherit 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. |
| 14 | PACKAGECONFIG ??= "glx" | 14 | PACKAGECONFIG ??= "glx" |
| 15 | 15 | ||
| 16 | # libx11 requires x11 in DISTRO_FEATURES. | ||
| 17 | REQUIRED_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 |
| 17 | PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,,virtual/libgl libx11" | 20 | PACKAGECONFIG[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" | |||
| 10 | XORG_PN = "${BPN}" | 10 | XORG_PN = "${BPN}" |
| 11 | INC_PR = "r2" | 11 | INC_PR = "r2" |
| 12 | 12 | ||
| 13 | |||
| 13 | SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2" | 14 | SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2" |
| 14 | S = "${WORKDIR}/${XORG_PN}-${PV}" | 15 | S = "${WORKDIR}/${XORG_PN}-${PV}" |
| 15 | 16 | ||
| 16 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig distro_features_check |
| 18 | |||
| 19 | # The mkfontscale-native requires x11 in DISTRO_FEATURES | ||
| 20 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 17 | 21 | ||
| 18 | EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" | 22 | EXTRA_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" | |||
| 13 | PE = "1" | 13 | PE = "1" |
| 14 | PR = "r2" | 14 | PR = "r2" |
| 15 | 15 | ||
| 16 | inherit allarch | 16 | inherit allarch distro_features_check |
| 17 | |||
| 18 | # The font-alias requires x11 in DISTRO_FEATURES | ||
| 19 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 17 | 20 | ||
| 18 | S = "${WORKDIR}/misc" | 21 | S = "${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 | ||
| 21 | FILES_${PN} = "${libdir}/libxcb.so.*" | 21 | FILES_${PN} = "${libdir}/libxcb.so.*" |
| 22 | 22 | ||
| 23 | inherit autotools pkgconfig pythonnative | 23 | inherit autotools pkgconfig pythonnative distro_features_check |
| 24 | |||
| 25 | # The libxau and others requires x11 in DISTRO_FEATURES | ||
| 26 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 24 | 27 | ||
| 25 | python populate_packages_prepend () { | 28 | python 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 | ||
| 19 | SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" | 19 | SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" |
| 20 | 20 | ||
| 21 | inherit autotools pkgconfig | 21 | inherit autotools pkgconfig distro_features_check |
| 22 | |||
| 23 | REQUIRED_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 | ||
| 12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 13 | 13 | ||
| 14 | inherit autotools | 14 | inherit autotools distro_features_check |
| 15 | |||
| 16 | # The libxv requires x11 in DISTRO_FEATURES | ||
| 17 | REQUIRED_DISTRO_FEATURES = "x11" | ||
