<commit_before>DESCRIPTION = "Jupyter notebook examples for VCU in ZynqMP-EV devices"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8"

inherit jupyter-examples

SRC_URI = "file://LICENSE \
	   file://common.py \
           file://vcu-demo-camera-decode-display.ipynb \
           file://vcu-demo-camera-encode-decode-display.ipynb \
           file://vcu-demo-camera-encode-file.ipynb \
           file://vcu-demo-camera-encode-streamout.ipynb \
           file://vcu-demo-decode-display.ipynb \
           file://vcu-demo-streamin-decode-display.ipynb \
           file://vcu-demo-transcode-to-file.ipynb \
           file://vcu-demo-transcode-to-streamout.ipynb \
	   file://pictures/block-diagram-camera-decode-diaplay.png \
	   file://pictures/block-diagram-camera-encode-decode-diaplay.png \
	   file://pictures/block-diagram-camera-encode-file.png \
	   file://pictures/block-diagram-camera-encode-streamout.png \
	   file://pictures/block-diagram-decode-display.png \
	   file://pictures/block-diagram-streamin-decode.png \
	   file://pictures/block-diagram-transcode-file.png \
	   file://pictures/block-diagram-transcode-streamout.png "

COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmpev = "zynqmpev"

RDEPENDS_${PN} = "packagegroup-petalinux-jupyter packagegroup-petalinux-gstreamer gstreamer-vcu-examples"

do_install() {
    install -d ${D}/${JUPYTER_DIR}/vcu-notebooks
    install -d ${D}/${JUPYTER_DIR}/vcu-notebooks/pictures

    install -m 0755 ${S}/pictures/*.png ${D}/${JUPYTER_DIR}/vcu-notebooks/pictures
    install -m 0755 ${S}/common.py ${D}/${JUPYTER_DIR}/vcu-notebooks/common.py
    install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/vcu-notebooks

}

PACKAGE_ARCH_zynqmp = "${SOC_FAMILY}${SOC_VARIANT}"
<commit_msg>gstreamer-vcu-notebooks: Start Jupyter on boot<commit_after>DESCRIPTION = "Jupyter notebook examples for VCU in ZynqMP-EV devices"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8"

inherit jupyter-examples

SRC_URI = "file://LICENSE \
	   file://common.py \
           file://vcu-demo-camera-decode-display.ipynb \
           file://vcu-demo-camera-encode-decode-display.ipynb \
           file://vcu-demo-camera-encode-file.ipynb \
           file://vcu-demo-camera-encode-streamout.ipynb \
           file://vcu-demo-decode-display.ipynb \
           file://vcu-demo-streamin-decode-display.ipynb \
           file://vcu-demo-transcode-to-file.ipynb \
           file://vcu-demo-transcode-to-streamout.ipynb \
	   file://pictures/block-diagram-camera-decode-diaplay.png \
	   file://pictures/block-diagram-camera-encode-decode-diaplay.png \
	   file://pictures/block-diagram-camera-encode-file.png \
	   file://pictures/block-diagram-camera-encode-streamout.png \
	   file://pictures/block-diagram-decode-display.png \
	   file://pictures/block-diagram-streamin-decode.png \
	   file://pictures/block-diagram-transcode-file.png \
	   file://pictures/block-diagram-transcode-streamout.png "

COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmpev = "zynqmpev"

RDEPENDS_${PN} = "packagegroup-petalinux-jupyter packagegroup-petalinux-gstreamer gstreamer-vcu-examples start-jupyter"

do_install() {
    install -d ${D}/${JUPYTER_DIR}/vcu-notebooks
    install -d ${D}/${JUPYTER_DIR}/vcu-notebooks/pictures

    install -m 0755 ${S}/pictures/*.png ${D}/${JUPYTER_DIR}/vcu-notebooks/pictures
    install -m 0755 ${S}/common.py ${D}/${JUPYTER_DIR}/vcu-notebooks/common.py
    install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/vcu-notebooks

}

PACKAGE_ARCH_zynqmp = "${SOC_FAMILY}${SOC_VARIANT}"

{'fraction_non_alphanumeric': 0.1586339851280639, 'fraction_numerical': 0.018176810795923988, 'mean_word_length': 3.1988439306358383, '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': '6958672', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1405, 'n_words': 135}