matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / live555 / live555.inc
blob30249d22b4a14ce1114d39e3113d3c5a09a24ef6
1 # live555 OE build file
2 # Copyright (C) 2005, Koninklijke Philips Electronics NV.  All Rights Reserved
3 # Released under the MIT license (see packages/COPYING)
5 DESCRIPTION = "LIVE555 Streaming Media libraries"
6 HOMEPAGE = "http://live.com/"
7 LICENSE = "LGPL"
8 SECTION = "devel"
10 INC_PR = "r1"
12 URLV = "${@bb.data.getVar('PV',d,1)[0:4]}.${@bb.data.getVar('PV',d,1)[4:6]}.${@bb.data.getVar('PV',d,1)[6:8]}"
13 SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \
14            file://config.linux-cross"
16 S = "${WORKDIR}/live"
17 TARGET_CC_ARCH += "${LDFLAGS}"
19 do_configure() {
20         cp ${WORKDIR}/config.linux-cross .
21         ./genMakefiles linux-cross
24 do_compile() {
25         make
28 do_install() {
29         install -d ${D}${includedir}/BasicUsageEnvironment
30         install -d ${D}${includedir}/groupsock
31         install -d ${D}${includedir}/liveMedia
32         install -d ${D}${includedir}/UsageEnvironment
33         install -d ${D}${libdir}
34         cp -a ${S}/BasicUsageEnvironment/include/*.hh ${D}${includedir}/BasicUsageEnvironment/
35         cp -a ${S}/groupsock/include/*.h ${D}${includedir}/groupsock/
36         cp -a ${S}/groupsock/include/*.hh ${D}${includedir}/groupsock/
37         cp -a ${S}/liveMedia/include/*.hh ${D}${includedir}/liveMedia/
38         cp -a ${S}/UsageEnvironment/include/*.hh ${D}${includedir}/UsageEnvironment/
39         # Find all the headers
40         for i in $(find . -name "*.hh") $(find . -name "*.h") ; do
41                 install ${i} ${D}${includedir}
42         done
43         cp ${S}/*/*.a ${D}${libdir}
44         install -d ${D}${bindir}
45         for i in MPEG2TransportStreamIndexer openRTSP playSIP sapWatch testMPEG1or2AudioVideoToDarwin testMPEG1or2ProgramToTransportStream testMPEG1or2Splitter testMPEG1or2VideoReceiver testMPEG2TransportStreamTrickPlay testMPEG4VideoToDarwin testOnDemandRTSPServer testRelay testAMRAudioStreamer testDVVideoStreamer testMP3Receiver testMP3Streamer testMPEG1or2AudioVideoStreamer testMPEG1or2VideoStreamer testMPEG2TransportStreamer testMPEG4VideoStreamer testWAVAudioStreamer vobStreamer; do
46                 install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/
47         done
50 PACKAGES =+ " live555-openrtsp live555-playsip"
51 FILES_${PN} = "${bindir}/sapWatch ${bindir}/testMPEG1or2AudioVideoToDarwin ${bindir}/testMPEG1or2ProgramToTransportStream ${bindir}/testMPEG1or2Splitter ${bindir}/testMPEG1or2VideoReceiver ${bindir}/testMPEG2TransportStreamTrickPlay ${bindir}/testMPEG4VideoToDarwin ${bindir}/testOnDemandRTSPServer ${bindir}/testRelay ${bindir}/testAMRAudioStreamer ${bindir}/testDVVideoStreamer ${bindir}/testMP3Receiver ${bindir}/testMP3Streamer ${bindir}/testMPEG1or2AudioVideoStreamer ${bindir}/testMPEG1or2VideoStreamer ${bindir}/testMPEG2TransportStreamer ${bindir}/testMPEG4VideoStreamer ${bindir}/testWAVAudioStreamer ${bindir}/vobStreamer ${bindir}/MPEG2TransportStreamIndexer"
52 FILES_live555-openrtsp = "${bindir}/openRTSP"
53 FILES_live555-playsip = "${bindir}/playSIP"