<commit_before>DESCRIPTION = "An advanced menu editor"
HOMEPAGE = "https://launchpad.net/menulibre"
SECTION = "x11/graphics"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

DEPENDS = "python3-distutils-extra-native"

inherit distutils3 gtk-icon-cache

SRC_URI = " \
    https://launchpad.net/menulibre/2.1/${PV}/+download/${PN}-${PV}.tar.gz \
    file://0001-add_launcher-Exit-early-if-no-row-is-selected.patch \
    file://0002-setup.py-avoid-usr-share-share-paths.patch \
    file://0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch \
"
SRC_URI[md5sum] = "19d9d3337322eb5513454bb8cdfb739b"
SRC_URI[sha256sum] = "bdd69740119902f1b1f8c7831155f4428403792a0a6c4287bcbb395c4e71fb31"

do_install_append() {
    sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop
}

FILES_${PN} += " \
    ${datadir}/applications \
    ${datadir}/menulibre \
    ${datadir}/icons \
"

RDEPENDS_${PN} += " \
    gtk+3 \
    python3-pygobject \
    gnome-menus3 \
    python3-unixadmin \
    python3-psutil \
"

PNBLACKLIST[menulibre] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130617/"<commit_msg>menulibre: add intltool-native to DEPENDS and unblacklist<commit_after>DESCRIPTION = "An advanced menu editor"
HOMEPAGE = "https://launchpad.net/menulibre"
SECTION = "x11/graphics"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

DEPENDS = "python3-distutils-extra-native intltool-native"

inherit distutils3 gtk-icon-cache

SRC_URI = " \
    https://launchpad.net/menulibre/2.1/${PV}/+download/${PN}-${PV}.tar.gz \
    file://0001-add_launcher-Exit-early-if-no-row-is-selected.patch \
    file://0002-setup.py-avoid-usr-share-share-paths.patch \
    file://0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch \
"
SRC_URI[md5sum] = "19d9d3337322eb5513454bb8cdfb739b"
SRC_URI[sha256sum] = "bdd69740119902f1b1f8c7831155f4428403792a0a6c4287bcbb395c4e71fb31"

do_install_append() {
    sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop
}

FILES_${PN} += " \
    ${datadir}/applications \
    ${datadir}/menulibre \
    ${datadir}/icons \
"

RDEPENDS_${PN} += " \
    gtk+3 \
    python3-pygobject \
    gnome-menus3 \
    python3-unixadmin \
    python3-psutil \
"
{'fraction_non_alphanumeric': 0.16062854648625055, 'fraction_numerical': 0.10388476647752073, 'mean_word_length': 4.037362637362637, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1455830', 'n_tokens_mistral': 1123, 'n_tokens_neox': 982, 'n_words': 97}