diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-multimedia/live555 | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/live555')
-rw-r--r-- | meta-oe/recipes-multimedia/live555/files/config.linux-cross | 17 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/live555/live555.inc | 58 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/live555/live555_20130430.bb | 7 |
3 files changed, 82 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/live555/files/config.linux-cross b/meta-oe/recipes-multimedia/live555/files/config.linux-cross new file mode 100644 index 000000000..d1277da8d --- /dev/null +++ b/meta-oe/recipes-multimedia/live555/files/config.linux-cross | |||
@@ -0,0 +1,17 @@ | |||
1 | COMPILE_OPTS = $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 | ||
2 | C = c | ||
3 | C_COMPILER = $(CC) | ||
4 | C_FLAGS = $(COMPILE_OPTS) | ||
5 | CPP = cpp | ||
6 | CPLUSPLUS_COMPILER = $(CXX) | ||
7 | CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 | ||
8 | OBJ = o | ||
9 | LINK = $(CXX) -o | ||
10 | LINK_OPTS = -L. | ||
11 | CONSOLE_LINK_OPTS = $(LINK_OPTS) | ||
12 | LIBRARY_LINK = $(LD) -o | ||
13 | LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic | ||
14 | LIB_SUFFIX = a | ||
15 | LIBS_FOR_CONSOLE_APPLICATION = | ||
16 | LIBS_FOR_GUI_APPLICATION = | ||
17 | EXE = | ||
diff --git a/meta-oe/recipes-multimedia/live555/live555.inc b/meta-oe/recipes-multimedia/live555/live555.inc new file mode 100644 index 000000000..0c8208a22 --- /dev/null +++ b/meta-oe/recipes-multimedia/live555/live555.inc | |||
@@ -0,0 +1,58 @@ | |||
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) | ||
4 | |||
5 | DESCRIPTION = "LIVE555 Streaming Media libraries" | ||
6 | HOMEPAGE = "http://live.com/" | ||
7 | LICENSE = "LGPLv3" | ||
8 | SECTION = "devel" | ||
9 | |||
10 | INC_PR = "r1" | ||
11 | |||
12 | URLV = "${@d.getVar('PV',1)[0:4]}.${@d.getVar('PV',1)[4:6]}.${@d.getVar('PV',1)[6:8]}" | ||
13 | SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \ | ||
14 | file://config.linux-cross" | ||
15 | # only latest live version stays on http://www.live555.com/liveMedia/public/, add mirror for older | ||
16 | MIRRORS += "http://www.live555.com/liveMedia/public/ http://distcache.FreeBSD.org/ports-distfiles/ \n" | ||
17 | |||
18 | S = "${WORKDIR}/live" | ||
19 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
20 | |||
21 | do_configure() { | ||
22 | cp ${WORKDIR}/config.linux-cross . | ||
23 | echo "COMPILE_OPTS+=" -fPIC "" >> config.linux-cross | ||
24 | ./genMakefiles linux-cross | ||
25 | } | ||
26 | |||
27 | do_compile() { | ||
28 | make | ||
29 | } | ||
30 | |||
31 | do_install() { | ||
32 | install -d ${D}${includedir}/BasicUsageEnvironment | ||
33 | install -d ${D}${includedir}/groupsock | ||
34 | install -d ${D}${includedir}/liveMedia | ||
35 | install -d ${D}${includedir}/UsageEnvironment | ||
36 | install -d ${D}${libdir} | ||
37 | cp -a ${S}/BasicUsageEnvironment/include/*.hh ${D}${includedir}/BasicUsageEnvironment/ | ||
38 | cp -a ${S}/groupsock/include/*.h ${D}${includedir}/groupsock/ | ||
39 | cp -a ${S}/groupsock/include/*.hh ${D}${includedir}/groupsock/ | ||
40 | cp -a ${S}/liveMedia/include/*.hh ${D}${includedir}/liveMedia/ | ||
41 | cp -a ${S}/UsageEnvironment/include/*.hh ${D}${includedir}/UsageEnvironment/ | ||
42 | # Find all the headers | ||
43 | for i in $(find . -name "*.hh") $(find . -name "*.h") ; do | ||
44 | install ${i} ${D}${includedir} | ||
45 | done | ||
46 | cp ${S}/*/*.a ${D}${libdir} | ||
47 | install -d ${D}${bindir} | ||
48 | 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 | ||
49 | install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/ | ||
50 | done | ||
51 | install -m 0755 ${S}/mediaServer/live555MediaServer ${D}${bindir}/ | ||
52 | } | ||
53 | |||
54 | PACKAGES =+ " live555-openrtsp live555-playsip live555-mediaserver" | ||
55 | 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" | ||
56 | FILES_live555-openrtsp = "${bindir}/openRTSP" | ||
57 | FILES_live555-playsip = "${bindir}/playSIP" | ||
58 | FILES_live555-mediaserver = "${bindir}/live555MediaServer" | ||
diff --git a/meta-oe/recipes-multimedia/live555/live555_20130430.bb b/meta-oe/recipes-multimedia/live555/live555_20130430.bb new file mode 100644 index 000000000..f83285cff --- /dev/null +++ b/meta-oe/recipes-multimedia/live555/live555_20130430.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require live555.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=68ad62c64cc6c620126241fd429e68fe" | ||
4 | |||
5 | SRC_URI[md5sum] = "95533d91bd196e42fd748076dc244b09" | ||
6 | SRC_URI[sha256sum] = "e549af608c9961d85cb647bc3b99804fec0fbaf5338c1b72d057558ae5cd2aea" | ||
7 | |||