All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Peter Bašista" <pbasista@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: "Peter Bašista" <pbasista@gmail.com>
Subject: [meta-multimedia][PATCH v2] Add a working Tvheadend recipe
Date: Fri, 23 Nov 2018 02:48:53 +0100	[thread overview]
Message-ID: <20181123014853.26229-1-pbasista@gmail.com> (raw)

The original one was previously removed
by commit ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3
as part of a clean-up of blacklisted recipes.

Signed-off-by: Peter Bašista <pbasista@gmail.com>
---
 .../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

diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0-test.patch b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0-test.patch
new file mode 100644
index 000000000..01e9c2e47
--- /dev/null
+++ b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0-test.patch
@@ -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));
diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
new file mode 100644
index 000000000..89e131200
--- /dev/null
+++ b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
@@ -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}
+}
-- 
2.19.1



             reply	other threads:[~2018-11-23  1:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-23  1:48 Peter Bašista [this message]
2018-11-23  1:50 ` [meta-multimedia][PATCH v2] Add a working Tvheadend recipe Peter Bašista

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181123014853.26229-1-pbasista@gmail.com \
    --to=pbasista@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.