Add a working Tvheadend recipe
PATCH v2 1/1 Add a working Tvheadend recipe
The original one was previously removed
by commit ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3 as part of a clean-up of blacklisted recipes.
Signed-off-by Peter Bašista <[email protected]>
--- .../tvheadend/tvheadend/0-test.patch | 13 +++++++ .../recipes-dvb/tvheadend/tvheadend_git.bb | 34 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend/0-test.patch create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
meta-multimedia/recipes-dvb/tvheadend/tvheadend/0-test.patch new file +13 -0
@@ -0,0 +1,13 @@ +diff --git a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +index 82021020f..9b8d8edcf 100644 +--- a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c ++++ b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +@@ -1268,6 +1268,8 @@ linuxdvb_frontend_open_pid0 + return; + } + ++ ioctl(fd, _IOW('o', 49, int), &lfe->lfe_number); ++ + /* Install filter */ + tvhtrace(LS_LINUXDVB, "%s - open PID %04X (%d) fd %d", name, pid, pid, fd); + memset(&dmx_param, 0, sizeof(dmx_param));
meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +34 -0
@@ -0,0 +1,34 @@ +SUMMARY = "Tvheadend: TV streaming server and recorder" +HOMEPAGE = "https://tvheadend.org/" + +inherit gettext gitpkgv pkgconfig + +DEPENDS = "avahi cmake-native libdvbcsa libpcre2 openssl uriparser zlib" + +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9cae5acac2e9ee2fc3aec01ac88ce5db" + +SRC_URI = "git://github.com/tvheadend/tvheadend.git \ + file://0-test.patch \ + " + +SRCREV = "ccd64e698a38adb7f712a841bc3dc4480bb97dfb" +PV = "4.3+git${SRCPV}" +PKGV = "4.3+git${GITPKGV}" + +S = "${WORKDIR}/git" + +EXTRA_OECONF += "${PACKAGECONFIG_CONFARGS} \ + --prefix=${prefix} \ + --libdir=${libdir} \ + --bindir=${bindir} \ + --datadir=${datadir} \ + --arch=${TARGET_ARCH} \ + --disable-hdhomerun_static \ + --disable-ffmpeg_static \ + --disable-libav \ + " + +do_configure() { + ${S}/configure ${EXTRA_OECONF} +}
Signature · 1 line
2.19.1
Please ignore, testing content present.