b9203c9d6d
This bump includes588db286da
3b7d04d28a
which fixes building without c++: http://autobuild.buildroot.net/results/1da/1da75a9d9b6e4d04d39117d2915c1d195dcae002/ http://autobuild.buildroot.net/results/3da/3da3f4099ccf62a314c099c5720dd5b1e9463914/ http://autobuild.buildroot.net/results/104/10438190453bd7ef7cc157929e74a9ffce9f7fdf/ http://autobuild.buildroot.net/results/91f/91fa80348db0c248649fe003df2dfa854f37a5a2/ http://autobuild.buildroot.net/results/4d7/4d7e722cf85a54d2813715e6b4ca1dd793e6d237/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# mjpg-streamer
|
|
#
|
|
################################################################################
|
|
|
|
MJPG_STREAMER_VERSION = 75c6c4a7809c735b201df949d55287fb60397744
|
|
MJPG_STREAMER_SITE = $(call github,jacksonliam,mjpg-streamer,$(MJPG_STREAMER_VERSION))
|
|
MJPG_STREAMER_SUBDIR = mjpg-streamer-experimental
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENCV3_LIB_HIGHGUI)$(BR2_PACKAGE_OPENCV3_LIB_IMGPROC)$(BR2_PACKAGE_OPENCV3_LIB_VIDEOIO),yyy)
|
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_OPENCV=ON
|
|
MJPG_STREAMER_DEPENDENCIES += host-pkgconf opencv3
|
|
else
|
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_INPUT_OPENCV=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SDL),y)
|
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_VIEWER=ON
|
|
MJPG_STREAMER_DEPENDENCIES += host-pkgconf sdl
|
|
else
|
|
MJPG_STREAMER_CONF_OPTS += -DPLUGIN_OUTPUT_VIEWER=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|