Import buildroot 2016.02.01
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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: "
|
||||
18
firmware/buildroot/package/mjpg-streamer/Config.in
Normal file
18
firmware/buildroot/package/mjpg-streamer/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_MJPG_STREAMER
|
||||
bool "mjpg-streamer"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # linux/uvcvideo.h
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # plugins need dlopen()
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
MJPG-streamer takes JPGs from Linux-UVC compatible webcams,
|
||||
filesystem or other input plugins and streams them as
|
||||
M-JPEG via HTTP to webbrowsers, VLC and other software.
|
||||
|
||||
http://mjpg-streamer.sourceforge.net
|
||||
|
||||
comment "mjpg-streamer needs a toolchain w/ threads, headers >= 3.0, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 756a60cbc3404ac21109bb66091774ac8e1d64ebf60e2bf2c0d08a06d1abb9be mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.tar.gz
|
||||
25
firmware/buildroot/package/mjpg-streamer/mjpg-streamer.mk
Normal file
25
firmware/buildroot/package/mjpg-streamer/mjpg-streamer.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# mjpg-streamer
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# 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_LICENSE = GPLv2+
|
||||
MJPG_STREAMER_LICENSE_FILES = LICENSE
|
||||
MJPG_STREAMER_DEPENDENCIES = jpeg
|
||||
|
||||
define MJPG_STREAMER_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D)
|
||||
endef
|
||||
|
||||
define MJPG_STREAMER_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user