diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-12-21 14:00:48 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-01-18 10:49:44 +0100 |
commit | 9fabce58acb7585664ebdded4588a283a399d22b (patch) | |
tree | 73acfba1d88ffa0458821f75deded7115610065a /meta-multimedia/recipes-dvb/dvb-apps | |
parent | 8f705bf7016f611fc03983fed5e5a7df14db64b9 (diff) | |
download | meta-openembedded-9fabce58acb7585664ebdded4588a283a399d22b.tar.gz |
dvb-apps: import 1.1.1+hg from OE classic
* Backport patches were dropped since we use hg tip now.
* Lots of whitespace fixups
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-dvb/dvb-apps')
-rw-r--r-- | meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb | 106 |
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 @@ | |||
1 | HOMEPAGE = "http://www.linuxtv.org" | ||
2 | SUMMARY = "Linux DVB API applications and utilities." | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
6 | |||
7 | SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http" | ||
8 | SRCREV = "3fc7dfa68484" | ||
9 | |||
10 | S = "${WORKDIR}/${BPN}" | ||
11 | |||
12 | do_configure() { | ||
13 | sed -i -e s:/usr/include:${STAGING_INCDIR}:g util/av7110_loadkeys/generate-keynames.sh | ||
14 | } | ||
15 | |||
16 | do_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 | |||
45 | python 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 | |||
53 | PACKAGES =+ "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 | |||
67 | FILES_${PN} = "${bindir} ${datadir}/dvb" | ||
68 | FILES_${PN}-doc = "" | ||
69 | FILES_${PN}-dev = "${includedir}" | ||
70 | |||
71 | FILES_dvb-evtest = "${bindir}/evtest" | ||
72 | FILES_dvb-evtest-dbg = "${bindir}/.debug/evtest" | ||
73 | RCONFLICTS_dvb-evtest = "evtest" | ||
74 | |||
75 | FILES_dvbapp-tests = "${bindir}/*test* " | ||
76 | FILES_dvbapp-tests-dbg = "${bindir}/.debug/*test*" | ||
77 | |||
78 | FILES_dvbdate = "${bindir}/dvbdate" | ||
79 | FILES_dvbdate-dbg = "${bindir}/.debug/dvbdate" | ||
80 | |||
81 | FILES_dvbtraffic = "${bindir}/dvbtraffic" | ||
82 | FILES_dvbtraffic-dbg = "${bindir}/.debug/dvbtraffic" | ||
83 | |||
84 | FILES_dvbnet = "${bindir}/dvbnet" | ||
85 | FILES_dvbnet-dbg = "${bindir}/.debug/dvbnet" | ||
86 | |||
87 | FILES_dvb-scan = "${bindir}/*scan " | ||
88 | FILES_dvb-scan-dbg = "${bindir}/.debug/*scan" | ||
89 | FILES_dvb-scan-data = "${docdir}/dvb-apps/scan" | ||
90 | |||
91 | FILES_dvb-azap = "${bindir}/azap" | ||
92 | FILES_dvb-azap-dbg = "${bindir}/.debug/azap" | ||
93 | |||
94 | FILES_dvb-czap = "${bindir}/czap" | ||
95 | FILES_dvb-czap-dbg = "${bindir}/.debug/czap" | ||
96 | |||
97 | FILES_dvb-szap = "${bindir}/szap" | ||
98 | FILES_dvb-szap-dbg = "${bindir}/.debug/szap" | ||
99 | |||
100 | FILES_dvb-tzap = "${bindir}/tzap" | ||
101 | FILES_dvb-tzap-dbg = "${bindir}/.debug/tzap" | ||
102 | |||
103 | FILES_dvb-femon = "${bindir}/femon" | ||
104 | FILES_dvb-femon-dbg = "${bindir}/.debug/femon" | ||
105 | |||
106 | FILES_dvb-zap-data = "${docdir}/dvb-apps/szap" | ||