[oe-commits] [meta-openembedded] 27/60: dvb-apps: fix recipe, and update to the latest version
git at git.openembedded.org
git at git.openembedded.org
Mon Oct 24 16:05:17 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 7221f6a56af7c991a11ae3a7728aef93b113227a
Author: Herve Jourdain <herve.jourdain at neuf.fr>
AuthorDate: Tue Oct 18 16:54:07 2016 +0800
dvb-apps: fix recipe, and update to the latest version
Fixed error "GNU_HASH not present"
Fixed dvb-scan-data package
Fixed the VERSION_FILE (used to check the dvb api version) to the one used for the target
(by default, it uses the one on the host)
Updated to the "latest" version (2014/03/22)
The latest version suppressed the original scan tables (not maintained anymore), so fetch and install the latest ones (using dvb api v3 format)(introduces a dependency on v4l-utils-native)
Signed-off-by: Herve Jourdain <herve.jourdain at neuf.fr>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb | 26 ++++++++++++++++++----
1 file changed, 22 insertions(+), 4 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
index d9ee439..0b4b72d 100644
--- 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
@@ -4,20 +4,38 @@ SUMMARY = "Linux DVB API applications and utilities"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http"
-SRCREV = "3fc7dfa68484"
+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/scan
install -d ${D}/${docdir}/dvb-apps/szap
chmod a+rx ${D}/${libdir}/*.so*
@@ -89,7 +107,7 @@ 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-scan-data = "${datadir}/dvb"
FILES_dvb-azap = "${bindir}/azap"
FILES_dvb-azap-dbg = "${bindir}/.debug/azap"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list