diff options
author | Madhavan Krishnan <madhavan.krishnan@linaro.org> | 2020-08-28 15:50:45 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-08 11:56:46 -0700 |
commit | f4272f2abf95f79d6868034aba653c682fca293f (patch) | |
tree | 29490aa7d51ff095bb32e0f4693847b062548d7a /meta-multimedia | |
parent | c75ffccd840449ba7de745d6f8eae811adb29ff4 (diff) | |
download | meta-openembedded-f4272f2abf95f79d6868034aba653c682fca293f.tar.gz |
libcamera: Bumped to latest revision and added pkgconfig to enable gstreamer
Bumped to latest source revision of libcamera, and added packageconfig
to enable the gstreamer during build, and to generate and install the
gstreamer library.
Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb index c66c93ec5..5505626d3 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | |||
@@ -12,15 +12,20 @@ SRC_URI = " \ | |||
12 | git://linuxtv.org/libcamera.git;protocol=git \ | 12 | git://linuxtv.org/libcamera.git;protocol=git \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRCREV = "5f2f9406cebc668f0d69007d1ea59ef3c56ef28c" | 15 | SRCREV = "1e8c91b65695449c5246d17ba7dc439c8058b781" |
16 | 16 | ||
17 | PV = "202006+git${SRCPV}" | 17 | PV = "202008+git${SRCPV}" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
20 | 20 | ||
21 | DEPENDS = "python3-pyyaml-native udev gnutls boost chrpath-native" | 21 | DEPENDS = "python3-pyyaml-native udev gnutls boost chrpath-native" |
22 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" | 22 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" |
23 | 23 | ||
24 | PACKAGES =+ "${PN}-gst" | ||
25 | |||
26 | PACKAGECONFIG ??= "" | ||
27 | PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" | ||
28 | |||
24 | RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}" | 29 | RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}" |
25 | 30 | ||
26 | inherit meson pkgconfig python3native | 31 | inherit meson pkgconfig python3native |
@@ -44,4 +49,4 @@ do_recalculate_ipa_signatures_package() { | |||
44 | 49 | ||
45 | FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig" | 50 | FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig" |
46 | FILES_${PN} += " ${libdir}/libcamera.so" | 51 | FILES_${PN} += " ${libdir}/libcamera.so" |
47 | 52 | FILES_${PN}-gst = "${libdir}/gstreamer-1.0/libgstlibcamera.so" | |