diff options
Diffstat (limited to 'recipes-core/libxcam/libxcam_git.bb')
-rw-r--r-- | recipes-core/libxcam/libxcam_git.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-core/libxcam/libxcam_git.bb b/recipes-core/libxcam/libxcam_git.bb new file mode 100644 index 00000000..80bef154 --- /dev/null +++ b/recipes-core/libxcam/libxcam_git.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "libXCam is a project for extended camera(not limited in camera) \ | ||
2 | features and focus on image quality improvement and video analysis" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8c911f084a3e5f46b21582a6cc9973e6" | ||
5 | SECTION = "lib" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | SRCREV = "28769ade4793006c8db9a1720359c310fa1e0d6a" | ||
11 | SRC_URI = "git://github.com/intel/libxcam.git;branch=1.2.2 \ | ||
12 | file://0001-modules-vulkan-point-to-correct-location-of-spv-shad.patch \ | ||
13 | " | ||
14 | |||
15 | COMPATIBLE_HOST_libc-musl = "null" | ||
16 | |||
17 | PACKAGECONFIG ??= " gst \ | ||
18 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "gles", "", d)} \ | ||
19 | ${@bb.utils.contains("DISTRO_FEATURES", "vulkan", "vulkan", "", d)} \ | ||
20 | " | ||
21 | |||
22 | PACKAGECONFIG[gst] = "--enable-gst, --disable-gst, gstreamer1.0 gstreamer1.0-plugins-base" | ||
23 | PACKAGECONFIG[aiq] = "--enable-aiq, --disable-aiq," | ||
24 | PACKAGECONFIG[libcl] = "--enable-libcl, --disable-libcl," | ||
25 | PACKAGECONFIG[opencv] = "--enable-opencv, --disable-opencv, opencv" | ||
26 | PACKAGECONFIG[render] = "--enable-render, --disable-render," | ||
27 | PACKAGECONFIG[gles] = "--enable-gles, --disable-gles, virtual/mesa" | ||
28 | PACKAGECONFIG[vulkan] = "--enable-vulkan, --disable-vulkan, vulkan-loader virtual/mesa" | ||
29 | PACKAGECONFIG[dnn] = "--enable-dnn, --disable-dnn," | ||
30 | |||
31 | FILES_${PN} += "${libdir}/gstreamer-*/*.so" | ||