mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 13:14:45 +02:00
python3-picamera: Add picamera library
python3-picamera : recipe for python picamera library. picamera-libs : recipe raspberry pi firmware which are required by picamera. Closes: #959 Signed-off-by: Bhargav Das <bhargavthriler@gmail.com>
This commit is contained in:
parent
42ef0f5046
commit
bfac0b9ccb
23
recipes-multimedia/picamera-libs/picamera-libs.bb
Normal file
23
recipes-multimedia/picamera-libs/picamera-libs.bb
Normal file
|
@ -0,0 +1,23 @@
|
|||
SUMMARY = "Raspberrypi firmware libraries which are required by picamera library"
|
||||
DESCRIPTION = "Raspberrypi firmware libraries required by picamera library"
|
||||
LICENSE = "Broadcom-RPi"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780"
|
||||
|
||||
include recipes-bsp/common/raspberrypi-firmware.inc
|
||||
|
||||
S = "${WORKDIR}/firmware-${SRCREV}"
|
||||
|
||||
do_install(){
|
||||
install -m 0755 -d ${D}${libdir}
|
||||
install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
|
||||
}
|
||||
|
||||
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 = ""
|
19
recipes-multimedia/python3-picamera/python3-picamera_git.bb
Normal file
19
recipes-multimedia/python3-picamera/python3-picamera_git.bb
Normal file
|
@ -0,0 +1,19 @@
|
|||
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"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
Loading…
Reference in New Issue
Block a user