From: Josef Schlehofer Date: Wed, 27 Oct 2021 06:48:42 +0000 (+0200) Subject: tvheadend: update libhdhomerun X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb4433c4baa15f388e7c76e14c3176f1e96712bc;p=feed%2Fpackages.git tvheadend: update libhdhomerun Recently, silicondust (developers of hdhomerun) did some cleanup and removed old versions for hdhomerun library. ``` WGET http://download.silicondust.com/hdhomerun/libhdhomerun_20150826.tgz http://download.silicondust.com/hdhomerun/libhdhomerun_20150826.tgz: 2021-10-26 05:15:14 ERROR 404: Not Found. ``` And because of that, it is not possible to compile tvheadend, it ends with following error: ``` In file included from src/input/mpegts/tvhdhomerun/tvhdhomerun.c:25:0: src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h:27:10: fatal error: libhdhomerun/hdhomerun.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ``` Let's fix it by updating libdhdhomerun to newer version. Signed-off-by: Josef Schlehofer --- diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile index 9108b92963..e75e90cf04 100644 --- a/multimedia/tvheadend/Makefile +++ b/multimedia/tvheadend/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tvheadend PKG_VERSION:=4.0.10 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tvheadend/tvheadend/tar.gz/v$(PKG_VERSION)? diff --git a/multimedia/tvheadend/patches/100-libhdhomerun-upgrade-to-20180817.patch b/multimedia/tvheadend/patches/100-libhdhomerun-upgrade-to-20180817.patch new file mode 100644 index 0000000000..e95b84a672 --- /dev/null +++ b/multimedia/tvheadend/patches/100-libhdhomerun-upgrade-to-20180817.patch @@ -0,0 +1,35 @@ +From fa245accd43adfbafbd60aea74fb1fc87b551b1a Mon Sep 17 00:00:00 2001 +From: Josef Schlehofer +Date: Wed, 27 Oct 2021 13:46:14 +0200 +Subject: [PATCH] libhdhomerun: upgrade to 20180817 + +This version of libhdhomerun was tested in tvheadend master and works +with version 4.2 (there was submitted PR by me, but still not accepted) + +I dont have any plans to submit this against ancient version of +tvheadend (4.0), feel free to send this to upstream. +--- + Makefile.hdhomerun | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile.hdhomerun b/Makefile.hdhomerun +index 943ffec24..c5d9dd41f 100644 +--- a/Makefile.hdhomerun ++++ b/Makefile.hdhomerun +@@ -49,10 +49,10 @@ LIBHDHRDIR = $(ROOTDIR)/libhdhomerun_static + + export PATH := $(LIBHDHRDIR)/build/bin:$(PATH) + +-LIBHDHR = libhdhomerun_20150826 ++LIBHDHR = libhdhomerun_20180817 + LIBHDHR_TB = $(LIBHDHR).tgz +-LIBHDHR_URL = http://download.silicondust.com/hdhomerun/$(LIBHDHR_TB) +-LIBHDHR_SHA1 = 24ce6003b1e815ec4c642d180b621c1d524ca1cf ++LIBHDHR_URL = https://download.silicondust.com/hdhomerun/$(LIBHDHR_TB) ++LIBHDHR_SHA1 = 052868bde3a5713c55b4d060b77e0bc3a0d891d6 + + .PHONY: build + build: $(LIBHDHRDIR)/$(LIBHDHR)/.tvh_build +-- +2.30.2 +