1 HOMEPAGE
= "http://www.linuxtv.org"
4 SRC_URI
= "http://linuxtv.org/downloads/linuxtv-dvb-apps-${PV}.tar.bz2 \
5 file://update-to-trunk.diff;patch=1"
9 S
= "${WORKDIR}/linuxtv-dvb-apps-${PV}"
11 PACKAGES
=+ "evtest evtest-dbg \
12 dvbapp-tests dvbapp-tests-dbg \
14 dvbtraffic dvbtraffic-dbg \
16 dvb-scan dvb-scan-dbg dvb-scan-data \
17 dvb-azap dvb-azap-dbg \
18 dvb-czap dvb-czap-dbg \
19 dvb-szap dvb-szap-dbg \
20 dvb-tzap dvb-tzap-dbg \
21 dvb-femon dvb-femon-dbg \
25 TARGET_CC_ARCH
+= "${LDFLAGS} -static"
27 FILES_$
{PN
} = "${bindir} ${datadir}/dvb"
29 FILES_$
{PN
}-dev
= "${includedir}"
31 FILES_evtest
= "${bindir}/evtest"
32 FILES_evtest
-dbg
= "${bindir}/.debug/evtest"
34 FILES_dvbapp
-tests
= "${bindir}/*test* "
35 FILES_dvbapp
-tests
-dbg
= "${bindir}/.debug/*test*"
37 FILES_dvbdate
= "${bindir}/dvbdate"
38 FILES_dvbdate
-dbg
= "${bindir}/.debug/dvbdate"
40 FILES_dvbtraffic
= "${bindir}/dvbtraffic"
41 FILES_dvbtraffic
-dbg
= "${bindir}/.debug/dvbtraffic"
43 FILES_dvbnet
= "${bindir}/dvbnet"
44 FILES_dvbnet
-dbg
= "${bindir}/.debug/dvbnet"
46 FILES_dvb
-scan
= "${bindir}/*scan "
47 FILES_dvb
-scan
-dbg
= "${bindir}/.debug/*scan"
48 FILES_dvb
-scan
-data = "${docdir}/dvb-apps/scan"
50 FILES_dvb
-azap
= "${bindir}/azap"
51 FILES_dvb
-azap
-dbg
= "${bindir}/.debug/azap"
53 FILES_dvb
-czap
= "${bindir}/czap"
54 FILES_dvb
-czap
-dbg
= "${bindir}/.debug/czap"
56 FILES_dvb
-szap
= "${bindir}/szap"
57 FILES_dvb
-szap
-dbg
= "${bindir}/.debug/szap"
59 FILES_dvb
-tzap
= "${bindir}/tzap"
60 FILES_dvb
-tzap
-dbg
= "${bindir}/.debug/tzap"
62 FILES_dvb
-femon
= "${bindir}/femon"
63 FILES_dvb
-femon
-dbg
= "${bindir}/.debug/femon"
65 FILES_dvb
-zap
-data = "${docdir}/dvb-apps/szap"
68 sed
-i
-e s
:/usr
/include:$
{STAGING_INCDIR
}:g util
/av7110_loadkeys
/generate
-keynames.sh
72 make DESTDIR
=$
{D
} install
73 install
-d $
{D
}/$
{bindir
}
74 install
-d $
{D
}/$
{docdir
}/dvb
-apps
75 install
-d $
{D
}/$
{docdir
}/dvb
-apps
/scan
76 install
-d $
{D
}/$
{docdir
}/dvb
-apps
/szap
77 chmod a
+rx $
{D
}/$
{libdir
}/*.so
*
80 install
-m
0755 $
{S
}/test
/setvoltage $
{D
}$
{bindir
}/test_setvoltage
81 install
-m
0755 $
{S
}/test
/set22k $
{D
}$
{bindir
}/test_set22k
82 install
-m
0755 $
{S
}/test
/video $
{D
}$
{bindir
}/test_video
83 install
-m
0755 $
{S
}/test
/sendburst $
{D
}$
{bindir
}/test_sendburst
84 install
-m
0755 $
{S
}/test
/diseqc $
{D
}$
{bindir
}/test_diseqc
85 install
-m
0755 $
{S
}/test
/test_sections $
{D
}$
{bindir
}/
86 install
-m
0755 $
{S
}/test
/test_av_play $
{D
}$
{bindir
}/
87 install
-m
0755 $
{S
}/test
/test_stillimage $
{D
}$
{bindir
}/
88 install
-m
0755 $
{S
}/test
/test_dvr_play $
{D
}$
{bindir
}/
89 install
-m
0755 $
{S
}/test
/test_tt $
{D
}$
{bindir
}/
90 install
-m
0755 $
{S
}/test
/test_sec_ne $
{D
}$
{bindir
}/
91 install
-m
0755 $
{S
}/test
/test_stc $
{D
}$
{bindir
}/
92 install
-m
0755 $
{S
}/test
/test_av $
{D
}$
{bindir
}/
93 install
-m
0755 $
{S
}/test
/test_vevent $
{D
}$
{bindir
}/
94 install
-m
0755 $
{S
}/test
/test_pes $
{D
}$
{bindir
}/
95 install
-m
0755 $
{S
}/test
/test_dvr $
{D
}$
{bindir
}/
97 cp
-pPR $
{S
}/util
/szap
/channels
-conf
* $
{D
}/$
{docdir
}/dvb
-apps
/szap
/
98 cp
-pPR $
{S
}/util
/szap
/README $
{D
}/$
{docdir
}/dvb
-apps
/szap
/
101 python populate_packages_prepend
() {
102 dvb_libdir
= bb.
data.expand
('$
{libdir
}'
, d
)
103 do_split_packages
(d
, dvb_libdir
, '^lib
(.
*)\.so$'
, 'lib
%s'
, 'DVB
%s package'
, extra_depends
=''
, allow_links
=True)
104 do_split_packages
(d
, dvb_libdir
, '^lib
(.
*)\.la$'
, 'lib
%s
-dev'
, 'DVB
%s development package'
, extra_depends
='$
{PN
}-dev'
)
105 do_split_packages
(d
, dvb_libdir
, '^lib
(.
*)\.a$'
, 'lib
%s
-dev'
, 'DVB
%s development package'
, extra_depends
='$
{PN
}-dev'
)
106 do_split_packages
(d
, dvb_libdir
, '^lib
(.
*)\.so\.
*'
, 'lib
%s'
, 'DVB
%s library'
, extra_depends
=''
, allow_links
=True)
109 SRC_URI
[md5sum
] = "de958cdb8d00e74792dd69f3c945b037"
110 SRC_URI
[sha256sum
] = "371f8133db705bde6c2f79cccb0b1a1f626a0d94bf41acceba5d76a69155f057"