mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-10-20 05:06:58 +00:00
python3-picamera, picamera-libs: remove deprecated components
picamera uses the legacy MMAL camera stack, which Raspberry Pi documents as deprecated and unsupported since Bullseye, with Picamera2 on libcamera as its replacement [1][2]. libcamera is available through the multimedia-layer dynamic layer. The recipe also fetches over SSH and RDEPENDS on python3-colorzero from meta-python while living outside dynamic-layers, which breaks world without meta-python (yocto-check-layer test_machine_world). picamera-libs only provides picamera's firmware libraries. [1] https://www.raspberrypi.com/documentation/computers/camera_software.html [2] https://github.com/raspberrypi/picamera2 Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
This commit is contained in:
2 files changed
-47
No files matched your search
@@ -1,27 +0,0 @@
|
||||
SUMMARY = "Raspberrypi firmware libraries which are required by picamera library"
|
||||
DESCRIPTION = "Raspberrypi firmware libraries required by picamera library"
|
||||
LICENSE = "LicenseRef-Broadcom-RPi"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780"
|
||||
|
||||
include recipes-bsp/common/raspberrypi-firmware.inc
|
||||
|
||||
S = "${RPIFW_S}"
|
||||
|
||||
do_install(){
|
||||
install -m 0755 -d ${D}${libdir}
|
||||
install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
|
||||
rm -f ${D}${libdir}/libGLES* ${D}${libdir}/libEGL* ${D}${libdir}/libWFC.so ${D}${libdir}/libOpenVG.so
|
||||
}
|
||||
|
||||
FILES:${PN} = "${libdir}"
|
||||
|
||||
#skipping the QA error since we are directly copying precompiled binaries
|
||||
INSANE_SKIP:${PN} = "ldflags"
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
SOLIBS = ".so"
|
||||
FILES_SOLIBSDEV = ""
|
||||
|
||||
COMPATIBLE_HOST = "null"
|
||||
COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"
|
||||
@@ -1,20 +0,0 @@
|
||||
SUMMARY = "Python interface to the Raspberry Pi camera module"
|
||||
DESCRIPTION = "This package provides a pure Python interface to the Raspberry Pi camera module for Python 2.7 (or above) or Python 3.2 (or above)."
|
||||
HOMEPAGE = "https://github.com/waveform80/picamera"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4de8aab427192e4a8322a71375d20e21"
|
||||
|
||||
RDEPENDS:${PN} = "python3-numbers \
|
||||
python3-ctypes \
|
||||
python3-colorzero \
|
||||
picamera-libs \
|
||||
"
|
||||
|
||||
SRC_URI = "git://git@github.com/waveform80/picamera.git;protocol=ssh;branch=master"
|
||||
SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
COMPATIBLE_HOST = "null"
|
||||
COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"
|
||||
Reference in new issue
Block a user