package/mjpg-streamer: add optional dependency to zeromq
The ZeroMQ output module also depends on protobuf, see upstream PR 145. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
367d7dc7a1
commit
0a4e2bfd64
@ -29,6 +29,13 @@ else
|
|||||||
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_OPENCV=OFF
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_OPENCV=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PROTOBUF_C)$(BR2_PACKAGE_ZEROMQ),yy)
|
||||||
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_ZMQSERVER=ON
|
||||||
|
MJPG_STREAMER_DEPENDENCIES += host-pkgconf protobuf-c zeromq
|
||||||
|
else
|
||||||
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_ZMQSERVER=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SDL),y)
|
ifeq ($(BR2_PACKAGE_SDL),y)
|
||||||
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_VIEWER=ON
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_VIEWER=ON
|
||||||
MJPG_STREAMER_DEPENDENCIES += host-pkgconf sdl
|
MJPG_STREAMER_DEPENDENCIES += host-pkgconf sdl
|
||||||
|
Loading…
Reference in New Issue
Block a user