anchor.diff:      export CC_host="gcc"
       export CXX_host="g++"
       export QMAKE_MAKE_ARGS="${EXTRA_OEMAKE}"
  +    export QMAKE_CACHE_EVAL="${EXTRA_OECONF}"
  +
  +    # Disable autodetection from sysroot:
  +    sed -i 's/packagesExist([^)]*vpx[^)]*):/false:/g; s/config_srtp:/false:/g; s/config_snappy:/false:/g; s/packagesExist(nss):/false:/g; s/packagesExist(minizip, zlib):/false:/g; s/packagesExist(libwebp,libwebpdemux):/false:/g; s/packagesExist(libxml-2.0,libxslt):/false:/g; s/^ *packagesExist($$package):/false:/g' ${S}/tools/qmake/mkspecs/features/configure.prf
   
       # qmake can't find the OE_QMAKE_* variables on it's own so directly passing them as
       # arguments here
  
positive.code: inherit gettext
  inherit pythonnative
  inherit perlnative
  
  require qt5.inc
  require qt5-git.inc
  
negative.code:     ninja-native \
      qtwebchannel \
      qtbase qtdeclarative qtxmlpatterns qtquickcontrols \
      qtlocation \
      libdrm fontconfig pixman openssl pango cairo icu pciutils \
      libcap \
  "
  