diff options
Diffstat (limited to 'meta-multimedia/recipes-dvb')
7 files changed, 0 insertions, 359 deletions
diff --git a/meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb b/meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb deleted file mode 100644 index 4a7ed9a6e9e..00000000000 --- a/meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb +++ /dev/null @@ -1,136 +0,0 @@ -HOMEPAGE = "http://www.linuxtv.org" -SUMMARY = "Linux DVB API applications and utilities" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -DEPENDS = "v4l-utils-native" - -SRC_URI = " \ - hg://linuxtv.org/hg;module=dvb-apps;protocol=http;name=apps \ - git://linuxtv.org/git/dtv-scan-tables.git;protocol=http;destsuffix=dvb-apps/initial-scan-tables;name=scantables \ - " -SRCREV_apps = "3d43b280298c" -SRCREV_scantables = "ceb11833b35f05813b1f0397a60e0f3b99430aab" -SRCREV_FORMAT = "apps_scantables" - -S = "${WORKDIR}/${BPN}" - -TARGET_CC_ARCH += "${LDFLAGS}" -EXTRA_OEMAKE = "VERSION_FILE='${STAGING_INCDIR}/linux/dvb/version.h'" - -do_configure() { - sed -i -e s:/usr/include:${STAGING_INCDIR}:g util/av7110_loadkeys/generate-keynames.sh -} - -do_compile_append() { -# dvb-apps only support DVBAPI v3, so generate them from the DVBAPI v5 downloaded files - make -C initial-scan-tables clean - make -C initial-scan-tables dvbv3 -} - -do_install() { - make DESTDIR=${D} install -# dvb-apps only support DVBAPI v3, so only install the generated DVBAPI v3 files - make -C initial-scan-tables DATADIR=${D}/${datadir} DVBV3DIR=dvb install_v3 - - install -d ${D}/${bindir} - install -d ${D}/${docdir}/dvb-apps - install -d ${D}/${docdir}/dvb-apps/szap - chmod a+rx ${D}/${libdir}/*.so* - - # Install tests - install -m 0755 ${S}/test/setvoltage ${D}${bindir}/test_setvoltage - install -m 0755 ${S}/test/set22k ${D}${bindir}/test_set22k - install -m 0755 ${S}/test/sendburst ${D}${bindir}/test_sendburst - install -m 0755 ${S}/test/diseqc ${D}${bindir}/test_diseqc - install -m 0755 ${S}/test/test_sections ${D}${bindir}/ - install -m 0755 ${S}/test/test_av_play ${D}${bindir}/ - install -m 0755 ${S}/test/test_stillimage ${D}${bindir}/ - install -m 0755 ${S}/test/test_dvr_play ${D}${bindir}/ - install -m 0755 ${S}/test/test_tt ${D}${bindir}/ - install -m 0755 ${S}/test/test_sec_ne ${D}${bindir}/ - install -m 0755 ${S}/test/test_stc ${D}${bindir}/ - install -m 0755 ${S}/test/test_av ${D}${bindir}/ - install -m 0755 ${S}/test/test_vevent ${D}${bindir}/ - install -m 0755 ${S}/test/test_pes ${D}${bindir}/ - install -m 0755 ${S}/test/test_dvr ${D}${bindir}/ - - cp -pPR ${S}/util/szap/channels-conf* ${D}/${docdir}/dvb-apps/szap/ - cp -pPR ${S}/util/szap/README ${D}/${docdir}/dvb-apps/szap/ -} - -python populate_packages_prepend () { - dvb_libdir = bb.data.expand('${libdir}', d) - do_split_packages(d, dvb_libdir, '^lib(.*)\.so$', 'lib%s', 'DVB %s package', extra_depends='', allow_links=True) - do_split_packages(d, dvb_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'DVB %s development package', extra_depends='${PN}-dev') - do_split_packages(d, dvb_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'DVB %s development package', extra_depends='${PN}-dev') - do_split_packages(d, dvb_libdir, '^lib(.*)\.so\.*', 'lib%s', 'DVB %s library', extra_depends='', allow_links=True) -} - -PACKAGES =+ "dvb-evtest dvb-evtest-dbg \ - dvbapp-tests dvbapp-tests-dbg \ - dvbdate dvbdate-dbg \ - dvbtraffic dvbtraffic-dbg \ - dvbnet dvbnet-dbg \ - dvb-scan dvb-scan-dbg dvb-scan-data \ - dvb-azap dvb-azap-dbg \ - dvb-czap dvb-czap-dbg \ - dvb-szap dvb-szap-dbg \ - dvb-tzap dvb-tzap-dbg \ - dvb-femon dvb-femon-dbg \ - dvb-zap-data" - -# Expose the packages from the above spitting -PACKAGES =+ "libdvbapi libdvbcfg libdvben50221 \ - libesg libucsi libdvbsec" - -FILES_${PN} = "${bindir} ${datadir}/dvb" -FILES_${PN}-doc = "" -FILES_${PN}-dev = "${includedir}" - -FILES_dvb-evtest = "${bindir}/evtest" -FILES_dvb-evtest-dbg = "${bindir}/.debug/evtest" -RCONFLICTS_dvb-evtest = "evtest" - -FILES_dvbapp-tests = "${bindir}/*test* " -FILES_dvbapp-tests-dbg = "${bindir}/.debug/*test*" - -FILES_dvbdate = "${bindir}/dvbdate" -FILES_dvbdate-dbg = "${bindir}/.debug/dvbdate" - -FILES_dvbtraffic = "${bindir}/dvbtraffic" -FILES_dvbtraffic-dbg = "${bindir}/.debug/dvbtraffic" - -FILES_dvbnet = "${bindir}/dvbnet" -FILES_dvbnet-dbg = "${bindir}/.debug/dvbnet" - -FILES_dvb-scan = "${bindir}/*scan " -FILES_dvb-scan-dbg = "${bindir}/.debug/*scan" -FILES_dvb-scan-data = "${datadir}/dvb" - -FILES_dvb-azap = "${bindir}/azap" -FILES_dvb-azap-dbg = "${bindir}/.debug/azap" - -FILES_dvb-czap = "${bindir}/czap" -FILES_dvb-czap-dbg = "${bindir}/.debug/czap" - -FILES_dvb-szap = "${bindir}/szap" -FILES_dvb-szap-dbg = "${bindir}/.debug/szap" - -FILES_dvb-tzap = "${bindir}/tzap" -FILES_dvb-tzap-dbg = "${bindir}/.debug/tzap" - -FILES_dvb-femon = "${bindir}/femon" -FILES_dvb-femon-dbg = "${bindir}/.debug/femon" - -FILES_dvb-zap-data = "${docdir}/dvb-apps/szap" - -RDEPENDS_dvbdate =+ "libdvbapi libucsi" -RDEPENDS_dvbtraffic =+ "libdvbapi" -RDEPENDS_dvb-scan =+ "libdvbapi libdvbcfg libdvbsec" -RDEPENDS_dvb-apps =+ "libdvbapi libdvbcfg libdvbsec libdvben50221 libucsi" -RDEPENDS_dvb-femon =+ "libdvbapi" -RDEPENDS_dvbnet =+ "libdvbapi" - -PNBLACKLIST[dvb-apps] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130603/ - the recipe will be removed on 2017-09-01 unless the issue is fixed" diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Fix-checks-for-sse2-mmx.patch b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Fix-checks-for-sse2-mmx.patch deleted file mode 100644 index 3283a5b6ad2..00000000000 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Fix-checks-for-sse2-mmx.patch +++ /dev/null @@ -1,40 +0,0 @@ -From f0dab6d6fe4b0aae4394eee93be86e9747c6ed5c Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Tue, 22 Nov 2016 05:07:38 +0000 -Subject: [PATCH] Fix checks for sse2/mmx - -Just checking for cmdline options is not enough -its better to check for builtin defines to be -sure, clang does not error out on sse2 options on -arm e.g. and it ends up doing SSE2 stuff for arm -which is not desired - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - configure | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 47d2cf2..4be000c 100755 ---- a/configure -+++ b/configure -@@ -118,8 +118,14 @@ fi - # Valiate compiler - check_cc || die 'No C compiler found' - check_cc_header execinfo --check_cc_option mmx --check_cc_option sse2 -+check_cc_snippet mmx '#ifndef __MMX__ -+error "MMX not supported" -+#endif -+' -+check_cc_snippet sse2 '#ifndef __SSE2__ -+error "SSE2 not supported" -+#endif -+' - - if check_cc ' - #if !defined(__clang__) --- -1.9.1 - diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Makefile-Ignore-warning-about-wrong-includes.patch b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Makefile-Ignore-warning-about-wrong-includes.patch deleted file mode 100644 index 248a5e6a8ac..00000000000 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Makefile-Ignore-warning-about-wrong-includes.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 7d672305c7ad2f716dfe1c487b525a1a92954d4a Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Tue, 22 Nov 2016 06:22:36 +0000 -Subject: [PATCH] Makefile: Ignore warning about wrong includes - -It happens on musl especially -usr/include/sys/poll.h:1:2: error: redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings] -| #warning redirecting incorrect #include <sys/poll.h> to <poll.h> -| ^ -| In file included from src/avahi.c:48: - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile b/Makefile -index f41ef1a..cc7b249 100644 ---- a/Makefile -+++ b/Makefile -@@ -54,6 +54,7 @@ CFLAGS += -Wno-microsoft -Qunused-arguments -Wno-unused-function - CFLAGS += -Wno-unused-value -Wno-tautological-constant-out-of-range-compare - CFLAGS += -Wno-parentheses-equality -Wno-incompatible-pointer-types - CFLAGS += -Wno-error=varargs -+CFLAGS += -Wno-error=\#warnings - endif - - ifeq ($(CONFIG_LIBFFMPEG_STATIC),yes) --- -1.8.3.1 - diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-disable-varargs-warning-on-clang.patch b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-disable-varargs-warning-on-clang.patch deleted file mode 100644 index a4c4c4d0fd6..00000000000 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-disable-varargs-warning-on-clang.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 906d95695af95970bf551ea55b6c3e70332c6b97 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Tue, 22 Nov 2016 05:22:32 +0000 -Subject: [PATCH] disable varargs warning on clang - -The issue is that 'len' is an unsigned char and we violate the promotion rules -for passing the value to va_start. - -passing an object that undergoes defau -lt argument promotion to 'va_start' has undefined behavior [-Wvarargs] -| va_start(ap, len); - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile b/Makefile -index 8c5e380..f41ef1a 100644 ---- a/Makefile -+++ b/Makefile -@@ -53,6 +53,7 @@ ifeq ($(COMPILER), clang) - CFLAGS += -Wno-microsoft -Qunused-arguments -Wno-unused-function - CFLAGS += -Wno-unused-value -Wno-tautological-constant-out-of-range-compare - CFLAGS += -Wno-parentheses-equality -Wno-incompatible-pointer-types -+CFLAGS += -Wno-error=varargs - endif - - ifeq ($(CONFIG_LIBFFMPEG_STATIC),yes) --- -1.9.1 - diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-dvr-Use-labs-instead-of-abs.patch b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-dvr-Use-labs-instead-of-abs.patch deleted file mode 100644 index ea34cdb62c3..00000000000 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-dvr-Use-labs-instead-of-abs.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a715671eadcbf989fdaf05f62e71b93ac1749615 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Tue, 22 Nov 2016 06:08:31 +0000 -Subject: [PATCH] dvr: Use labs() instead of abs() - -Makes clang happy - -dvr/dvr_db.c:853:10: error: absolute value function -'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] -if ((abs(de->de_start - e->start) < 600) && (abs(de->de_stop - e->stop) < 600)) { - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - src/dvr/dvr_db.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c -index 165caa6..5656569 100644 ---- a/src/dvr/dvr_db.c -+++ b/src/dvr/dvr_db.c -@@ -414,11 +414,11 @@ dvr_entry_fuzzy_match(dvr_entry_t *de, epg_broadcast_t *e) - /* Wrong length (+/-20%) */ - t1 = de->de_stop - de->de_start; - t2 = e->stop - e->start; -- if ( abs(t2 - t1) > (t1 / 5) ) -+ if ( labs(t2 - t1) > (t1 / 5) ) - return 0; - - /* Outside of window */ -- if (abs(e->start - de->de_start) > de->de_config->dvr_update_window) -+ if (labs(e->start - de->de_start) > de->de_config->dvr_update_window) - return 0; - - /* Title match (or contains?) */ --- -1.9.1 - diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-hdhomerun-Override-forced-overrdiing-og-CC-STRIP-and.patch b/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-hdhomerun-Override-forced-overrdiing-og-CC-STRIP-and.patch deleted file mode 100644 index 484e723d97a..00000000000 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-hdhomerun-Override-forced-overrdiing-og-CC-STRIP-and.patch +++ /dev/null @@ -1,40 +0,0 @@ -From c3767e189e90965407937b6178adbbd8cdafe31d Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Tue, 22 Nov 2016 05:59:10 +0000 -Subject: [PATCH] hdhomerun: Override forced overrdiing og CC/STRIP and CFLAGS - -This is required for cross compiling otherwise it ends up -using build host gcc - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - Makefile.hdhomerun | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/Makefile.hdhomerun b/Makefile.hdhomerun -index 943ffec..8bd14ff 100644 ---- a/Makefile.hdhomerun -+++ b/Makefile.hdhomerun -@@ -18,8 +18,8 @@ - - include $(dir $(lastword $(MAKEFILE_LIST))).config.mk - --unexport CFLAGS --unexport LDFLAGS -+#unexport CFLAGS -+#unexport LDFLAGS - - define DOWNLOAD - @mkdir -p $(LIBHDHRDIR)/build -@@ -75,6 +75,8 @@ $(LIBHDHRDIR)/$(LIBHDHR)/.tvh_download: - $(call DOWNLOAD,$(LIBHDHR_URL),$(LIBHDHRDIR)/$(LIBHDHR_TB),$(LIBHDHR_SHA1)) - $(call UNTAR,$(LIBHDHR_TB),z) - ln -sf libhdhomerun $(LIBHDHRDIR)/$(LIBHDHR) -+ @sed -i -e "s/CC.*:=/CC ?=/" $(LIBHDHRDIR)/$(LIBHDHR)/Makefile -+ @sed -i -e "s/STRIP.*:=/STRIP ?=/" $(LIBHDHRDIR)/$(LIBHDHR)/Makefile - @touch $@ - - $(LIBHDHRDIR)/$(LIBHDHR)/.tvh_build: \ --- -1.9.1 - diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb deleted file mode 100644 index 3b73549d2d9..00000000000 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb +++ /dev/null @@ -1,43 +0,0 @@ -SUMMARY = "Tvheadend TV streaming server" -HOMEPAGE = "https://www.lonelycoder.com/redmine/projects/tvheadend" - -DEPENDS = "avahi zlib openssl python-native dvb-apps" - -LICENSE = "GPLv3+" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9cae5acac2e9ee2fc3aec01ac88ce5db" - -SRC_URI = "git://github.com/tvheadend/tvheadend.git;branch=release/4.0 \ - file://0001-Fix-checks-for-sse2-mmx.patch \ - file://0001-disable-varargs-warning-on-clang.patch \ - file://0001-hdhomerun-Override-forced-overrdiing-og-CC-STRIP-and.patch \ - file://0001-dvr-Use-labs-instead-of-abs.patch \ - file://0001-Makefile-Ignore-warning-about-wrong-includes.patch \ -" -SRCREV = "64fec8120158de585e18be705055259484518d94" -PV = "4.0.9+git${SRCREV}" - -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-dvbscan \ - --disable-bundle -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - -FILES_${PN} += "${datadir}/${BPN}" - -RDEPENDS_${PN} += "libdvben50221 libucsi libdvbapi" - -PNBLACKLIST[tvheadend] ?= "Depends on blacklisted dvb-apps - the recipe will be removed on 2017-09-01 unless the issue is fixed" |