diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-05 22:28:33 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-05 22:31:28 +0300 |
commit | 193236933b0f4ab91b1625b64e2187e2db4e0e8f (patch) | |
tree | e12769d7c76d8b0517d6de3d3c72189753d253ed /meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb | |
parent | bd93df9478f2f56ffcbc8cb88f1709c735dcd85b (diff) | |
download | openbmc-193236933b0f4ab91b1625b64e2187e2db4e0e8f.tar.xz |
reset upstream subtrees to HEAD
Reset the following subtrees on HEAD:
poky: 8217b477a1(master)
meta-xilinx: 64aa3d35ae(master)
meta-openembedded: 0435c9e193(master)
meta-raspberrypi: 490a4441ac(master)
meta-security: cb6d1c85ee(master)
Squashed patches:
meta-phosphor: drop systemd 239 patches
meta-phosphor: mrw-api: use correct install path
Change-Id: I268e2646d9174ad305630c6bbd3fbc1a6105f43d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb')
-rw-r--r-- | meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb b/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb new file mode 100644 index 000000000..ff9eabbb5 --- /dev/null +++ b/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb @@ -0,0 +1,107 @@ +SUMMARY = "Linux DVB API applications and utilities" +HOMEPAGE = "http://www.linuxtv.org" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +SRCREV = "3d43b280298c39a67d1d889e01e173f52c12da35" + +SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http \ + file://dvb-fe-xc5000c-4.1.30.7.fw \ + file://dvb-scan-table \ + file://0001-Fix-generate-keynames.patch \ + file://0002-Fix-compiler-warning-flags.patch \ + file://0003-handle-static-shared-only-build.patch \ + file://0004-Makefile-remove-test.patch \ + file://0005-libucsi-optimization-removal.patch \ + file://0006-CA_SET_PID.patch \ + " + +S = "${WORKDIR}/${BPN}" + +inherit perlnative + +export enable_static="no" + +do_configure() { + sed -i -e s:/usr/include:${STAGING_INCDIR}:g util/av7110_loadkeys/generate-keynames.sh +} +do_install() { + make DESTDIR=${D} install + install -d ${D}/${bindir} + install -d ${D}/${docdir}/dvb-apps + install -d ${D}/${docdir}/dvb-apps/scan + install -d ${D}/${docdir}/dvb-apps/szap + chmod a+rx ${D}/${libdir}/*.so* + if [ "${DVB_WINTV_TUNER}" = "true" ]; then + install -d ${D}/lib/firmware + install -m 0644 ${WORKDIR}/*.fw ${D}/lib/firmware/ + fi + cp -R --no-dereference --preserve=mode,links ${S}/util/szap/channels-conf* ${D}/${docdir}/dvb-apps/szap/ + cp -R --no-dereference --preserve=mode,links ${S}/util/szap/README ${D}/${docdir}/dvb-apps/szap/ + cp -R --no-dereference --preserve=mode,links ${WORKDIR}/dvb-scan-table/* ${D}/usr/share/dvb +} + +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" +PACKAGES =+ "libdvbapi libdvbcfg libdvben50221 \ + libesg libucsi libdvbsec" + +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" + +RCONFLICTS_dvb-evtest = "evtest" + +FILES_${PN} = "${bindir} ${datadir}/dvb lib/firmware" +FILES_${PN}-doc = "" +FILES_${PN}-dev = "${includedir}" +FILES_dvb-evtest = "${bindir}/evtest" +FILES_dvb-evtest-dbg = "${bindir}/.debug/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 = "${docdir}/dvb-apps/scan" +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" + +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) +} + +INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN}-dev = "ldflags" + +DVB_WINTV_TUNER = "true" +TARGET_CC_ARCH += "${LDFLAGS}" |