Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From b16ad4d258409fbd6acf843d62a7a84f621e3b70 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Mon, 18 Dec 2017 20:52:06 +0100
|
||||
Subject: [PATCH] sbuf: fix uclibc compilation error
|
||||
|
||||
Fixes build error
|
||||
|
||||
tvheadend-e06ffd87beff16103c47d6fa542df2374fca6fd3/src/sbuf.h:77:1:
|
||||
error: unknown type name 'ssize_t'; did you mean 'size_t'?
|
||||
ssize_t sbuf_read(sbuf_t *sb, int fd);
|
||||
|
||||
Patch sent upstream: https://github.com/tvheadend/tvheadend/pull/1062
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
src/sbuf.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/sbuf.h b/src/sbuf.h
|
||||
index 78aa546b3..d5aa53042 100644
|
||||
--- a/src/sbuf.h
|
||||
+++ b/src/sbuf.h
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
/**
|
||||
* Simple dynamically growing buffer
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,30 +1,45 @@
|
||||
comment "tvheadend needs a toolchain w/ NPTL, headers >= 3.2, dynamic library"
|
||||
depends on !BR2_microblazeel
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 || BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
|
||||
config BR2_PACKAGE_TVHEADEND
|
||||
bool "tvheadend"
|
||||
depends on !BR2_microblazeel # assertion failure in binutils
|
||||
depends on !BR2_STATIC_LIBS # dladdr()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
select BR2_PACKAGE_DTV_SCAN_TABLES
|
||||
select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_LIBVPX if BR2_PACKAGE_FFMPEG && !BR2_bfin # libvpx
|
||||
select BR2_PACKAGE_X264 if BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Tvheadend is a TV streaming server for Linux supporting DVB-S,
|
||||
DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as
|
||||
input sources.
|
||||
|
||||
Tvheadend is a TV streaming server for Linux supporting
|
||||
DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video
|
||||
(V4L) as input sources.
|
||||
|
||||
https://www.lonelycoder.com/redmine/projects/tvheadend/
|
||||
|
||||
Note:
|
||||
- on first run, tvheadend will start in wizard mode; the webUI
|
||||
is available on port 9981.
|
||||
- on first run, tvheadend will start in wizard mode; the
|
||||
webUI is available on port 9981.
|
||||
- if you want Avahi support, you'll need to enable:
|
||||
Avahi, D-Bus, libdaemon
|
||||
|
||||
if BR2_PACKAGE_TVHEADEND
|
||||
|
||||
config BR2_PACKAGE_TVHEADEND_TRANSCODING
|
||||
bool "transcoding support"
|
||||
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_FFMPEG_AVRESAMPLE
|
||||
select BR2_PACKAGE_FFMPEG_GPL # needed for x264 support
|
||||
select BR2_PACKAGE_FFMPEG_SWSCALE
|
||||
select BR2_PACKAGE_LIBVPX if !BR2_bfin # libvpx
|
||||
select BR2_PACKAGE_X264
|
||||
help
|
||||
Enable transcoding support.
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 ac3c088654864781f2b2a2797e3a8b03a1b2e86db731c08cb5f296a04069560d tvheadend-e5f5a4278949afc96e26d6cd50cf968e0e92d7b6.tar.gz
|
||||
sha256 32f96937a3ffa72b5bdbfde9a5f9f9535f88e94e44864d4c8c6a152985c16569 tvheadend-e06ffd87beff16103c47d6fa542df2374fca6fd3.tar.gz
|
||||
sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md
|
||||
|
||||
@@ -4,13 +4,14 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TVHEADEND_VERSION = e5f5a4278949afc96e26d6cd50cf968e0e92d7b6
|
||||
TVHEADEND_VERSION = e06ffd87beff16103c47d6fa542df2374fca6fd3
|
||||
TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
|
||||
TVHEADEND_LICENSE = GPLv3+
|
||||
TVHEADEND_LICENSE = GPL-3.0+
|
||||
TVHEADEND_LICENSE_FILES = LICENSE.md
|
||||
TVHEADEND_DEPENDENCIES = \
|
||||
host-gettext \
|
||||
host-pkgconf \
|
||||
host-pngquant \
|
||||
$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \
|
||||
openssl
|
||||
|
||||
@@ -25,11 +26,41 @@ else
|
||||
TVHEADEND_CONF_OPTS += --disable-dbus-1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG),y)
|
||||
TVHEADEND_DEPENDENCIES += ffmpeg
|
||||
TVHEADEND_CONF_OPTS += --enable-libav
|
||||
ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264
|
||||
TVHEADEND_DEPENDENCIES += ffmpeg x264
|
||||
ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_XORG7),yy)
|
||||
TVHEADEND_CONF_OPTS += --enable-vaapi
|
||||
TVHEADEND_DEPENDENCIES += libva
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-libav
|
||||
TVHEADEND_CONF_OPTS += --disable-vaapi
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-libopus
|
||||
TVHEADEND_DEPENDENCIES += opus
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-libopus
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-omx
|
||||
TVHEADEND_DEPENDENCIES += rpi-userland
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-omx
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_X265),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-libx265
|
||||
TVHEADEND_DEPENDENCIES += x265
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-libx265
|
||||
endif
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += \
|
||||
--disable-libav \
|
||||
--disable-libopus \
|
||||
--disable-omx \
|
||||
--disable-vaapi \
|
||||
--disable-libx264 \
|
||||
--disable-libx265
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
|
||||
@@ -56,6 +87,13 @@ TVHEADEND_DEPENDENCIES += liburiparser
|
||||
TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
TVHEADEND_DEPENDENCIES += pcre
|
||||
TVHEADEND_CONF_OPTS += --enable-pcre
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre
|
||||
endif
|
||||
|
||||
TVHEADEND_DEPENDENCIES += dtv-scan-tables
|
||||
|
||||
# The tvheadend build system expects the transponder data to be present inside
|
||||
@@ -69,24 +107,31 @@ endef
|
||||
TVHEADEND_PRE_CONFIGURE_HOOKS += TVHEADEND_INSTALL_DTV_SCAN_TABLES
|
||||
|
||||
define TVHEADEND_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CFLAGS="$(TVHEADEND_CFLAGS)" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--arch="$(ARCH)" \
|
||||
--cpu="$(BR2_GCC_TARGET_CPU)" \
|
||||
--nowerror \
|
||||
--python="$(HOST_DIR)/usr/bin/python" \
|
||||
--enable-dvbscan \
|
||||
--enable-bundle \
|
||||
--disable-ffmpeg_static \
|
||||
--disable-hdhomerun_static \
|
||||
$(TVHEADEND_CONF_OPTS) \
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CFLAGS="$(TVHEADEND_CFLAGS)" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--arch="$(ARCH)" \
|
||||
--cpu="$(BR2_GCC_TARGET_CPU)" \
|
||||
--nowerror \
|
||||
--python="$(HOST_DIR)/bin/python" \
|
||||
--enable-dvbscan \
|
||||
--enable-bundle \
|
||||
--enable-pngquant \
|
||||
--disable-ffmpeg_static \
|
||||
--disable-hdhomerun_static \
|
||||
$(TVHEADEND_CONF_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
define TVHEADEND_FIX_PNGQUANT_PATH
|
||||
$(SED) "s%^pngquant_bin =.*%pngquant_bin = '$(HOST_DIR)/bin/pngquant'%" \
|
||||
$(@D)/support/mkbundle
|
||||
endef
|
||||
TVHEADEND_POST_CONFIGURE_HOOKS += TVHEADEND_FIX_PNGQUANT_PATH
|
||||
|
||||
define TVHEADEND_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user