diff options
Diffstat (limited to 'recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb')
| -rw-r--r-- | recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb b/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb index 6b811b5f1..a1cf4098b 100644 --- a/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb +++ b/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | # Upstream hash: f4b9dfa0c903bc94c344c657917a3fbb229c322f | 6 | # Upstream hash: f4b9dfa0c903bc94c344c657917a3fbb229c322f |
| 7 | 7 | ||
| 8 | SUMMARY = "Linux libcamera framework" | 8 | SUMMARY = "Linux libcamera framework" |
| 9 | HOMEPAGE = "https://github.com/nxp-imx/libcamera" | ||
| 9 | SECTION = "libs" | 10 | SECTION = "libs" |
| 10 | 11 | ||
| 11 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | 12 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" |
| @@ -15,8 +16,8 @@ LIC_FILES_CHKSUM = "\ | |||
| 15 | file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \ | 16 | file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \ |
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | SRC_URI = " \ | 19 | SRC_URI = "\ |
| 19 | git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV} \ | 20 | git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \ |
| 20 | " | 21 | " |
| 21 | 22 | ||
| 22 | SRCREV = "3e6f5d83e397e11cccd3844e121463748f56de39" | 23 | SRCREV = "3e6f5d83e397e11cccd3844e121463748f56de39" |
| @@ -44,7 +45,7 @@ LIBCAMERA_PIPELINES ??= "auto" | |||
| 44 | LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}" | 45 | LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}" |
| 45 | LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}" | 46 | LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}" |
| 46 | 47 | ||
| 47 | EXTRA_OEMESON = " \ | 48 | EXTRA_OEMESON = "\ |
| 48 | -Dpipelines=${LIBCAMERA_PIPELINES} \ | 49 | -Dpipelines=${LIBCAMERA_PIPELINES} \ |
| 49 | -Dv4l2=true \ | 50 | -Dv4l2=true \ |
| 50 | -Dcam=enabled \ | 51 | -Dcam=enabled \ |
| @@ -82,7 +83,7 @@ do_package_recalculate_ipa_signatures() { | |||
| 82 | ${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}" | 83 | ${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}" |
| 83 | } | 84 | } |
| 84 | 85 | ||
| 85 | FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" | 86 | FILES:${PN} += "${libexecdir}/libcamera/v4l2-compat.so" |
| 86 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" | 87 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" |
| 87 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" | 88 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" |
| 88 | 89 | ||
| @@ -93,7 +94,7 @@ GLIBC_64BIT_TIME_FLAGS = "" | |||
| 93 | 94 | ||
| 94 | ########### i.MX overrides ################ | 95 | ########### i.MX overrides ################ |
| 95 | 96 | ||
| 96 | SRC_URI:remove = "git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV}" | 97 | SRC_URI:remove = "git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master" |
| 97 | SRC_URI:prepend = "${LIBCAMERA_SRC};branch=${SRCBRANCH} " | 98 | SRC_URI:prepend = "${LIBCAMERA_SRC};branch=${SRCBRANCH} " |
| 98 | LIBCAMERA_SRC ?= "git://github.com/nxp-imx/libcamera.git;protocol=https" | 99 | LIBCAMERA_SRC ?= "git://github.com/nxp-imx/libcamera.git;protocol=https" |
| 99 | SRCBRANCH = "lf-6.18.2_1.0.0" | 100 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| @@ -103,7 +104,7 @@ PACKAGECONFIG = "gst pycamera dng" | |||
| 103 | 104 | ||
| 104 | ARM_PIPELINES .= ",nxp/neo" | 105 | ARM_PIPELINES .= ",nxp/neo" |
| 105 | 106 | ||
| 106 | EXTRA_OEMESON += " \ | 107 | EXTRA_OEMESON += "\ |
| 107 | --python.platlibdir=${PYTHON_SITEPACKAGES_DIR} \ | 108 | --python.platlibdir=${PYTHON_SITEPACKAGES_DIR} \ |
| 108 | " | 109 | " |
| 109 | 110 | ||
