Skip to contentSkip to conversation

Add a working Tvheadend recipe

PATCH In review Peter Bašista 3 participants 4 messages Nov 23, 2018 – Nov 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v4 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.

---
 .../recipes-dvb/tvheadend/tvheadend_git.bb    | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +23 -0
new file mode 100644
index 000000000..95cf10bf6
@@ -0,0 +1,23 @@
+SUMMARY = "Tvheadend: TV streaming server and recorder"
+HOMEPAGE = "https://tvheadend.org/"
+
+inherit autotools-brokensep 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"
+
+SRCREV = "bdc2ae9e19520a10cdf0bec0fcc0050b32bc75ff"
+PV = "4.3+git${SRCPV}"
+PKGV = "4.3+git${GITPKGV}"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF += "--arch=${TARGET_ARCH} \
+                 --disable-hdhomerun_static \
+                 --disable-ffmpeg_static \
+                 --disable-libav \
+                 "
Signature · 1 line
2.19.1
#1 lore raw

What is supposed to provide libdvbcsa? It's not in any public layers registered here:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=libdvbcsa

Latest world build shows the same issue:

ERROR: Nothing PROVIDES 'libdvbcsa' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/ tvheadend_git.bb
DEPENDS on or otherwise requires it). Close matches:

Quoted 50 lines · Peter Bašista

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

---
 .../recipes-dvb/tvheadend/tvheadend_git.bb    | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +9 -0
new file mode 100644
index 000000000..95cf10bf6
@@ -0,0 +1,23 @@
+SUMMARY = "Tvheadend: TV streaming server and recorder"
+HOMEPAGE = "https://tvheadend.org/"
+
+inherit autotools-brokensep gettext gitpkgv pkgconfig
+
+DEPENDS = "avahi cmake-native libdvbcsa libpcre2 openssl uriparser zlib"
+
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM =

"file://LICENSE.md;md5=9cae5acac2e9ee2fc3aec01ac88ce5db"

meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +14 -1
+
+SRC_URI = "git://github.com/tvheadend/tvheadend.git"
+
+SRCREV = "bdc2ae9e19520a10cdf0bec0fcc0050b32bc75ff"
+PV = "4.3+git${SRCPV}"
+PKGV = "4.3+git${GITPKGV}"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF += "--arch=${TARGET_ARCH} \
+                 --disable-hdhomerun_static \
+                 --disable-ffmpeg_static \
+                 --disable-libav \
+                 "
--

2.19.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 3 lines · Martin Jansa

What is supposed to provide libdvbcsa? It's not in any public layers registered here:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=libdvbcsa

I am not familiar with this list, so I am not quite sure why it does not appear there.

I am using the oe-alliance build environment:
https://github.com/oe-alliance/build-enviroment

which uses among others also this repository of recipes:
https://github.com/oe-alliance/oe-alliance-core

It contains libdvbcsa:
https://github.com/oe-alliance/oe-alliance-core/blob/4.2/meta-oe/recipes-multimedia/libdvbcsa/libdvbcsa.bb

I thought that the following two "meta-oe" directories:
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe?h=master
https://github.com/oe-alliance/oe-alliance-core/tree/4.2/meta-oe

are supposed to contain the same recipes. But it turns out they are different.

Only the first one appears in the list you have mentioned while the libdvbcsa recipe only appears in the second one. I do not know how such a situation is supposed to be handled properly.

Regards
Peter Bašista

#3 lore raw
In reply to Martin Jansa

Thanks Martin, I missed it. I have now send a patch to add the recipe for missing package.

Quoted 69 lines · Martin Jansa

What is supposed to provide libdvbcsa? It's not in any public layers registered here:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=libdvbcsa

Latest world build shows the same issue:

ERROR: Nothing PROVIDES 'libdvbcsa' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/ tvheadend_git.bb
DEPENDS on or otherwise requires it). Close matches:

Quoted 44 lines · Peter Bašista

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

---
 .../recipes-dvb/tvheadend/tvheadend_git.bb    | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +9 -0
new file mode 100644
index 000000000..95cf10bf6
@@ -0,0 +1,23 @@
+SUMMARY = "Tvheadend: TV streaming server and recorder"
+HOMEPAGE = "https://tvheadend.org/"
+
+inherit autotools-brokensep gettext gitpkgv pkgconfig
+
+DEPENDS = "avahi cmake-native libdvbcsa libpcre2 openssl uriparser zlib"
+
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM =

"file://LICENSE.md;md5=9cae5acac2e9ee2fc3aec01ac88ce5db"

meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +14 -1
+
+SRC_URI = "git://github.com/tvheadend/tvheadend.git"
+
+SRCREV = "bdc2ae9e19520a10cdf0bec0fcc0050b32bc75ff"
+PV = "4.3+git${SRCPV}"
+PKGV = "4.3+git${GITPKGV}"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF += "--arch=${TARGET_ARCH} \
+                 --disable-hdhomerun_static \
+                 --disable-ffmpeg_static \
+                 --disable-libav \
+                 "
--

2.19.1

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel