<commit_before>SUMMARY = "discover and manipulate UPNP/DLNA media renderers"
HOMEPAGE = "https://01.org/dleyna/"

LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                    file://src/renderer-service-upnp.c;beginline=1;endline=21;md5=c25c3082684eb4ca87474b7528c6dc15"

DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"

SRC_URI = "git://github.com/01org/${BPN}.git"
SRCREV = "4a0b1d7cd8e22d3cb0e09c77c344ceccbcbbd34f"
S = "${WORKDIR}/git"

inherit autotools pkgconfig

do_install_append() {
    install -d ${D}${bindir}
    install -m 0755 test/rendererconsole.py ${D}${bindir}
}

PACKAGES =+ "${PN}-tests"

RDEPENDS_${PN}-tests = "python-dbus python-json python-misc python-pkgutil python-xml"

FILES_${PN} += "${datadir}/dbus-1/services/*.service"
# When we have GI, package cap
FILES_${PN}-tests = "${bindir}/rendererconsole.py"<commit_msg>renderer-service-upnp: Blacklist because of broken with B!=S<commit_after>SUMMARY = "discover and manipulate UPNP/DLNA media renderers"
HOMEPAGE = "https://01.org/dleyna/"

LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                    file://src/renderer-service-upnp.c;beginline=1;endline=21;md5=c25c3082684eb4ca87474b7528c6dc15"

PNBLACKLIST[renderer-service-upnp] = "BROKEN: doesn't build with B!=S (trying to install rendererconsole.py from ${B} instead of ${S})"

DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"

SRC_URI = "git://github.com/01org/${BPN}.git"
SRCREV = "4a0b1d7cd8e22d3cb0e09c77c344ceccbcbbd34f"
S = "${WORKDIR}/git"

inherit autotools pkgconfig

do_install_append() {
    install -d ${D}${bindir}
    install -m 0755 test/rendererconsole.py ${D}${bindir}
}

PACKAGES =+ "${PN}-tests"

RDEPENDS_${PN}-tests = "python-dbus python-json python-misc python-pkgutil python-xml"

FILES_${PN} += "${datadir}/dbus-1/services/*.service"
# When we have GI, package cap
FILES_${PN}-tests = "${bindir}/rendererconsole.py"
{'fraction_non_alphanumeric': 0.15464426877470355, 'fraction_numerical': 0.08300395256916997, 'mean_word_length': 4.903790087463557, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2016993', 'n_tokens_mistral': 926, 'n_tokens_neox': 840, 'n_words': 136}