- Use official tarball - Switch to meson-package - libcamera-apps unconditionally uses linux/dma-heap.h since version 1.3.0 and1133868763which is only available since kernel >= 5.5 anda69b0e855d- This bump will fix the following build failure raised since bump of libcamera to version 0.3.0 in commit82efc2faa9: /workdir/instance-1/output-1/build/libcamera-apps-1.2.1/core/libcamera_app.cpp: In member function 'void LibcameraApp::ConfigureViewfinder()': /workdir/instance-1/output-1/build/libcamera-apps-1.2.1/core/libcamera_app.cpp:327:25: error: 'class libcamera::CameraConfiguration' has no member named 'transform' 327 | configuration_->transform = options_->transform; | ^~~~~~~~~ It shall be noted that upstream changed its name from libcamera-apps to rpicam-apps perhaps the package shall also be renamed on buildroot side Fixes:82efc2faa9- http://autobuild.buildroot.org/results/18bb6d9c88c1a813a350658b251293744e161916 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# libcamera-apps
|
|
#
|
|
################################################################################
|
|
|
|
LIBCAMERA_APPS_VERSION = 1.5.0
|
|
LIBCAMERA_APPS_SOURCE = rpicam-apps-$(LIBCAMERA_APPS_VERSION).tar.xz
|
|
LIBCAMERA_APPS_SITE = https://github.com/raspberrypi/rpicam-apps/releases/download/v$(LIBCAMERA_APPS_VERSION)
|
|
LIBCAMERA_APPS_LICENSE = BSD-2-Clause
|
|
LIBCAMERA_APPS_LICENSE_FILES = license.txt
|
|
LIBCAMERA_APPS_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
boost \
|
|
jpeg \
|
|
libcamera \
|
|
libexif \
|
|
libpng \
|
|
tiff
|
|
|
|
LIBCAMERA_APPS_CONF_OPTS = \
|
|
-Denable_opencv=disabled \
|
|
-Denable_tflite=disabled
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
|
LIBCAMERA_APPS_DEPENDENCIES += libdrm
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_drm=enabled
|
|
else
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_drm=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBDRM),yy)
|
|
LIBCAMERA_APPS_DEPENDENCIES += ffmpeg libdrm
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_libav=enabled
|
|
else
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_libav=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
LIBCAMERA_APPS_DEPENDENCIES += \
|
|
$(if $(BR2_PACKAGE_LIBEPOXY),libepoxy) \
|
|
$(if $(BR2_PACKAGE_XLIB_LIBX11),xlib_libX11)
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_egl=enabled
|
|
else
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_egl=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5),y)
|
|
LIBCAMERA_APPS_DEPENDENCIES += qt5base
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_qt=enabled
|
|
else
|
|
LIBCAMERA_APPS_CONF_OPTS += -Denable_qt=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|