<commit_before>SUMMARY = "Light-weight tabbed PDF, DJVU and PostScript viewer"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS += "cups poppler qtsvg"

SRC_URI = "https://launchpad.net/qpdfview/trunk/${PV}/+download/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "4b317c4536332a7fe437abe50eca1716"
SRC_URI[sha256sum] = "fad416e8fefc3057fa1b8d12d964c7eccd16dffe0307a0d6e9d55a543294da7f"

inherit qmake5

QMAKE_PROFILES = "${S}/qpdfview.pro"
EXTRA_QMAKEVARS_PRE += " \
    CONFIG+=without_ps \
    CONFIG+=without_djvu \
    PLUGIN_INSTALL_PATH=${libdir}/${BPN} \
"

FILES_${PN} += "${datadir}"
<commit_msg>qpdfview: add mime-xdg to inherit<commit_after>SUMMARY = "Light-weight tabbed PDF, DJVU and PostScript viewer"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS += "cups poppler qtsvg"

SRC_URI = "https://launchpad.net/qpdfview/trunk/${PV}/+download/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "4b317c4536332a7fe437abe50eca1716"
SRC_URI[sha256sum] = "fad416e8fefc3057fa1b8d12d964c7eccd16dffe0307a0d6e9d55a543294da7f"

inherit qmake5 mime-xdg

QMAKE_PROFILES = "${S}/qpdfview.pro"
EXTRA_QMAKEVARS_PRE += " \
    CONFIG+=without_ps \
    CONFIG+=without_djvu \
    PLUGIN_INSTALL_PATH=${libdir}/${BPN} \
"

FILES_${PN} += "${datadir}"

{'fraction_non_alphanumeric': 0.146948003014318, 'fraction_numerical': 0.12057272042200452, 'mean_word_length': 6.377777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '518464', 'n_tokens_mistral': 713, 'n_tokens_neox': 616, 'n_words': 69}