summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb106
1 files changed, 106 insertions, 0 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
new file mode 100644
index 000000000..c39acacb6
--- /dev/null
+++ b/meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb
@@ -0,0 +1,106 @@
1HOMEPAGE = "http://www.linuxtv.org"
2SUMMARY = "Linux DVB API applications and utilities."
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6
7SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http"
8SRCREV = "3fc7dfa68484"
9
10S = "${WORKDIR}/${BPN}"
11
12do_configure() {
13 sed -i -e s:/usr/include:${STAGING_INCDIR}:g util/av7110_loadkeys/generate-keynames.sh
14}
15
16do_install() {
17 make DESTDIR=${D} install
18 install -d ${D}/${bindir}
19 install -d ${D}/${docdir}/dvb-apps
20 install -d ${D}/${docdir}/dvb-apps/scan
21 install -d ${D}/${docdir}/dvb-apps/szap
22 chmod a+rx ${D}/${libdir}/*.so*
23
24 # Install tests
25 install -m 0755 ${S}/test/setvoltage ${D}${bindir}/test_setvoltage
26 install -m 0755 ${S}/test/set22k ${D}${bindir}/test_set22k
27 install -m 0755 ${S}/test/sendburst ${D}${bindir}/test_sendburst
28 install -m 0755 ${S}/test/diseqc ${D}${bindir}/test_diseqc
29 install -m 0755 ${S}/test/test_sections ${D}${bindir}/
30 install -m 0755 ${S}/test/test_av_play ${D}${bindir}/
31 install -m 0755 ${S}/test/test_stillimage ${D}${bindir}/
32 install -m 0755 ${S}/test/test_dvr_play ${D}${bindir}/
33 install -m 0755 ${S}/test/test_tt ${D}${bindir}/
34 install -m 0755 ${S}/test/test_sec_ne ${D}${bindir}/
35 install -m 0755 ${S}/test/test_stc ${D}${bindir}/
36 install -m 0755 ${S}/test/test_av ${D}${bindir}/
37 install -m 0755 ${S}/test/test_vevent ${D}${bindir}/
38 install -m 0755 ${S}/test/test_pes ${D}${bindir}/
39 install -m 0755 ${S}/test/test_dvr ${D}${bindir}/
40
41 cp -pPR ${S}/util/szap/channels-conf* ${D}/${docdir}/dvb-apps/szap/
42 cp -pPR ${S}/util/szap/README ${D}/${docdir}/dvb-apps/szap/
43}
44
45python populate_packages_prepend () {
46 dvb_libdir = bb.data.expand('${libdir}', d)
47 do_split_packages(d, dvb_libdir, '^lib(.*)\.so$', 'lib%s', 'DVB %s package', extra_depends='', allow_links=True)
48 do_split_packages(d, dvb_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'DVB %s development package', extra_depends='${PN}-dev')
49 do_split_packages(d, dvb_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'DVB %s development package', extra_depends='${PN}-dev')
50 do_split_packages(d, dvb_libdir, '^lib(.*)\.so\.*', 'lib%s', 'DVB %s library', extra_depends='', allow_links=True)
51}
52
53PACKAGES =+ "dvb-evtest dvb-evtest-dbg \
54 dvbapp-tests dvbapp-tests-dbg \
55 dvbdate dvbdate-dbg \
56 dvbtraffic dvbtraffic-dbg \
57 dvbnet dvbnet-dbg \
58 dvb-scan dvb-scan-dbg dvb-scan-data \
59 dvb-azap dvb-azap-dbg \
60 dvb-czap dvb-czap-dbg \
61 dvb-szap dvb-szap-dbg \
62 dvb-tzap dvb-tzap-dbg \
63 dvb-femon dvb-femon-dbg \
64 dvb-zap-data"
65
66
67FILES_${PN} = "${bindir} ${datadir}/dvb"
68FILES_${PN}-doc = ""
69FILES_${PN}-dev = "${includedir}"
70
71FILES_dvb-evtest = "${bindir}/evtest"
72FILES_dvb-evtest-dbg = "${bindir}/.debug/evtest"
73RCONFLICTS_dvb-evtest = "evtest"
74
75FILES_dvbapp-tests = "${bindir}/*test* "
76FILES_dvbapp-tests-dbg = "${bindir}/.debug/*test*"
77
78FILES_dvbdate = "${bindir}/dvbdate"
79FILES_dvbdate-dbg = "${bindir}/.debug/dvbdate"
80
81FILES_dvbtraffic = "${bindir}/dvbtraffic"
82FILES_dvbtraffic-dbg = "${bindir}/.debug/dvbtraffic"
83
84FILES_dvbnet = "${bindir}/dvbnet"
85FILES_dvbnet-dbg = "${bindir}/.debug/dvbnet"
86
87FILES_dvb-scan = "${bindir}/*scan "
88FILES_dvb-scan-dbg = "${bindir}/.debug/*scan"
89FILES_dvb-scan-data = "${docdir}/dvb-apps/scan"
90
91FILES_dvb-azap = "${bindir}/azap"
92FILES_dvb-azap-dbg = "${bindir}/.debug/azap"
93
94FILES_dvb-czap = "${bindir}/czap"
95FILES_dvb-czap-dbg = "${bindir}/.debug/czap"
96
97FILES_dvb-szap = "${bindir}/szap"
98FILES_dvb-szap-dbg = "${bindir}/.debug/szap"
99
100FILES_dvb-tzap = "${bindir}/tzap"
101FILES_dvb-tzap-dbg = "${bindir}/.debug/tzap"
102
103FILES_dvb-femon = "${bindir}/femon"
104FILES_dvb-femon-dbg = "${bindir}/.debug/femon"
105
106FILES_dvb-zap-data = "${docdir}/dvb-apps/szap"