Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
dvblast: fix static linking
dvblast links to -lev, wihch 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__)

View File

@@ -0,0 +1,16 @@
config BR2_PACKAGE_DVBLAST
bool "dvblast"
select BR2_PACKAGE_BITSTREAM
select BR2_PACKAGE_LIBEV
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
depends on !BR2_bfin # libev
depends on BR2_TOOLCHAIN_HAS_THREADS
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_bfin # libev
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,4 @@
# from https://get.videolan.org/dvblast/3.0/dvblast-3.0.tar.bz2.md5
md5 89ea9ffb16476d47b8853e52a8a3ee63 dvblast-3.0.tar.bz2
# locally calculated
sha256 4fc3eb2a3d3545cb76a5c515a16671d1c34fe2f5dad57b71e89bd54c14c3045e dvblast-3.0.tar.bz2

View File

@@ -0,0 +1,29 @@
################################################################################
#
# dvblast
#
################################################################################
DVBLAST_VERSION = 3.0
DVBLAST_SOURCE = dvblast-$(DVBLAST_VERSION).tar.bz2
DVBLAST_SITE = https://get.videolan.org/dvblast/$(DVBLAST_VERSION)
DVBLAST_LICENSE = GPLv2+, 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))