mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #1652 from CvH/tvh_8_nv
tvheadend42: update to 4.2.2-32
This commit is contained in:
commit
13b2a84ea1
47
packages/addons/addon-depends/pngquant/package.mk
Normal file
47
packages/addons/addon-depends/pngquant/package.mk
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of LibreELEC - https://libreelec.tv
|
||||||
|
# Copyright (C) 2017-present Team LibreELEC
|
||||||
|
#
|
||||||
|
# LibreELEC is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# LibreELEC is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="pngquant"
|
||||||
|
PKG_VERSION="2.9.1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="GPLv3"
|
||||||
|
PKG_SITE="https://pngquant.org"
|
||||||
|
PKG_URL="http://pngquant.org/pngquant-${PKG_VERSION}-src.tar.gz"
|
||||||
|
PKG_DEPENDS_HOST="toolchain libpng:host zlib:host"
|
||||||
|
PKG_SECTION="graphics"
|
||||||
|
PKG_SHORTDESC="lossy PNG compressor"
|
||||||
|
PKG_LONGDESC="a PNG compresor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format"
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
configure_host() {
|
||||||
|
: #
|
||||||
|
}
|
||||||
|
|
||||||
|
make_host() {
|
||||||
|
cd $ROOT/$PKG_BUILD
|
||||||
|
BIN=$ROOT/$PKG_BUILD/pngquant make
|
||||||
|
|
||||||
|
$STRIP $ROOT/$PKG_BUILD/pngquant
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_host() {
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||||
|
cp $ROOT/$PKG_BUILD/pngquant $ROOT/$TOOLCHAIN/bin
|
||||||
|
}
|
@ -1,3 +1,11 @@
|
|||||||
|
111
|
||||||
|
- update to Tvheadend 4.2.2-32
|
||||||
|
|
||||||
|
110
|
||||||
|
- added tv_grab_file support for compressed files (gz bz2 xz)
|
||||||
|
- update to Tvheadend 4.2.1.7
|
||||||
|
- fix FRITZ!Box support, AVM Repeater and 6490 are now working
|
||||||
|
|
||||||
109
|
109
|
||||||
- added custom start options to addon
|
- added custom start options to addon
|
||||||
- added FRITZ!Box Sat>IP server support to addon
|
- added FRITZ!Box Sat>IP server support to addon
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
# This file is part of LibreELEC - https://LibreELEC.tv
|
# This file is part of LibreELEC - https://LibreELEC.tv
|
||||||
# Copyright (C) 2016-2017 Team LibreELEC
|
# Copyright (C) 2016-present Team LibreELEC
|
||||||
#
|
#
|
||||||
# LibreELEC is free software: you can redistribute it and/or modify
|
# LibreELEC is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -17,15 +17,15 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="tvheadend42"
|
PKG_NAME="tvheadend42"
|
||||||
PKG_VERSION="e5f5a42"
|
PKG_VERSION="76dbc3e"
|
||||||
PKG_VERSION_NUMBER="4.1.2415"
|
PKG_VERSION_NUMBER="4.2.2-32"
|
||||||
PKG_REV="109"
|
PKG_REV="111"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.tvheadend.org"
|
PKG_SITE="http://www.tvheadend.org"
|
||||||
PKG_URL="https://github.com/tvheadend/tvheadend/archive/$PKG_VERSION.tar.gz"
|
PKG_URL="https://github.com/tvheadend/tvheadend/archive/$PKG_VERSION.tar.gz"
|
||||||
PKG_SOURCE_DIR="tvheadend-${PKG_VERSION}*"
|
PKG_SOURCE_DIR="tvheadend-${PKG_VERSION}*"
|
||||||
PKG_DEPENDS_TARGET="toolchain curl dvb-tools libdvbcsa libiconv libressl Python:host yasm"
|
PKG_DEPENDS_TARGET="toolchain curl dvb-tools libdvbcsa libiconv libressl pngquant:host Python:host yasm"
|
||||||
PKG_SECTION="service"
|
PKG_SECTION="service"
|
||||||
PKG_SHORTDESC="Tvheadend: a TV streaming server for Linux"
|
PKG_SHORTDESC="Tvheadend: a TV streaming server for Linux"
|
||||||
PKG_LONGDESC="Tvheadend ($PKG_VERSION_NUMBER): is a TV streaming server for Linux supporting DVB-S/S2, DVB-C, DVB-T/T2, IPTV, SAT>IP, ATSC and ISDB-T"
|
PKG_LONGDESC="Tvheadend ($PKG_VERSION_NUMBER): is a TV streaming server for Linux supporting DVB-S/S2, DVB-C, DVB-T/T2, IPTV, SAT>IP, ATSC and ISDB-T"
|
||||||
@ -56,6 +56,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
|
|||||||
--enable-hdhomerun_static \
|
--enable-hdhomerun_static \
|
||||||
--enable-epoll \
|
--enable-epoll \
|
||||||
--enable-inotify \
|
--enable-inotify \
|
||||||
|
--enable-pngquant \
|
||||||
--disable-nvenc \
|
--disable-nvenc \
|
||||||
--disable-uriparser \
|
--disable-uriparser \
|
||||||
$TVH_TRANSCODING \
|
$TVH_TRANSCODING \
|
||||||
@ -67,6 +68,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
|
|||||||
|
|
||||||
post_unpack() {
|
post_unpack() {
|
||||||
sed -e 's/VER="0.0.0~unknown"/VER="'$PKG_VERSION_NUMBER' ~ LibreELEC Tvh-addon v'$ADDON_VERSION'.'$PKG_REV'"/g' -i $PKG_BUILD/support/version
|
sed -e 's/VER="0.0.0~unknown"/VER="'$PKG_VERSION_NUMBER' ~ LibreELEC Tvh-addon v'$ADDON_VERSION'.'$PKG_REV'"/g' -i $PKG_BUILD/support/version
|
||||||
|
sed -e 's|'/usr/bin/pngquant'|'$ROOT/$TOOLCHAIN/bin/pngquant'|g' -i $PKG_BUILD/support/mkbundle
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
@ -92,6 +94,7 @@ fi
|
|||||||
|
|
||||||
post_make_target() {
|
post_make_target() {
|
||||||
$CC -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o capmt_ca.so src/extra/capmt_ca.c -ldl
|
$CC -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o capmt_ca.so src/extra/capmt_ca.c -ldl
|
||||||
|
$STRIP $ROOT/$PKG_BUILD/build.linux/tvheadend
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Subject: [PATCH] tvheadend: HACK ffmpeg 3.1.5 instead of 3.2
|
Subject: [PATCH] tvheadend: HACK ffmpeg 3.1.5 instead of 3.3
|
||||||
|
|
||||||
diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
|
diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
|
||||||
--- a/Makefile.ffmpeg
|
--- a/Makefile.ffmpeg
|
||||||
@ -7,12 +7,12 @@ diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
|
|||||||
LIBMFX_SHA1 = 84dbdf4a6b409067e863eb9564bb2efdec6d39ce
|
LIBMFX_SHA1 = 84dbdf4a6b409067e863eb9564bb2efdec6d39ce
|
||||||
LIBMFX_DIFFS = libmfx.linux.path.diff
|
LIBMFX_DIFFS = libmfx.linux.path.diff
|
||||||
|
|
||||||
-FFMPEG = ffmpeg-3.2
|
-FFMPEG = ffmpeg-3.3
|
||||||
-FFMPEG_TB = $(FFMPEG).tar.bz2
|
-FFMPEG_TB = $(FFMPEG).tar.bz2
|
||||||
+FFMPEG = ffmpeg-3.1.5
|
+FFMPEG = ffmpeg-3.1.5
|
||||||
+FFMPEG_TB = $(FFMPEG).tar.bz2
|
+FFMPEG_TB = $(FFMPEG).tar.bz2
|
||||||
FFMPEG_URL = http://ffmpeg.org/releases/$(FFMPEG_TB)
|
FFMPEG_URL = http://ffmpeg.org/releases/$(FFMPEG_TB)
|
||||||
-FFMPEG_SHA1 = aac4876d1bc4d2cd8d9833b20649c3eed984f6ef
|
-FFMPEG_SHA1 = 2590af8c754ce8d55745b1e5647e498bf271dc77
|
||||||
+FFMPEG_SHA1 = 053dfea8c9e057fdf237885decd03147cb2412b1
|
+FFMPEG_SHA1 = 053dfea8c9e057fdf237885decd03147cb2412b1
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,14 @@ then
|
|||||||
XMLTV_LOCATION_SCRIPT=`grep XMLTV_LOCATION_SCRIPT $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
XMLTV_LOCATION_SCRIPT=`grep XMLTV_LOCATION_SCRIPT $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
||||||
|
|
||||||
if [ "$XMLTV_TYPE" = "FILE" ]; then
|
if [ "$XMLTV_TYPE" = "FILE" ]; then
|
||||||
cat "$XMLTV_LOCATION_FILE"
|
case "$XMLTV_LOCATION_FILE" in
|
||||||
|
*.gz | *.bz2 | *.xz)
|
||||||
|
zcat "$XMLTV_LOCATION_FILE"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
cat "$XMLTV_LOCATION_FILE"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
exit 0
|
exit 0
|
||||||
elif [ "$XMLTV_TYPE" = "SCRIPT" ]; then
|
elif [ "$XMLTV_TYPE" = "SCRIPT" ]; then
|
||||||
if [ -e "$XMLTV_LOCATION_SCRIPT" ] ; then
|
if [ -e "$XMLTV_LOCATION_SCRIPT" ] ; then
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# This file is part of LibreELEC - https://libreelec.tv
|
# This file is part of LibreELEC - https://libreelec.tv
|
||||||
# Copyright (C) 2016-2017 Team LibreELEC
|
# Copyright (C) 2016-present Team LibreELEC
|
||||||
#
|
#
|
||||||
# LibreELEC is free software: you can redistribute it and/or modify
|
# LibreELEC is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -89,14 +89,26 @@ if [ "$WORKAROUND_SLEEP" == "true" ]; then
|
|||||||
sleep $WORKAROUND_SLEEP_TIME
|
sleep $WORKAROUND_SLEEP_TIME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# support FritzBox Sat>IP Server detection workaround
|
# support FritzBox Sat>IP Server detection workaround for AVM-Repeater and AVM-6490
|
||||||
if [ "$AVM_SATIP_SERVER" == "true" ]; then
|
if [ "$AVM_SATIP_SERVER" == "true" ]; then
|
||||||
AVM_SATIP=""
|
if [ "$AVM_DEVICE" == "AVM_Repeater" ]; then
|
||||||
for i in $(seq 1 $AVM_SATIP_SERVER_NUM); do
|
AVM_SATIP="--satip_xml http://${AVM_ROUTER_IP}:49000/satipdesc.xml"
|
||||||
ref_ip=AVM_IP_${i}
|
fi
|
||||||
eval "AVM_IP=\${$ref_ip}"
|
if [ "$AVM_DEVICE" == "AVM_6490" ]; then
|
||||||
AVM_SATIP="$AVM_SATIP --satip_xml http://${AVM_IP}:${AVM_PORT}/satipdesc.xml"
|
AVM_SATIP="--satip_xml http://${AVM_ROUTER_FAKE_IP}:49000/satipdesc.xml"
|
||||||
done
|
AVM_NUM="4"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# add virtual ip as workaround for AVM limitation of one stream per ip
|
||||||
|
# AVM-Repeater (2 tuners)
|
||||||
|
ip address add ${AVM_IP1}/24 dev $AVM_ETH
|
||||||
|
ip address add ${AVM_IP2}/24 dev $AVM_ETH
|
||||||
|
|
||||||
|
# AVM-6490 (4 tuners)
|
||||||
|
if [ "$AVM_NUM" = "4" ]; then
|
||||||
|
ip address add ${AVM_IP3}/24 dev $AVM_ETH
|
||||||
|
ip address add ${AVM_IP4}/24 dev $AVM_ETH
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# custom startup parameters
|
# custom startup parameters
|
||||||
|
@ -20,14 +20,14 @@
|
|||||||
<string id="1028">Custom start parameter</string>
|
<string id="1028">Custom start parameter</string>
|
||||||
<string id="1029">Parameter</string>
|
<string id="1029">Parameter</string>
|
||||||
<string id="1110">FRITZ!Box Sat>IP server</string>
|
<string id="1110">FRITZ!Box Sat>IP server</string>
|
||||||
<string id="1111"># of tuners</string>
|
<string id="1111">AVM device</string>
|
||||||
<string id="1112">Tuner #1 address</string>
|
<string id="1112">IP of the AVM Repeater</string>
|
||||||
<string id="1113">Tuner #2 address</string>
|
<string id="1113">Router IP range (last digits are always .254)</string>
|
||||||
<string id="1114">Tuner #3 address</string>
|
<string id="1114">Used network</string>
|
||||||
<string id="1115">Tuner #4 address</string>
|
<string id="1115">Virtual IP #1</string>
|
||||||
<string id="1116">AVM SAT>IP Port</string>
|
<string id="1116">Virtual IP #2</string>
|
||||||
<string id="1120">Port</string>
|
<string id="1117">Virtual IP #3</string>
|
||||||
<string id="1121">FRITZ!Box Sat>IP server connection</string>
|
<string id="1118">Virtual IP #4</string>
|
||||||
<string id="1030">TRACE Configuration</string>
|
<string id="1030">TRACE Configuration</string>
|
||||||
<string id="1031">Path</string>
|
<string id="1031">Path</string>
|
||||||
<string id="1032">Activate TRACE Debug</string>
|
<string id="1032">Activate TRACE Debug</string>
|
||||||
|
@ -38,11 +38,14 @@
|
|||||||
<setting label="1121" type="lsep"/>
|
<setting label="1121" type="lsep"/>
|
||||||
<setting type="sep" />
|
<setting type="sep" />
|
||||||
<setting id="AVM_SATIP_SERVER" type="bool" label="1110" default="false"/>
|
<setting id="AVM_SATIP_SERVER" type="bool" label="1110" default="false"/>
|
||||||
<setting id="AVM_SATIP_SERVER_NUM" label="1111" type="labelenum" values="0|1|2|3|4" default="1" visible="eq(-1,true)" enable="eq(-1,true)"/>
|
<setting id="AVM_DEVICE" type="labelenum" label="1111" values="AVM_Repeater|AVM_6490" visible="eq(-1,true)"/>
|
||||||
<setting id="AVM_IP_1" type="ipaddress" label="1112" default="192.168.178.254" visible="gt(-1,0)+eq(-2,true)" enable="gt(-1,0)+eq(-2,true)" />
|
<setting id="AVM_ROUTER_IP" type="ipaddress" label="1112" default="192.168.178.2" visible="eq(-2,true)+eq(-1,0)"/>
|
||||||
<setting id="AVM_IP_2" type="ipaddress" label="1113" default="192.168.178.253" visible="gt(-2,1)+eq(-3,true)" enable="gt(-2,1)+eq(-3,true)" />
|
<setting id="AVM_ROUTER_FAKE_IP" type="ipaddress" label="1113" default="192.168.178.254" visible="eq(-3,true)+eq(-2,1)"/>
|
||||||
<setting id="AVM_IP_3" type="ipaddress" label="1114" default="192.168.178.252" visible="gt(-3,2)+eq(-4,true)" enable="gt(-3,2)+eq(-4,true)" />
|
<setting id="AVM_ETH" type="labelenum" label="1114" visible="eq(-4,true)" values="eth0|wlan0|eth1|wlan1" />
|
||||||
<setting id="AVM_IP_4" type="ipaddress" label="1115" default="192.168.178.251" visible="gt(-4,3)+eq(-5,true)" enable="gt(-4,3)+eq(-5,true)" />
|
<setting type="sep" visible="eq(-5,true)"/>
|
||||||
<setting id="AVM_PORT" type="number" label="1120" default="49000" visible="gt(-5,0)+eq(-6,true)" enable="gt(-5,0)+eq(-6,true)" />
|
<setting id="AVM_IP1" type="ipaddress" label="1115" default="192.168.178.201" visible="eq(-6,true)"/>
|
||||||
|
<setting id="AVM_IP2" type="ipaddress" label="1116" default="192.168.178.202" visible="eq(-7,true)"/>
|
||||||
|
<setting id="AVM_IP3" type="ipaddress" label="1117" default="192.168.178.203" visible="eq(-8,true)+eq(-7,1)"/>
|
||||||
|
<setting id="AVM_IP4" type="ipaddress" label="1118" default="192.168.178.204" visible="eq(-9,true)+eq(-8,1)"/>
|
||||||
</category>
|
</category>
|
||||||
</settings>
|
</settings>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user