<commit_before>DESCRIPTION = "User Mode Initialization Manager for TI wilink devices"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://uim.c;startline=4;endline=12;md5=16a9d6e829218481f8a61797fe2be2e2"

inherit systemd

# Doesn't have a version, so we'll make one up
PV = "0.0"

SRCREV = "b36b39cbfb0d2c6a3b9231d530b2bd4ca234421e"
SRC_URI = "git://github.com/96boards/uim.git"

S= "${WORKDIR}/git"

do_install() {
	oe_runmake install DESTDIR=${D} PREFIX=${prefix} V=1

	sed -i -e s:/usr/sbin:${sbindir}:g ${S}/systemd/system/ti-uim.service
	
	install -d ${D}${systemd_unitdir}/system/
	install -m 0644 ${S}/systemd/system/ti-uim.service ${D}${systemd_unitdir}/system

	install -d ${D}/lib/udev/rules.d
	install -m 0644 ${S}/udev/rules.d/60-ti-uim.rules ${D}/lib/udev/rules.d
}

SYSTEMD_SERVICE_${PN} = "ti-uim.service"

# connman has a plugin to handle all this
RCONFLICTS_${PN} += "connman-plugin-tist"
RRECOMMENDS_${PN} = "linux-firmware-wl12xx"<commit_msg>uim: fix bt init race condition<commit_after>DESCRIPTION = "User Mode Initialization Manager for TI wilink devices"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://uim.c;startline=4;endline=12;md5=16a9d6e829218481f8a61797fe2be2e2"

inherit systemd

# Doesn't have a version, so we'll make one up
PV = "0.0"

SRCREV = "24535fcc2708e00d88c95ce0f285fa3d917d9472"
SRC_URI = "git://github.com/96boards/uim.git"

S= "${WORKDIR}/git"

do_install() {
	oe_runmake install DESTDIR=${D} PREFIX=${prefix} V=1

	sed -i -e s:/usr/sbin:${sbindir}:g ${S}/systemd/system/ti-uim.service
	
	install -d ${D}${systemd_unitdir}/system/
	install -m 0644 ${S}/systemd/system/ti-uim.service ${D}${systemd_unitdir}/system

	install -d ${D}/lib/udev/rules.d
	install -m 0644 ${S}/udev/rules.d/*.rules ${D}/lib/udev/rules.d

	install -d ${D}${sysconfdir}/modprobe.d
	install -m 0644 ${S}/modprobe.d/*.conf ${D}${sysconfdir}/modprobe.d/
}

SYSTEMD_SERVICE_${PN} = "ti-uim.service"

# connman has a plugin to handle all this
RCONFLICTS_${PN} += "connman-plugin-tist"
RRECOMMENDS_${PN} = "linux-firmware-wl12xx"
{'fraction_non_alphanumeric': 0.1696165191740413, 'fraction_numerical': 0.0688298918387414, 'mean_word_length': 5.056547619047619, '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': '6628187', 'n_tokens_mistral': 968, 'n_tokens_neox': 876, 'n_words': 158}