qtwebengine: add initial recipe for git version only
[scm/bb/tizen-distro.git] / meta-qt5 / recipes-qt / qt5 / qtwebengine.inc
1 SUMMARY = "QtWebEngine combines the power of Chromium and Qt"
2 LICENSE = "LGPL-2.1 & BSD"
3 LIC_FILES_CHKSUM = " \
4   file://src/core/browser_context_qt.cpp;md5=c23e24b6a534c8b6cc879a397b35db29;beginline=1;endline=40 \
5   file://src/3rdparty/chromium/LICENSE;md5=d2d164565cc10f298390174d9cb6d18d \
6 "
7 DEPENDS += " \
8     ninja-native \
9     qtbase qtdeclarative qtxmlpatterns qtquickcontrols \
10     libdrm fontconfig pixman openssl pango cairo icu pciutils \
11 "
12
13 inherit qmake5
14 inherit gettext
15 inherit pythonnative
16 inherit perlnative
17
18 require recipes-qt/qt5/qt5.inc
19
20 S = "${WORKDIR}/git"
21
22 # To avoid trouble start with not separated build directory
23 SEPB = "${S}"
24 B = "${SEPB}"
25
26 do_configure() {
27     # replace LD with CXX, to workaround a possible gyp inheritssue?
28     LD="${CXX}" export LD
29     CC="${CC}" export CC
30     CXX="${CXX}" export CXX
31     CC_host="gcc" export CC_host
32     CXX_host="g++" export CXX_host
33
34     # qmake can't find the OE_QMAKE_* variables on it's own so directly passing them as
35     # arguments here
36     ${OE_QMAKE_QMAKE} -r QTWEBENGINE_ROOT="${S}" NINJA_PATH="${STAGING_BINDIR_NATIVE}/ninja" \
37         QMAKE_CXX="${OE_QMAKE_CXX}" QMAKE_CC="${OE_QMAKE_CC}" \
38         QMAKE_LINK="${OE_QMAKE_LINK}" \
39         QMAKE_CFLAGS="${OE_QMAKE_CFLAGS}" \
40         QMAKE_CXXFLAGS="${OE_QMAKE_CXXFLAGS}" \
41         QMAKE_AR="${OE_QMAKE_AR}"
42 }
43
44 PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"