Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUMMARY = "Wrapper package for OpenCV python bindings."
- HOMEPAGE = "https://github.com/opencv/opencv-python"
- LICENSE = "Apache-2.0"
- LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
- # Installing aarch64 specific wheels, could be changed in the future
- COMPATIBLE_MACHINE = "^$"
- COMPATIBLE_MACHINE:aarch64 = "^(aarch64)$"
- SRC_URI = "https://files.pythonhosted.org/packages/b7/06/da0bf9d42418d252055c51db8197fb7370795dec738e8c3fdb96c31583ed/opencv_python_headless-4.7.0.72-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
- SRC_URI[md5sum] = "153fe6b6bb3eeadd99b165493abac7fb"
- SRC_URI[sha256sum] = "f448aea686069474e701223a2ed192df95f501a092b5e06e39171b4927564692"
- INSANE_SKIP:${PN}:append = " already-stripped file-rdeps"
- inherit python3-dir
- DEPENDS += "unzip-native"
- RDEPENDS:${PN} += "python3-numpy"
- do_install() {
- install -d ${D}${PYTHON_SITEPACKAGES_DIR}
- unzip ${WORKDIR}/opencv_python_headless-4*_aarch64.whl -d ${D}${PYTHON_SITEPACKAGES_DIR}/
- }
- FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement