Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
From 78a7b7365a67fa2f5394c6b4ca39de01b00416dc Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Sat, 2 Apr 2016 19:05:52 +0200
|
||||
Subject: [PATCH 1/1] ffmpeg: revert minimum required version numbers
|
||||
|
||||
This commit reverts the minimum version numbers required by configure to
|
||||
the values before
|
||||
https://github.com/tvheadend/tvheadend/commit/1359effe28a0381b8c9cbd362d6e144fb87b00fc#diff-e2d5a00791bce9a01f99bc6fd613a39dL486
|
||||
in order to allow compilation with older versions of ffmpeg again.
|
||||
|
||||
Please note that the previous version numbers of all ffmpeg libs, with
|
||||
the exception of libavfilter, are those of ffmpeg 2.0.7:
|
||||
https://ffmpeg.org/olddownload.html
|
||||
|
||||
Therefore I synced the minimum version number required for libavfilter to
|
||||
3.79.101 and not to 4.0.0 as previous in tvheadend's configure script.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
[Patch sent upstream: https://github.com/tvheadend/tvheadend/pull/838]
|
||||
---
|
||||
configure | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index be3d2e2..2ffd280 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -512,13 +512,13 @@ else
|
||||
if enabled_or_auto libav; then
|
||||
has_libav=true
|
||||
|
||||
- check_pkg libavfilter ">=6.31.100" || has_libav=false
|
||||
- check_pkg libswresample ">=2.0.101" || has_libav=false
|
||||
- check_pkg libavresample ">=3.0.0" || has_libav=false
|
||||
- check_pkg libswscale ">=4.0.100" || has_libav=false
|
||||
- check_pkg libavformat ">=57.25.100" || has_libav=false
|
||||
- check_pkg libavcodec ">=57.24.102" || has_libav=false
|
||||
- check_pkg libavutil ">=55.17.103" || has_libav=false
|
||||
+ check_pkg libavfilter ">=3.79.101" || has_libav=false
|
||||
+ check_pkg libswresample ">=0.17.102" || has_libav=false
|
||||
+ check_pkg libavresample ">=1.1.0" || has_libav=false
|
||||
+ check_pkg libswscale ">=2.3.100" || has_libav=false
|
||||
+ check_pkg libavformat ">=55.12.100" || has_libav=false
|
||||
+ check_pkg libavcodec ">=55.18.102" || has_libav=false
|
||||
+ check_pkg libavutil ">=52.38.100" || has_libav=false
|
||||
|
||||
if $has_libav; then
|
||||
enable libav
|
||||
--
|
||||
2.8.0.rc3
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
tvheadend: remove -Werror from CFLAGS
|
||||
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
|
||||
diff -durN tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3.orig/Makefile tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3/Makefile
|
||||
--- tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3.orig/Makefile 2014-03-09 14:50:48.437688482 +0100
|
||||
+++ tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3/Makefile 2014-03-09 14:54:00.411418749 +0100
|
||||
@@ -32,7 +32,7 @@
|
||||
ifeq ($(CONFIG_W_UNUSED_RESULT),yes)
|
||||
CFLAGS += -Wunused-result
|
||||
endif
|
||||
-CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
|
||||
+CFLAGS += -Wall -Wwrite-strings -Wno-deprecated-declarations
|
||||
CFLAGS += -Wmissing-prototypes
|
||||
CFLAGS += -fms-extensions -funsigned-char -fno-strict-aliasing
|
||||
CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
@@ -12,6 +12,8 @@ config BR2_PACKAGE_TVHEADEND
|
||||
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
|
||||
select BR2_PACKAGE_X264 if BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
@@ -22,7 +24,7 @@ config BR2_PACKAGE_TVHEADEND
|
||||
https://www.lonelycoder.com/redmine/projects/tvheadend/
|
||||
|
||||
Note:
|
||||
- a default user has been created to log in the web configuration
|
||||
GUI: admin/admin; you can change it at your discretion at runtime.
|
||||
- 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
|
||||
|
||||
@@ -21,6 +21,11 @@ ARGS="-f"
|
||||
[ -z "${TVH_HTSP_PORT}" ] || ARGS="${ARGS} -e ${TVH_HTSP_PORT}"
|
||||
[ "${TVH_DEBUG}" = "1" ] && ARGS="${ARGS} -s"
|
||||
|
||||
# If first run, start in wizard mode
|
||||
if [ -z "$(ls -1 /home/tvheadend/.hts/tvheadend/accesscontrol/ 2>/dev/null)" ]; then
|
||||
ARGS="${ARGS} -C"
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Starting TVHeadend daemon: "
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"enabled": 1,
|
||||
"username": "admin",
|
||||
"password": "admin",
|
||||
"comment": "TVHeadend admin user",
|
||||
"prefix": "0.0.0.0/0",
|
||||
"streaming": 1,
|
||||
"dvr": 1,
|
||||
"dvrallcfg": 1,
|
||||
"webui": 1,
|
||||
"admin": 1,
|
||||
"id": "1"
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 0caf44de3baaf115d80410b660d99e49a42f50792397254e8f21b6e1c5ca58ef tvheadend-1aa0073be39119f5d0d79212e6c83c470904a161.tar.gz
|
||||
sha256 b6035c0eedfdcbec965116248471c23bed7f8b7f899e403d670495325002ba78 tvheadend-8e637f9f903f6d820f701a1461b144e67665c6fa.tar.gz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TVHEADEND_VERSION = 1aa0073be39119f5d0d79212e6c83c470904a161
|
||||
TVHEADEND_VERSION = 8e637f9f903f6d820f701a1461b144e67665c6fa
|
||||
TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
|
||||
TVHEADEND_LICENSE = GPLv3+
|
||||
TVHEADEND_LICENSE_FILES = LICENSE.md
|
||||
@@ -77,10 +77,11 @@ define TVHEADEND_CONFIGURE_CMDS
|
||||
--prefix=/usr \
|
||||
--arch="$(ARCH)" \
|
||||
--cpu="$(BR2_GCC_TARGET_CPU)" \
|
||||
--nowerror \
|
||||
--python="$(HOST_DIR)/usr/bin/python" \
|
||||
--enable-dvbscan \
|
||||
--enable-bundle \
|
||||
--disable-libffmpeg_static \
|
||||
--disable-ffmpeg_static \
|
||||
--disable-hdhomerun_static \
|
||||
$(TVHEADEND_CONF_OPTS) \
|
||||
)
|
||||
@@ -106,14 +107,8 @@ TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_CLEAN_SHARE
|
||||
#----------------------------------------------------------------------------
|
||||
# To run tvheadend, we need:
|
||||
# - a startup script, and its config file
|
||||
# - a default DB with a tvheadend admin
|
||||
# - a non-root user to run as
|
||||
define TVHEADEND_INSTALL_DB
|
||||
$(INSTALL) -D -m 0600 package/tvheadend/accesscontrol.1 \
|
||||
$(TARGET_DIR)/home/tvheadend/.hts/tvheadend/accesscontrol/1
|
||||
chmod -R go-rwx $(TARGET_DIR)/home/tvheadend
|
||||
endef
|
||||
TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_INSTALL_DB
|
||||
# - a non-root user to run as, and a home for it that is not accessible
|
||||
# to the other users (because there will be crendentials in there)
|
||||
|
||||
define TVHEADEND_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D package/tvheadend/etc.default.tvheadend $(TARGET_DIR)/etc/default/tvheadend
|
||||
@@ -123,5 +118,8 @@ endef
|
||||
define TVHEADEND_USERS
|
||||
tvheadend -1 tvheadend -1 * /home/tvheadend - video TVHeadend daemon
|
||||
endef
|
||||
define TVHEADEND_PERMISSIONS
|
||||
/home/tvheadend r 0700 tvheadend tvheadend - - - - -
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user