e2bc5e916b
- X11 support needs libdrm (optional libdrm dependency already present in libcamera-apps.mk) Fixes: http://autobuild.buildroot.net/results/5df48038df5deb4f1e85287cde9a403c5681c28e .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:18:10: fatal error: libdrm/drm_fourcc.h: No such file or directory 18 | #include <libdrm/drm_fourcc.h> | ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_LIBCAMERA_APPS
|
|
bool "libcamera-apps"
|
|
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS # libcamera
|
|
depends on BR2_INSTALL_LIBSTDCPP # libcamera/boost
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libcamera/boost
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17/libcamera
|
|
depends on !BR2_STATIC_LIBS # gnutls/libcamera
|
|
depends on BR2_USE_WCHAR # gnutls/libcamera/boost
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
|
|
select BR2_PACKAGE_JPEG
|
|
select BR2_PACKAGE_LIBCAMERA
|
|
select BR2_PACKAGE_LIBEXIF
|
|
select BR2_PACKAGE_LIBPNG
|
|
select BR2_PACKAGE_TIFF
|
|
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL)
|
|
select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL)
|
|
select BR2_PACKAGE_LIBEPOXY if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL)
|
|
select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
|
|
select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5
|
|
help
|
|
This is a small suite of libcamera-based apps that aim to copy
|
|
the functionality of the existing "raspicam" apps.
|
|
|
|
https://github.com/raspberrypi/libcamera-apps
|
|
|
|
comment "libcamera-apps needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
|
|
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
|