[oe-commits] Eric Bénard : live555: add 20100529 and create include

git version control git at git.openembedded.org
Tue Jun 1 14:34:05 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 055be8f41f6b82edffa6e3bf596339284f2a93ff
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=055be8f41f6b82edffa6e3bf596339284f2a93ff

Author: Eric Bénard <eric at eukrea.com>
Date:   Tue Jun  1 15:47:44 2010 +0200

live555: add 20100529 and create include

Signed-off-by: Eric Bénard <eric at eukrea.com>

---

 recipes/live555/live555.inc         |   53 +++++++++++++++++++++++++++++++++++
 recipes/live555/live555_20100409.bb |   52 +---------------------------------
 recipes/live555/live555_20100529.bb |    7 ++++
 3 files changed, 62 insertions(+), 50 deletions(-)

diff --git a/recipes/live555/live555.inc b/recipes/live555/live555.inc
new file mode 100644
index 0000000..30249d2
--- /dev/null
+++ b/recipes/live555/live555.inc
@@ -0,0 +1,53 @@
+# live555 OE build file
+# Copyright (C) 2005, Koninklijke Philips Electronics NV.  All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+DESCRIPTION = "LIVE555 Streaming Media libraries"
+HOMEPAGE = "http://live.com/"
+LICENSE = "LGPL"
+SECTION = "devel"
+
+INC_PR = "r1"
+
+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]}"
+SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \
+           file://config.linux-cross"
+
+S = "${WORKDIR}/live"
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_configure() {
+	cp ${WORKDIR}/config.linux-cross .
+	./genMakefiles linux-cross
+}
+
+do_compile() {
+	make
+}
+
+do_install() {
+	install -d ${D}${includedir}/BasicUsageEnvironment
+	install -d ${D}${includedir}/groupsock
+	install -d ${D}${includedir}/liveMedia
+	install -d ${D}${includedir}/UsageEnvironment
+	install -d ${D}${libdir}
+	cp -a ${S}/BasicUsageEnvironment/include/*.hh ${D}${includedir}/BasicUsageEnvironment/
+	cp -a ${S}/groupsock/include/*.h ${D}${includedir}/groupsock/
+	cp -a ${S}/groupsock/include/*.hh ${D}${includedir}/groupsock/
+	cp -a ${S}/liveMedia/include/*.hh ${D}${includedir}/liveMedia/
+	cp -a ${S}/UsageEnvironment/include/*.hh ${D}${includedir}/UsageEnvironment/
+	# Find all the headers
+	for i in $(find . -name "*.hh") $(find . -name "*.h") ; do
+		install ${i} ${D}${includedir}
+	done
+	cp ${S}/*/*.a ${D}${libdir}
+	install -d ${D}${bindir}
+	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
+		install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/
+	done
+}
+
+PACKAGES =+ " live555-openrtsp live555-playsip"
+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"
+FILES_live555-openrtsp = "${bindir}/openRTSP"
+FILES_live555-playsip = "${bindir}/playSIP"
diff --git a/recipes/live555/live555_20100409.bb b/recipes/live555/live555_20100409.bb
index 7f3aab4..01fdd63 100644
--- a/recipes/live555/live555_20100409.bb
+++ b/recipes/live555/live555_20100409.bb
@@ -1,55 +1,7 @@
-# live555 OE build file
-# Copyright (C) 2005, Koninklijke Philips Electronics NV.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+require live555.inc
 
-DESCRIPTION = "LIVE555 Streaming Media libraries"
-HOMEPAGE = "http://live.com/"
-LICENSE = "LGPL"
-SECTION = "devel"
-
-PR = "r0"
-
-SRC_URI = "http://www.live555.com/liveMedia/public/live.2010.04.09.tar.gz \
-           file://config.linux-cross"
-
-S = "${WORKDIR}/live"
-TARGET_CC_ARCH += "${LDFLAGS}"
-
-do_configure() {
-	cp ${WORKDIR}/config.linux-cross .
-	./genMakefiles linux-cross
-}
-
-do_compile() {
-	make
-}
-
-do_install() {
-	install -d ${D}${includedir}/BasicUsageEnvironment
-	install -d ${D}${includedir}/groupsock
-	install -d ${D}${includedir}/liveMedia
-	install -d ${D}${includedir}/UsageEnvironment
-	install -d ${D}${libdir}
-	cp -a ${S}/BasicUsageEnvironment/include/*.hh ${D}${includedir}/BasicUsageEnvironment/
-	cp -a ${S}/groupsock/include/*.h ${D}${includedir}/groupsock/
-	cp -a ${S}/groupsock/include/*.hh ${D}${includedir}/groupsock/
-	cp -a ${S}/liveMedia/include/*.hh ${D}${includedir}/liveMedia/
-	cp -a ${S}/UsageEnvironment/include/*.hh ${D}${includedir}/UsageEnvironment/
-	# Find all the headers
-	for i in $(find . -name "*.hh") $(find . -name "*.h") ; do
-		install ${i} ${D}${includedir}
-	done
-	cp ${S}/*/*.a ${D}${libdir}
-	install -d ${D}${bindir}
-	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
-		install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/
-	done
-}
+PR = "${INC_PR}.1"
 
 SRC_URI[md5sum] = "7f56f54c1c4697764c6e88282e353e81"
 SRC_URI[sha256sum] = "e9539f59058cb885f28ac48cdce285f8a0fe567c4aa889c2ac3bd0638b007944"
 
-PACKAGES =+ " live555-openrtsp live555-playsip"
-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"
-FILES_live555-openrtsp = "${bindir}/openRTSP"
-FILES_live555-playsip = "${bindir}/playSIP"
diff --git a/recipes/live555/live555_20100529.bb b/recipes/live555/live555_20100529.bb
new file mode 100644
index 0000000..22c9aa4
--- /dev/null
+++ b/recipes/live555/live555_20100529.bb
@@ -0,0 +1,7 @@
+require live555.inc
+
+PR = "${INC_PR}.1"
+
+SRC_URI[md5sum] = "285266fe9ddf6ed1f7bfd6ecae16f742"
+SRC_URI[sha256sum] = "9079b577ac20b85378b39ea00a1bf30e09a77763e704d8c5bdc85451257a8f72"
+





More information about the Openembedded-commits mailing list