vlc: Add check to require X11

It needs X11 as of now to build. there is a possiblily to build it
without X11, but lets keep this check until that path is fixed

Also fixes

TOPDIR/build/tmp/work/aarch64-yoe-linux/vlc/3.0.9.2-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-ld: cannot find -lGL

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2020-04-13 14:42:44 -07:00
parent 0e33b7e0c9
commit ea0d7b6a52

View File

@ -25,7 +25,9 @@ SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz \
"
SRC_URI[sha256sum] = "a9bdad293d81cd48516abad8d490d8ab4012964ae541ff19e00021e071e47601"
inherit autotools gettext pkgconfig features_check mime-xdg
inherit autotools features_check gettext pkgconfig features_check mime-xdg
REQUIRED_DISTRO_FEATURES = "x11"
ARM_INSTRUCTION_SET = "arm"
export BUILDCC = "${BUILD_CC}"