package/mjpg-streamer: add optional dependency to libgphoto2
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
87817c6a68
commit
89ef4c4e48
@ -11,6 +11,13 @@ MJPG_STREAMER_LICENSE = GPL-2.0+
|
||||
MJPG_STREAMER_LICENSE_FILES = $(MJPG_STREAMER_SUBDIR)/LICENSE
|
||||
MJPG_STREAMER_DEPENDENCIES = jpeg
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGPHOTO2),y)
|
||||
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_PTP2=ON
|
||||
MJPG_STREAMER_DEPENDENCIES += host-pkgconf libgphoto2
|
||||
else
|
||||
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_PTP2=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
||||
MJPG_STREAMER_DEPENDENCIES += libv4l
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user