Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
dvblast: fix static linking
dvblast links to -lev, which uses functions from the maths library,
like floor().
When linking to a shared libev.so, that dependency is automatically
pulled in because libev as a DT_NEEDED ELF tag on libm.so.
But when lnking to the static libev.a, since there is no way to express
such dependencies in static libraries, libm is not pulled in, which
leads to build failures such as;
http://autobuild.buildroot.org/results/1f0/1f02f84fb926839a1adbe3af457bb909fdc44433/build-end.log
Fix that by always linking to -lm (which must come *after* -lev).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff -durN dvblast-3.0.orig/Makefile dvblast-3.0/Makefile
--- dvblast-3.0.orig/Makefile 2015-10-05 17:51:14.000000000 +0200
+++ dvblast-3.0/Makefile 2015-10-30 15:57:19.547123894 +0100
@@ -28,7 +28,7 @@
LDLIBS += -lstreammaster
endif
-LDLIBS_DVBLAST += -lpthread -lev
+LDLIBS_DVBLAST += -lpthread -lev -lm
OBJ_DVBLAST = dvblast.o util.o dvb.o udp.o asi.o demux.o output.o en50221.o comm.o mrtg-cnt.o asi-deltacast.o
OBJ_DVBLASTCTL = util.o dvblastctl.o

View File

@@ -0,0 +1,24 @@
Standard integer types are uintXX_t not u_intXX_t
This fixes the build with the musl C library.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff -durN dvblast-3.0.orig/dvblast.h dvblast-3.0/dvblast.h
--- dvblast-3.0.orig/dvblast.h 2015-10-05 17:51:14.000000000 +0200
+++ dvblast-3.0/dvblast.h 2015-10-30 16:29:25.586125193 +0100
@@ -49,10 +49,10 @@
* Raw udp packet structure with flexible-array payload
*****************************************************************************/
struct udpheader { // FAVOR_BSD hell ...
- u_int16_t source;
- u_int16_t dest;
- u_int16_t len;
- u_int16_t check;
+ uint16_t source;
+ uint16_t dest;
+ uint16_t len;
+ uint16_t check;
};
#if defined(__FreeBSD__) || defined(__APPLE__)

14
package/dvblast/Config.in Normal file
View File

@@ -0,0 +1,14 @@
config BR2_PACKAGE_DVBLAST
bool "dvblast"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_BITSTREAM
select BR2_PACKAGE_LIBEV
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
DVBlast is a simple and powerful MPEG-2/TS demux and
streaming application.
http://www.videolan.org/projects/dvblast.html
comment "dvblast needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,7 @@
# From https://get.videolan.org/dvblast/3.5/dvblast-3.5.tar.bz2.md5
md5 d244aadb0b202a0838449235fc5f27dd dvblast-3.5.tar.bz2
# From https://get.videolan.org/dvblast/3.5/dvblast-3.5.tar.bz2.sha256
sha256 baa5a9aa1726b97240e16fef8856395cd42440aee410bf479479249f9cce6076 dvblast-3.5.tar.bz2
# Locally computed
sha256 94f68aec169fb6c9937eade757251714d38a56812be5dbfc3973914a71ad8d2d COPYING
sha256 2c1bea2f338d46ee6f2712f2c2bf05b874327ca0bec5eb0b7b4fbe208a23677f COPYING.WTFPL

View File

@@ -0,0 +1,29 @@
################################################################################
#
# dvblast
#
################################################################################
DVBLAST_VERSION = 3.5
DVBLAST_SOURCE = dvblast-$(DVBLAST_VERSION).tar.bz2
DVBLAST_SITE = https://get.videolan.org/dvblast/$(DVBLAST_VERSION)
DVBLAST_LICENSE = GPL-2.0+, WTFPL
DVBLAST_LICENSE_FILES = COPYING COPYING.WTFPL
DVBLAST_DEPENDENCIES = bitstream libev
DVBLAST_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS)
ifeq ($(BR2_PACKAGE_LIBICONV),y)
DVBLAST_DEPENDENCIES += libiconv
DVBLAST_MAKE_ENV += LDLIBS=-liconv
endif
define DVBLAST_BUILD_CMDS
$(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define DVBLAST_INSTALL_TARGET_CMDS
$(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))