<commit_before>SUMMARY = "NetworkManager"
HOMEPAGE = "https://wiki.gnome.org/Projects/NetworkManager"
SECTION = "net/misc"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \
                    file://libnm-util/COPYING;md5=1c4fa765d6eb3cd2fbd84344a1b816cd \
                    file://docs/api/html/license.html;md5=8eb8e72bab097b9d11763002cb003697 \
"

DEPENDS = " \
    intltool-native \
    libnl \
    dbus \
    dbus-glib \
    dbus-glib-native \
    libgudev \
    util-linux \
    libndp \
    libnewt \
    polkit \
    jansson \
"

inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection

SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \
           file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
           file://0002-Fix-nm-version-macro-includes.patch \
           file://0001-adjust-net-headers-for-musl-compatibility.patch \
           file://0002-socket-util.h-Include-linux-sockios.h-on-musl.patch \
           file://0003-Define-ETH_ALEN.patch \
           file://0004-Define-missing-features-to-cater-for-musl.patch \
           file://0005-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch \
           file://0001-check-for-strndupa-before-using-it.patch \
           file://0001-dns-resolved-add-systemd-resolved-backend.patch \
           file://0001-dns-resolved-also-check-for-etc-resolv-conf.systemd.patch \
           file://0001-systemd-xlocale.h-is-dropped-by-newer-glibc.patch \
           file://0002-user-format-string-in-g_dbus_message_new_method_erro.patch \
           "
SRC_URI[md5sum] = "63f1e0d6d7e9099499d062c84c927a75"
SRC_URI[sha256sum] = "829378f318cc008d138a23ca6a9191928ce75344e7e47a2f2c35f4ac82133309"

S = "${WORKDIR}/NetworkManager-${PV}"

EXTRA_OECONF = " \
    --disable-ifcfg-rh \
    --disable-ifnet \<commit_msg>networkmanager: Disable gobject-introspection on musl<commit_after>SUMMARY = "NetworkManager"
HOMEPAGE = "https://wiki.gnome.org/Projects/NetworkManager"
SECTION = "net/misc"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \
                    file://libnm-util/COPYING;md5=1c4fa765d6eb3cd2fbd84344a1b816cd \
                    file://docs/api/html/license.html;md5=8eb8e72bab097b9d11763002cb003697 \
"

DEPENDS = " \
    intltool-native \
    libnl \
    dbus \
    dbus-glib \
    dbus-glib-native \
    libgudev \
    util-linux \
    libndp \
    libnewt \
    polkit \
    jansson \
"

inherit gnomebase gettext systemd bluetooth bash-completion vala gobject-introspection

GI_DATA_ENABLED_libc-musl = "False"

SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \
           file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
           file://0002-Fix-nm-version-macro-includes.patch \
           file://0001-adjust-net-headers-for-musl-compatibility.patch \
           file://0002-socket-util.h-Include-linux-sockios.h-on-musl.patch \
           file://0003-Define-ETH_ALEN.patch \
           file://0004-Define-missing-features-to-cater-for-musl.patch \
           file://0005-sd-lldp.h-Remove-net-ethernet.h-seems-to-be-over-spe.patch \
           file://0001-check-for-strndupa-before-using-it.patch \
           file://0001-dns-resolved-add-systemd-resolved-backend.patch \
           file://0001-dns-resolved-also-check-for-etc-resolv-conf.systemd.patch \
           file://0001-systemd-xlocale.h-is-dropped-by-newer-glibc.patch \
           file://0002-user-format-string-in-g_dbus_message_new_method_erro.patch \
           "
SRC_URI[md5sum] = "63f1e0d6d7e9099499d062c84c927a75"
SRC_URI[sha256sum] = "829378f318cc008d138a23ca6a9191928ce75344e7e47a2f2c35f4ac82133309"

S = "${WORKDIR}/NetworkManager-${PV}"

EXTRA_OECONF = " \
    --disable-ifcfg-rh \
    --disable-ifnet \
{'fraction_non_alphanumeric': 0.14435093088497833, 'fraction_numerical': 0.09334353481254781, 'mean_word_length': 2.614746543778802, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4335261', 'n_tokens_mistral': 1761, 'n_tokens_neox': 1526, 'n_words': 116}