<commit_before>SUMMARY = "Qt Touch-Friendly WebBroswer"
HOMEPAGE = "http://blog.qt.io/blog/2016/07/18/qt-webbrowser-1-0/"
SECTION = "multimedia"
LICENSE = "GPL-3.0 & GFDL-1.3"
LIC_FILES_CHKSUM = " \
    file://LICENSE.GPLv3;md5=a40e2bb02b1ac431f461afd03ff9d1d6 \
    file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
"

DEPENDS += "qtwebengine"
PACKAGES += "${PN}-examples"

PR = "r0"

BRANCH = "dev"
SRCREV = "023733af5523a5ad84359926224fa106001215f4"

SRC_URI = "git://code.qt.io/qt-apps/qtwebbrowser.git;protocol=git;branch=${BRANCH} \
"

S = "${WORKDIR}/git"

inherit qt-provider

# Install qtwebbrowser under /usr/bin
do_install() {
    install -d ${D}${bindir}
    install -d ${D}${datadir}/qt5/examples/webengine/webbrowser/src
    install -m 0755 src/qtwebbrowser ${D}${bindir}/qtwebbrowser
    cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/qt5/examples/webengine/webbrowser/.
}

FILES_${PN} +=  "${bindir}/qtwebbrowser"
FILES_${PN}-examples +=  "${datadir}/qt5/examples/webengine/webbrowser/*"<commit_msg>qtwebbrowser: update the example src path to be consistent with qt5<commit_after>SUMMARY = "Qt Touch-Friendly WebBroswer"
HOMEPAGE = "http://blog.qt.io/blog/2016/07/18/qt-webbrowser-1-0/"
SECTION = "multimedia"
LICENSE = "GPL-3.0 & GFDL-1.3"
LIC_FILES_CHKSUM = " \
    file://LICENSE.GPLv3;md5=a40e2bb02b1ac431f461afd03ff9d1d6 \
    file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
"

DEPENDS += "qtwebengine"
PACKAGES += "${PN}-examples"

PR = "r1"

BRANCH = "dev"
SRCREV = "023733af5523a5ad84359926224fa106001215f4"

SRC_URI = "git://code.qt.io/qt-apps/qtwebbrowser.git;protocol=git;branch=${BRANCH} \
"

S = "${WORKDIR}/git"

inherit qt-provider

# Install qtwebbrowser under /usr/bin
do_install() {
    install -d ${D}${bindir}
    install -d ${D}${datadir}/examples/webengine/webbrowser/src
    install -m 0755 src/qtwebbrowser ${D}${bindir}/qtwebbrowser
    cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/examples/webengine/webbrowser/.
}

FILES_${PN} +=  "${bindir}/qtwebbrowser"
FILES_${PN}-examples +=  "${datadir}/examples/webengine/webbrowser/*"
{'fraction_non_alphanumeric': 0.17763157894736842, 'fraction_numerical': 0.08270676691729323, 'mean_word_length': 4.632275132275132, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7388787', 'n_tokens_mistral': 1012, 'n_tokens_neox': 929, 'n_words': 121}