summaryrefslogtreecommitdiff
path: root/subprojects/packagefiles
diff options
context:
space:
mode:
authorMattijs Korpershoek <mkorpershoek@baylibre.com>2023-10-13 10:45:27 +0200
committerMattijs Korpershoek <mkorpershoek@baylibre.com>2023-10-13 16:31:13 +0200
commit44fda62974569aac0fb33592b6482bd52a43933c (patch)
tree9ef84e41580e012d2c8cfbf7e6792a5774c7e89a /subprojects/packagefiles
parentf1d28c9da38a5fd8b83a41ee14e814f589c7517d (diff)
add yuv, exif, jpeg
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'subprojects/packagefiles')
-rw-r--r--subprojects/packagefiles/vndk/meson.build26
1 files changed, 26 insertions, 0 deletions
diff --git a/subprojects/packagefiles/vndk/meson.build b/subprojects/packagefiles/vndk/meson.build
index 9814b27b..1d784731 100644
--- a/subprojects/packagefiles/vndk/meson.build
+++ b/subprojects/packagefiles/vndk/meson.build
@@ -52,3 +52,29 @@ vndk_libcpp_dep = declare_dependency(
dependencies : deps_cpp,
include_directories : include_directories(include_base / 'external/libcxx/include'))
meson.override_dependency('cpp_stdlib', vndk_libcpp_dep)
+
+# TODO: add libexif, libjpeg and libyuv
+
+libexif_dep = declare_dependency(
+ dependencies : [
+ cxx.find_library('exif', dirs : prebuild_libraries),
+ libutils_dep,
+ ],
+ include_directories : include_directories(include_base / 'external/libexif/'))
+meson.override_dependency('libexif', libexif_dep)
+
+libjpeg_dep = declare_dependency(
+ dependencies : [
+ cxx.find_library('jpeg', dirs : prebuild_libraries),
+ libutils_dep,
+ ],
+ include_directories : include_directories(include_base / 'external/libjpeg-turbo/'))
+meson.override_dependency('libjpeg', libjpeg_dep)
+
+libyuv_dep = declare_dependency(
+ dependencies : [
+ cxx.find_library('yuv', dirs : prebuild_libraries),
+ libutils_dep,
+ ],
+ include_directories : include_directories(include_base / 'external/libyuv/files/include'))
+meson.override_dependency('libyuv', libyuv_dep)