[oe] [meta-multimedia][PATCH] Add a working tvheadend recipe

Khem Raj raj.khem at gmail.com
Sun Nov 18 18:35:08 UTC 2018


On Sun, Nov 18, 2018 at 9:05 AM Peter Bašista <pbasista at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>  .../recipes-dvb/tvheadend/tvheadend_git.bb    | 37 +++++++++++++++++++
>  1 file changed, 37 insertions(+)
>  create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
>
> 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..2a76d5d34
> --- /dev/null
> +++ b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
> @@ -0,0 +1,37 @@
> +SUMMARY = "Tvheadend: TV streaming server and recorder"
> +HOMEPAGE = "https://tvheadend.org/"
> +
> +DEPENDS = "avahi cmake-native gettext-native libpcre2 libdvbcsa openssl zlib python-native"

perhaps inheriting cmake, gettext and pythonnative classes is
appropriate here instead of adding
them to depends

> +
> +LICENSE = "GPLv3+"
> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9cae5acac2e9ee2fc3aec01ac88ce5db"
> +
> +SRC_URI = "git://github.com/tvheadend/tvheadend.git"
> +

missing SRCREV, we need a locked down SHA

> +inherit gitpkgv
> +SRCREV = "${AUTOREV}"
> +PV = "4.3+git${SRCPV}"
> +PKGV = "4.3+git${GITPKGV}"
> +
> +S = "${WORKDIR}/git"
> +
> +PACKAGECONFIG ?= ""
> +PACKAGECONFIG[uriparser] = "--enable-uriparser,--disable-uriparser,uriparser"
> +
> +do_configure() {
> +    ./configure ${PACKAGECONFIG_CONFARGS} \
> +                --prefix=${prefix} \
> +                --libdir=${libdir} \
> +                --bindir=${bindir} \
> +                --datadir=${datadir} \
> +                --arch=${TARGET_ARCH} \
> +                --disable-libav \
> +                --disable-ffmpeg_static \
> +                --disable-hdhomerun_static
> +}
> +
> +do_install() {
> +    oe_runmake install DESTDIR=${D}
> +}
> +
> +FILES_${PN} += "${datadir}/${BPN}"
> --
> 2.19.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list