Bump buildroot to 2019.02
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
Fix musl build
|
||||
|
||||
Patch written by Thomas Petazzoni:
|
||||
http://patchwork.ozlabs.org/patch/572309/
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -uNr mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h
|
||||
--- mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h 2015-11-09 15:56:47.000000000 +0100
|
||||
+++ mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h 2016-01-26 20:19:05.884349502 +0100
|
||||
@@ -20,6 +20,7 @@
|
||||
# #
|
||||
*******************************************************************************/
|
||||
|
||||
+#include <pthread.h>
|
||||
#include <syslog.h>
|
||||
#include "../mjpg_streamer.h"
|
||||
#define INPUT_PLUGIN_PREFIX " i: "
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_MJPG_STREAMER
|
||||
bool "mjpg-streamer"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # linux/uvcvideo.h
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 # V4L2_EVENT_SOURCE_CHANGE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # plugins need dlopen()
|
||||
@@ -10,9 +10,9 @@ config BR2_PACKAGE_MJPG_STREAMER
|
||||
filesystem or other input plugins and streams them as
|
||||
M-JPEG via HTTP to webbrowsers, VLC and other software.
|
||||
|
||||
http://mjpg-streamer.sourceforge.net
|
||||
https://github.com/jacksonliam/mjpg-streamer
|
||||
|
||||
comment "mjpg-streamer needs a toolchain w/ threads, headers >= 3.0, dynamic library"
|
||||
comment "mjpg-streamer needs a toolchain w/ threads, headers >= 3.16, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 || BR2_STATIC_LIBS
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 756a60cbc3404ac21109bb66091774ac8e1d64ebf60e2bf2c0d08a06d1abb9be mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.tar.gz
|
||||
sha256 d2c2c9dbc95332245f34247f4a0791d741d1ae875084f9886442f48a01b01d81 mjpg-streamer-ddb69b7b4f114f3c2ca01adf55712792ca8aed43.tar.gz
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 mjpg-streamer-experimental/LICENSE
|
||||
|
||||
@@ -4,27 +4,43 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Original source is located at
|
||||
# http://sourceforge.net/p/mjpg-streamer/code/commit_browser
|
||||
# oliv3r forked the repo to add support for 3.16 and 3.17 kernels:
|
||||
# http://sourceforge.net/p/mjpg-streamer/patches/14/
|
||||
MJPG_STREAMER_VERSION = bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b
|
||||
MJPG_STREAMER_SITE = $(call github,oliv3r,mjpg-streamer,$(MJPG_STREAMER_VERSION))
|
||||
MJPG_STREAMER_VERSION = ddb69b7b4f114f3c2ca01adf55712792ca8aed43
|
||||
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 = LICENSE
|
||||
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
|
||||
MJPG_STREAMER_USE_LIBV4L += USE_LIBV4L2=true
|
||||
endif
|
||||
|
||||
define MJPG_STREAMER_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) $(MJPG_STREAMER_USE_LIBV4L)
|
||||
endef
|
||||
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
|
||||
|
||||
define MJPG_STREAMER_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
|
||||
endef
|
||||
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
|
||||
|
||||
$(eval $(generic-package))
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user