initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From b9d010d2c07e07eeffa510f14ff833ecb10dc0c8 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Mon, 24 Jun 2019 21:11:33 +0200
|
||||
Subject: [PATCH] include <limits.h>
|
||||
|
||||
Needed after
|
||||
https://repo.or.cz/rtmpdump.git/commitdiff/c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
|
||||
|
||||
to fix
|
||||
|
||||
rtmp.c: In function 'HTTP_read':
|
||||
rtmp.c:4459:26: error: 'INT_MAX' undeclared (first use in this function); did you mean 'INT8_MAX'?
|
||||
|
||||
reported by buildroot autobuilders:
|
||||
http://autobuild.buildroot.net/?reason=rtmpdump-c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
|
||||
|
||||
Patch sent upstream by e-mail to author of
|
||||
https://repo.or.cz/rtmpdump.git/patch/c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
librtmp/rtmp.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/librtmp/rtmp.h b/librtmp/rtmp.h
|
||||
index 6d7dd89..48d4fc3 100644
|
||||
--- a/librtmp/rtmp.h
|
||||
+++ b/librtmp/rtmp.h
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include "amf.h"
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_RTMPDUMP
|
||||
bool "librtmp"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
rtmpdump - RTMPDump Real-Time Messaging Protocol API
|
||||
Only librtmp is installed by this package.
|
||||
|
||||
http://rtmpdump.mplayerhq.hu
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 e362202d94b92632b17abc7ef909afc56de06a2cb40e308edfad901d799bbd9c rtmpdump-c5f04a58fc2aeea6296ca7c44ee4734c18401aa3-br1.tar.gz
|
||||
sha256 03fe7ca91cc28e99b4003d5b3bd4ce3b084d4c475fdf9975cf0e7fdf4dc739cd librtmp/COPYING
|
||||
@@ -0,0 +1,54 @@
|
||||
################################################################################
|
||||
#
|
||||
# rtmpdump
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
|
||||
RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump
|
||||
RTMPDUMP_INSTALL_STAGING = YES
|
||||
# Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only
|
||||
# care about librtmp, it's LGPL-2.1+
|
||||
RTMPDUMP_LICENSE = LGPL-2.1+
|
||||
RTMPDUMP_LICENSE_FILES = librtmp/COPYING
|
||||
RTMPDUMP_CPE_ID_VENDOR = rtmpdump_project
|
||||
RTMPDUMP_DEPENDENCIES = zlib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
RTMPDUMP_DEPENDENCIES += gnutls
|
||||
RTMPDUMP_CRYPTO = GNUTLS
|
||||
else
|
||||
# no crypto
|
||||
RTMPDUMP_CRYPTO =
|
||||
endif
|
||||
|
||||
RTMPDUMP_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifneq ($(BR2_STATIC_LIBS),y)
|
||||
RTMPDUMP_CFLAGS += -fPIC
|
||||
else
|
||||
RTMPDUMP_SHARED = "SHARED="
|
||||
endif
|
||||
|
||||
RTMPDUMP_MAKE_FLAGS = \
|
||||
CRYPTO=$(RTMPDUMP_CRYPTO) \
|
||||
prefix=/usr \
|
||||
$(RTMPDUMP_SHARED)
|
||||
|
||||
define RTMPDUMP_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(RTMPDUMP_MAKE_FLAGS) \
|
||||
XCFLAGS="$(RTMPDUMP_CFLAGS)" \
|
||||
XLDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
-C $(@D)/librtmp
|
||||
endef
|
||||
|
||||
define RTMPDUMP_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR) $(RTMPDUMP_MAKE_FLAGS)
|
||||
endef
|
||||
|
||||
define RTMPDUMP_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR) $(RTMPDUMP_MAKE_FLAGS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user