<commit_before>DESCRIPTION = "Miscellaneous OpenPandora utilities"

PR = "r9"
LICENSE = "GPL"

PARALLEL_MAKE = ""
LICENSE = "GPLV2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "virtual/libx11 tslib"

SRC_URI = " \
          file://LICENSE \
          git://openpandora.org/pandora-misc.git;protocol=git;branch=master \
"

TARGET_LDFLAGS += "-lpthread -lX11 -lts"

#SRCREV = "51cdefeeb6c7d48c858689f0f7868b31039725b3"
SRCREV = "3f6f7d2fe4161d7b3e310deb825bc6409b1b60e1"

S = "${WORKDIR}/git"

do_compile() {
    ${CC} -Wl,--hash-style=gnu op_runfbapp.c -lX11 -lpthread -o op_runfbapp
    ${CC} -Wl,--hash-style=gnu op_gammatool.c -o op_gammatool
    ${CC} -Wl,--hash-style=gnu op_test_inputs.c -lts -lpthread -o op_test_inputs
    ${CC} -Wl,--hash-style=gnu ofbset.c -o ofbset  
}

do_install() {
          install -d ${D}${bindir}/
          install -m 0755 ${S}/op_runfbapp ${D}${bindir}/op_runfbapp
          install -m 0755 ${S}/op_gammatool ${D}${bindir}/op_gammatool_bin 
          install -m 0755 ${S}/op_test_inputs ${D}${bindir}/op_test_inputs_bin 
          install -m 0755 ${S}/ofbset ${D}${bindir}/ofbset           
          install -m 0755 ${S}/scripts/op_gammatool ${D}${bindir}/op_gammatool
          install -m 0755 ${S}/scripts/op_test_inputs ${D}${bindir}/op_test_inputs
}<commit_msg>pandora-misc.bb: sync with git.openpandora<commit_after>DESCRIPTION = "Miscellaneous OpenPandora utilities"

PR = "r12"

PARALLEL_MAKE = ""
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "virtual/libx11 tslib"

SRC_URI = " \
          file://LICENSE \
          git://openpandora.org/pandora-misc.git;protocol=git;branch=master \
"

TARGET_LDFLAGS += "-lpthread -lX11 -lts"

SRCREV = "b82c7b89a10b8f1f39244f947f5036eb25a39342"

S = "${WORKDIR}/git"

do_compile() {
    ${CC} -Wl,--hash-style=gnu op_runfbapp.c -lX11 -lpthread -o op_runfbapp
    ${CC} -Wl,--hash-style=gnu op_gammatool.c -o op_gammatool
    ${CC} -Wl,--hash-style=gnu op_test_inputs.c -lts -lpthread -o op_test_inputs
    ${CC} -Wl,--hash-style=gnu ofbset.c -o ofbset  
}

do_install() {
          install -d ${D}${bindir}/
          install -m 0755 ${S}/op_runfbapp ${D}${bindir}/op_runfbapp
          install -m 0755 ${S}/op_gammatool ${D}${bindir}/op_gammatool_bin 
          install -m 0755 ${S}/op_test_inputs ${D}${bindir}/op_test_inputs_bin 
          install -m 0755 ${S}/ofbset ${D}${bindir}/ofbset           
          install -m 0755 ${S}/scripts/op_gammatool ${D}${bindir}/op_gammatool
          install -m 0755 ${S}/scripts/op_test_inputs ${D}${bindir}/op_test_inputs
}
{'fraction_non_alphanumeric': 0.15860517435320584, 'fraction_numerical': 0.06786651668541432, 'mean_word_length': 3.3241491085899515, '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': '1784452', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1115, 'n_words': 175}