Skip to content

Commit

Permalink
python-byonoy: update byonoy library to 2024.09.0 (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 authored Sep 23, 2024
1 parent 8eba8b0 commit cca4290
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ DESCRIPTION = "Installs Byonoy Python library and firmware files."
LICENSE = "CLOSED"

FILESEXTRAPATHS:prepend = "${THISDIR}/files:"
SRC_URI += "file://pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \
SRC_URI += "file://byonoy_devices.so \
file://libbyonoy_device_library.so \
file://[email protected] \
file://[email protected] \
"
FIRMWARE_DIR="${libdir}/firmware"
Expand All @@ -23,18 +22,16 @@ FILES_SOLIBSDEV = ""

do_install:append() {
# install the python library to /usr/lib/python3.10/site-packages
install -m 755 ${WORKDIR}/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so ${D}${libdir}/python3.10/site-packages
install -m 755 ${WORKDIR}/byonoy_devices.so ${D}${libdir}/python3.10/site-packages
install -m 755 ${WORKDIR}/libbyonoy_device_library.so ${D}${libdir}
# install the firmware files to /usr/lib/firmware
install -d ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96@v1.0.0.byoup ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96@v1.0.2.byoup ${D}${FIRMWARE_DIR}
}

RDEPENDS:${PN} += "hidapi"

FILES:${PN} += "${libdir}/libbyony_device_library.so \
${libdir}/firmware/[email protected] \
${libdir}/firmware/[email protected] \
${libdir}/python3.10/site-packages/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \
${libdir}/python3.10/site-packages/byonoy_devices.so \
"

0 comments on commit cca4290

Please sign in to comment.