mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
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))
|