blob: b95bf6d09dea5d3beb307a311089eacb96d529d6 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "Linux libcamera framework"
2SECTION = "libs"
3
4LICENSE = "GPL-2.0 & LGPL-2.1"
5
6LIC_FILES_CHKSUM = "\
7 file://licenses/gnu-gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://licenses/gnu-lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \
9"
10
11SRC_URI = " \
12 git://linuxtv.org/libcamera.git;protocol=git \
13 file://0001-meson-import-python3-to-use-also-from-sysroot.patch \
14"
15
16SRCREV = "53eab996809e826bc914e4c34c78fe74d86f8dc4"
17
18PV = "201910+git${SRCPV}"
19
20S = "${WORKDIR}/git"
21
22DEPENDS = "python3-pyyaml-native udev"
23DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
24
25RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}"
26
27inherit meson pkgconfig python3native
28
29FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
30FILES_${PN} += " ${libdir}/libcamera.so"
31