diff options
| author | madhavank27 <madhavan.krishnan@linaro.org> | 2019-11-12 11:46:01 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-01-10 00:50:59 -0800 |
| commit | 5dcb72e707dade6dbd3d1fc3921ff61fda0b7f4b (patch) | |
| tree | fe0ecdf3127469ef28f4f499b4415ff1e2ae44d4 /meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | |
| parent | 2ca15ad3d80172f47b107bb4e346827efa431769 (diff) | |
| download | meta-openembedded-5dcb72e707dade6dbd3d1fc3921ff61fda0b7f4b.tar.gz | |
Added bb file for libcamera integration
Signed-off-by: madhavank27 <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/libcamera/libcamera.bb')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb new file mode 100644 index 0000000000..b95bf6d09d --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "Linux libcamera framework" | ||
| 2 | SECTION = "libs" | ||
| 3 | |||
| 4 | LICENSE = "GPL-2.0 & LGPL-2.1" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "\ | ||
| 7 | file://licenses/gnu-gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 8 | file://licenses/gnu-lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI = " \ | ||
| 12 | git://linuxtv.org/libcamera.git;protocol=git \ | ||
| 13 | file://0001-meson-import-python3-to-use-also-from-sysroot.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRCREV = "53eab996809e826bc914e4c34c78fe74d86f8dc4" | ||
| 17 | |||
| 18 | PV = "201910+git${SRCPV}" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | DEPENDS = "python3-pyyaml-native udev" | ||
| 23 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" | ||
| 24 | |||
| 25 | RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}" | ||
| 26 | |||
| 27 | inherit meson pkgconfig python3native | ||
| 28 | |||
| 29 | FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig" | ||
| 30 | FILES_${PN} += " ${libdir}/libcamera.so" | ||
| 31 | |||
