[Buildroot] [PATCH v2 2/2] package/mjpg-streamer: add optional dependency to zeromq
Peter Korsgaard
peter at korsgaard.com
Sun Oct 28 07:08:36 UTC 2018
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:
> The ZeroMQ output module also depends on protobuf, see upstream PR 145.
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Given how much depends on host-pkgconf I think it makes more sense to
make host-pkgconf an unconditional dependency for robustness reasons
when bumping the version.
But that can be done later - Committed, thanks.
> ---
> v2: no changes
> package/mjpg-streamer/mjpg-streamer.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
> diff --git a/package/mjpg-streamer/mjpg-streamer.mk b/package/mjpg-streamer/mjpg-streamer.mk
> index de8bad0c03..4077a3dcbc 100644
> --- a/package/mjpg-streamer/mjpg-streamer.mk
> +++ b/package/mjpg-streamer/mjpg-streamer.mk
> @@ -29,6 +29,13 @@ else
> MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_OPENCV=OFF
> 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)
> MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_VIEWER=ON
> MJPG_STREAMER_DEPENDENCIES += host-pkgconf sdl
> --
> 2.19.1
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list