From 0663bcdddf0311329e607416cd51ce55b9557240 Mon Sep 17 00:00:00 2001 From: Simon Busch Date: Wed, 25 Jun 2014 09:55:17 +0200 Subject: qtwebengine: add initial recipe for git version only Signed-off-by: Simon Busch Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtwebengine.inc | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 recipes-qt/qt5/qtwebengine.inc (limited to 'recipes-qt/qt5/qtwebengine.inc') diff --git a/recipes-qt/qt5/qtwebengine.inc b/recipes-qt/qt5/qtwebengine.inc new file mode 100644 index 00000000..b6f56ae2 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine.inc @@ -0,0 +1,44 @@ +SUMMARY = "QtWebEngine combines the power of Chromium and Qt" +LICENSE = "LGPL-2.1 & BSD" +LIC_FILES_CHKSUM = " \ + file://src/core/browser_context_qt.cpp;md5=c23e24b6a534c8b6cc879a397b35db29;beginline=1;endline=40 \ + file://src/3rdparty/chromium/LICENSE;md5=d2d164565cc10f298390174d9cb6d18d \ +" +DEPENDS += " \ + ninja-native \ + qtbase qtdeclarative qtxmlpatterns qtquickcontrols \ + libdrm fontconfig pixman openssl pango cairo icu pciutils \ +" + +inherit qmake5 +inherit gettext +inherit pythonnative +inherit perlnative + +require recipes-qt/qt5/qt5.inc + +S = "${WORKDIR}/git" + +# To avoid trouble start with not separated build directory +SEPB = "${S}" +B = "${SEPB}" + +do_configure() { + # replace LD with CXX, to workaround a possible gyp inheritssue? + LD="${CXX}" export LD + CC="${CC}" export CC + CXX="${CXX}" export CXX + CC_host="gcc" export CC_host + CXX_host="g++" export CXX_host + + # qmake can't find the OE_QMAKE_* variables on it's own so directly passing them as + # arguments here + ${OE_QMAKE_QMAKE} -r QTWEBENGINE_ROOT="${S}" NINJA_PATH="${STAGING_BINDIR_NATIVE}/ninja" \ + QMAKE_CXX="${OE_QMAKE_CXX}" QMAKE_CC="${OE_QMAKE_CC}" \ + QMAKE_LINK="${OE_QMAKE_LINK}" \ + QMAKE_CFLAGS="${OE_QMAKE_CFLAGS}" \ + QMAKE_CXXFLAGS="${OE_QMAKE_CXXFLAGS}" \ + QMAKE_AR="${OE_QMAKE_AR}" +} + +PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" -- cgit v1.2.3-54-g00ecf