summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-04 22:37:33 +0000
committerrh <rh@pkgsrc.org>2003-04-04 22:37:33 +0000
commite3c259d537804b436e0f1a626b804089df685a5c (patch)
treed15885d7ef12978a3cb271be2ae449c90a17c45d /net
parent1107135f949bd365eba4319f5d8afe86b70af7d0 (diff)
downloadpkgsrc-e3c259d537804b436e0f1a626b804089df685a5c.tar.gz
Initial import of liblive-2003.04.04, a set of C++ libraries for multimedia
streaming.
Diffstat (limited to 'net')
-rw-r--r--net/liblive/DESCR11
-rw-r--r--net/liblive/Makefile40
-rw-r--r--net/liblive/PLIST117
-rw-r--r--net/liblive/buildlink2.mk31
-rw-r--r--net/liblive/distinfo5
-rw-r--r--net/liblive/files/config.netbsd20
-rw-r--r--net/liblive/patches/patch-aa29
7 files changed, 253 insertions, 0 deletions
diff --git a/net/liblive/DESCR b/net/liblive/DESCR
new file mode 100644
index 00000000000..7ee76b07201
--- /dev/null
+++ b/net/liblive/DESCR
@@ -0,0 +1,11 @@
+ This package contains a set of C++ libraries for multimedia streaming,
+using open standard protocols (RTP/RTCP, RTSP, SIP). These libraries can
+be used to build streaming applications. The libraries are already being
+used to implement applications such as "liveCaster" and "playRTPMPEG" (for
+streaming MP3 audio using RTP/RTCP). The libraries can also be used to
+stream, receive, and process MPEG or H.263+ video, and several audio
+codecs. They can easily be extended to support additional (audio or video)
+codecs, and can also be used to build basic RTSP or SIP clients and
+servers, and have been used to add streaming support to existing media
+player applications, such as "MPlayer". (For some specific examples of
+how these libraries can be used, see the included test programs.)
diff --git a/net/liblive/Makefile b/net/liblive/Makefile
new file mode 100644
index 00000000000..e8d587f4731
--- /dev/null
+++ b/net/liblive/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/04 22:37:33 rh Exp $
+#
+
+DISTNAME= live.2003.04.04
+PKGNAME= lib${DISTNAME:S/./-/}
+WRKSRC= ${WRKDIR}/live
+CATEGORIES= net
+MASTER_SITES= http://www.live.com/liveMedia/public/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.live.com/liveMedia/
+COMMENT= set of C++ libraries for multimedia streaming
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+
+do-configure:
+ ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}
+ cd ${WRKSRC} && ${SH} ./genMakefiles ${LOWER_OPSYS}
+ ${RM} -f ${WRKSRC}/testProgs/qtParse
+
+do-install:
+.for lib in BasicUsageEnvironment UsageEnvironment groupsock liveMedia
+ cd ${WRKSRC}/${lib} && \
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} lib${lib}.la ${PREFIX}/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/liblive/${lib}
+ cd ${WRKSRC}/${lib}/include && \
+ for i in *.h *.hh ; do \
+ [ ! -f $$i ] || \
+ ${INSTALL_DATA} $$i ${PREFIX}/include/liblive/${lib} ; \
+ done
+.endfor
+.for bin in openRTSP playSIP qtParse sapWatch testMP3Receiver \
+ testMP3Streamer testMPEGAudioVideoStreamer testMPEGSplitter \
+ testMPEGVideoReceiver testMPEGVideoStreamer testRelay vobStreamer
+ cd ${WRKSRC}/testProgs && \
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/liblive/PLIST b/net/liblive/PLIST
new file mode 100644
index 00000000000..1b081ba21e0
--- /dev/null
+++ b/net/liblive/PLIST
@@ -0,0 +1,117 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/04 22:37:33 rh Exp $
+bin/openRTSP
+bin/playSIP
+bin/qtParse
+bin/sapWatch
+bin/testMP3Receiver
+bin/testMP3Streamer
+bin/testMPEGAudioVideoStreamer
+bin/testMPEGSplitter
+bin/testMPEGVideoReceiver
+bin/testMPEGVideoStreamer
+bin/testRelay
+bin/vobStreamer
+include/liblive/BasicUsageEnvironment/BasicHashTable.hh
+include/liblive/BasicUsageEnvironment/BasicUsageEnvironment.hh
+include/liblive/BasicUsageEnvironment/BasicUsageEnvironment_version.hh
+include/liblive/BasicUsageEnvironment/DelayQueue.hh
+include/liblive/BasicUsageEnvironment/Lock.hh
+include/liblive/UsageEnvironment/Boolean.hh
+include/liblive/UsageEnvironment/HashTable.hh
+include/liblive/UsageEnvironment/UsageEnvironment.hh
+include/liblive/UsageEnvironment/UsageEnvironment_version.hh
+include/liblive/UsageEnvironment/strDup.hh
+include/liblive/groupsock/GroupEId.hh
+include/liblive/groupsock/Groupsock.hh
+include/liblive/groupsock/GroupsockHelper.hh
+include/liblive/groupsock/IOHandlers.hh
+include/liblive/groupsock/NetAddress.hh
+include/liblive/groupsock/NetCommon.h
+include/liblive/groupsock/NetInterface.hh
+include/liblive/groupsock/TunnelEncaps.hh
+include/liblive/groupsock/groupsock_version.hh
+include/liblive/liveMedia/AC3AudioRTPSink.hh
+include/liblive/liveMedia/AC3AudioRTPSource.hh
+include/liblive/liveMedia/AC3AudioStreamFramer.hh
+include/liblive/liveMedia/BasicUDPSource.hh
+include/liblive/liveMedia/ByteStreamFileSource.hh
+include/liblive/liveMedia/ByteStreamMultiFileSource.hh
+include/liblive/liveMedia/DeviceSource.hh
+include/liblive/liveMedia/FileSink.hh
+include/liblive/liveMedia/FramedFileSource.hh
+include/liblive/liveMedia/FramedFilter.hh
+include/liblive/liveMedia/FramedSource.hh
+include/liblive/liveMedia/GSMAudioRTPSink.hh
+include/liblive/liveMedia/H261VideoRTPSource.hh
+include/liblive/liveMedia/H263plusVideoRTPSink.hh
+include/liblive/liveMedia/H263plusVideoRTPSource.hh
+include/liblive/liveMedia/HTTPSink.hh
+include/liblive/liveMedia/JPEGVideoRTPSource.hh
+include/liblive/liveMedia/MP3ADU.hh
+include/liblive/liveMedia/MP3ADURTPSink.hh
+include/liblive/liveMedia/MP3ADURTPSource.hh
+include/liblive/liveMedia/MP3ADUTranscoder.hh
+include/liblive/liveMedia/MP3ADUinterleaving.hh
+include/liblive/liveMedia/MP3FileSource.hh
+include/liblive/liveMedia/MP3HTTPSource.hh
+include/liblive/liveMedia/MP3Transcoder.hh
+include/liblive/liveMedia/MPEG4ESVideoRTPSource.hh
+include/liblive/liveMedia/MPEG4GenericRTPSource.hh
+include/liblive/liveMedia/MPEG4LATMAudioRTPSource.hh
+include/liblive/liveMedia/MPEGAudioRTPSink.hh
+include/liblive/liveMedia/MPEGAudioRTPSource.hh
+include/liblive/liveMedia/MPEGAudioStreamFramer.hh
+include/liblive/liveMedia/MPEGDemux.hh
+include/liblive/liveMedia/MPEGDemuxedElementaryStream.hh
+include/liblive/liveMedia/MPEGVideoHTTPSink.hh
+include/liblive/liveMedia/MPEGVideoRTPSink.hh
+include/liblive/liveMedia/MPEGVideoRTPSource.hh
+include/liblive/liveMedia/MPEGVideoStreamFramer.hh
+include/liblive/liveMedia/Media.hh
+include/liblive/liveMedia/MediaSession.hh
+include/liblive/liveMedia/MediaSink.hh
+include/liblive/liveMedia/MediaSource.hh
+include/liblive/liveMedia/MultiFramedRTPSink.hh
+include/liblive/liveMedia/MultiFramedRTPSource.hh
+include/liblive/liveMedia/PassiveServerMediaSession.hh
+include/liblive/liveMedia/PrioritizedRTPStreamSelector.hh
+include/liblive/liveMedia/QCELPAudioRTPSource.hh
+include/liblive/liveMedia/QuickTimeFileSink.hh
+include/liblive/liveMedia/QuickTimeGenericRTPSource.hh
+include/liblive/liveMedia/RTCP.hh
+include/liblive/liveMedia/RTPInterface.hh
+include/liblive/liveMedia/RTPSink.hh
+include/liblive/liveMedia/RTPSource.hh
+include/liblive/liveMedia/RTSPClient.hh
+include/liblive/liveMedia/RTSPServer.hh
+include/liblive/liveMedia/SIPClient.hh
+include/liblive/liveMedia/ServerMediaSession.hh
+include/liblive/liveMedia/SimpleRTPSink.hh
+include/liblive/liveMedia/SimpleRTPSource.hh
+include/liblive/liveMedia/liveMedia.hh
+include/liblive/liveMedia/liveMedia_version.hh
+lib/libBasicUsageEnvironment.a
+lib/libBasicUsageEnvironment.la
+lib/libBasicUsageEnvironment.so
+lib/libBasicUsageEnvironment.so.0
+lib/libBasicUsageEnvironment.so.0.0
+lib/libUsageEnvironment.a
+lib/libUsageEnvironment.la
+lib/libUsageEnvironment.so
+lib/libUsageEnvironment.so.0
+lib/libUsageEnvironment.so.0.0
+lib/libgroupsock.a
+lib/libgroupsock.la
+lib/libgroupsock.so
+lib/libgroupsock.so.0
+lib/libgroupsock.so.0.0
+lib/libliveMedia.a
+lib/libliveMedia.la
+lib/libliveMedia.so
+lib/libliveMedia.so.0
+lib/libliveMedia.so.0.0
+@dirrm include/liblive/liveMedia
+@dirrm include/liblive/groupsock
+@dirrm include/liblive/UsageEnvironment
+@dirrm include/liblive/BasicUsageEnvironment
+@dirrm include/liblive
diff --git a/net/liblive/buildlink2.mk b/net/liblive/buildlink2.mk
new file mode 100644
index 00000000000..6870dce9405
--- /dev/null
+++ b/net/liblive/buildlink2.mk
@@ -0,0 +1,31 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/04 22:37:34 rh Exp $
+#
+# This Makefile fragment is included by packages that use liblive.
+#
+# This file was created automatically using createbuildlink 2.5.
+#
+
+.if !defined(LIBLIVE_BUILDLINK2_MK)
+LIBLIVE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= liblive
+BUILDLINK_DEPENDS.liblive?= liblive>=2003.04.04
+BUILDLINK_PKGSRCDIR.liblive?= ../../net/liblive
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.liblive=liblive
+BUILDLINK_PREFIX.liblive_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.liblive+= include/liblive/BasicUsageEnvironment/*.hh
+BUILDLINK_FILES.liblive+= include/liblive/UsageEnvironment/*.hh
+BUILDLINK_FILES.liblive+= include/liblive/groupsock/*.h
+BUILDLINK_FILES.liblive+= include/liblive/groupsock/*.hh
+BUILDLINK_FILES.liblive+= include/liblive/liveMedia/*.hh
+BUILDLINK_FILES.liblive+= lib/libBasicUsageEnvironment.*
+BUILDLINK_FILES.liblive+= lib/libUsageEnvironment.*
+BUILDLINK_FILES.liblive+= lib/libgroupsock.*
+BUILDLINK_FILES.liblive+= lib/libliveMedia.*
+
+BUILDLINK_TARGETS+= liblive-buildlink
+
+liblive-buildlink: _BUILDLINK_USE
+
+.endif # LIBLIVE_BUILDLINK2_MK
diff --git a/net/liblive/distinfo b/net/liblive/distinfo
new file mode 100644
index 00000000000..242f6526df3
--- /dev/null
+++ b/net/liblive/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/04 22:37:33 rh Exp $
+
+SHA1 (live.2003.04.04.tar.gz) = f5c7cffd92f5811c004c30e2b1f889f817539afb
+Size (live.2003.04.04.tar.gz) = 276978 bytes
+SHA1 (patch-aa) = dd4a99f255200d89b3bc9c6e709c53d8e4817e5c
diff --git a/net/liblive/files/config.netbsd b/net/liblive/files/config.netbsd
new file mode 100644
index 00000000000..b53da8db198
--- /dev/null
+++ b/net/liblive/files/config.netbsd
@@ -0,0 +1,20 @@
+.SUFFIXES: .la .lo .cpp
+COMPILE_OPTS = ${INCLUDES} -I. ${CPPFLAGS} -DBSD=1 -DSOCKLEN_T=socklen_t
+C = c
+C_COMPILER = ${LIBTOOL} --mode=compile ${CC}
+C_FLAGS = ${COMPILE_OPTS}
+CPP = cpp
+CPLUSPLUS_COMPILER = ${LIBTOOL} --mode=compile c++
+CPLUSPLUS_FLAGS = ${COMPILE_OPTS} -Wall
+OBJ = lo
+LINK = ${LIBTOOL} --mode=link c++ -o
+LINK+= # this is needed to add a space!
+LINK_OPTS = -Wl,-R${PREFIX}/lib -lm
+CONSOLE_LINK_OPTS = ${LINK_OPTS}
+LIBRARY_LINK = ${LIBTOOL} --mode=link c++ -rpath ${PREFIX}/lib -version-info 0:0 -o
+LIBRARY_LINK+= # this is needed to add a space!
+LIBRARY_LINK_OPTS = ${LINK_OPTS}
+LIB_SUFFIX = la
+LIBS_FOR_CONSOLE_APPLICATION =
+LIBS_FOR_GUI_APPLICATION =
+EXE =
diff --git a/net/liblive/patches/patch-aa b/net/liblive/patches/patch-aa
new file mode 100644
index 00000000000..2fdffa3fe14
--- /dev/null
+++ b/net/liblive/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/04 22:37:34 rh Exp $
+
+--- testProgs/Makefile.tail.orig Fri Apr 4 16:54:27 2003
++++ testProgs/Makefile.tail
+@@ -1,6 +1,6 @@
+ ##### End of variables to change
+
+-ALL = testMP3Streamer$(EXE) testMP3Receiver$(EXE) testRelay$(EXE) testMPEGSplitter$(EXE) testMPEGVideoStreamer$(EXE) testMPEGVideoReceiver$(EXE) testMPEGAudioVideoStreamer$(EXE) vobStreamer$(EXE) openRTSP$(EXE) playSIP$(EXE) sapWatch$(EXE)
++ALL = testMP3Streamer$(EXE) testMP3Receiver$(EXE) testRelay$(EXE) testMPEGSplitter$(EXE) testMPEGVideoStreamer$(EXE) testMPEGVideoReceiver$(EXE) testMPEGAudioVideoStreamer$(EXE) vobStreamer$(EXE) openRTSP$(EXE) playSIP$(EXE) sapWatch$(EXE) qtParse$(EXE)
+ all: $(ALL)
+
+ misc: testMCT$(EXE) testGSMStreamer$(EXE)
+@@ -22,6 +22,7 @@ VOB_STREAMER_OBJS = vobStreamer.$(OBJ)
+ OPEN_RTSP_OBJS = openRTSP.$(OBJ) playCommon.$(OBJ)
+ PLAY_SIP_OBJS = playSIP.$(OBJ) playCommon.$(OBJ)
+ SAP_WATCH_OBJS = sapWatch.$(OBJ)
++QT_PARSE_OBJS = qtParse.$(OBJ)
+ TEST_MCT_OBJS = testMCT.$(OBJ)
+ GSM_STREAMER_OBJS = testGSMStreamer.$(OBJ) testGSMEncoder.$(OBJ)
+
+@@ -61,6 +62,8 @@ openRTSP$(EXE): $(OPEN_RTSP_OBJS) $(LOCA
+ $(LINK)$@ $(CONSOLE_LINK_OPTS) $(OPEN_RTSP_OBJS) $(LIBS)
+ playSIP$(EXE): $(PLAY_SIP_OBJS) $(LOCAL_LIBS)
+ $(LINK)$@ $(CONSOLE_LINK_OPTS) $(PLAY_SIP_OBJS) $(LIBS)
++qtParse$(EXE): $(QT_PARSE_OBJS) $(LOCAL_LIBS)
++ $(LINK)$@ $(CONSOLE_LINK_OPTS) $(QT_PARSE_OBJS) $(LIBS)
+ sapWatch$(EXE): $(SAP_WATCH_OBJS) $(LOCAL_LIBS)
+ $(LINK)$@ $(CONSOLE_LINK_OPTS) $(SAP_WATCH_OBJS) $(LIBS)
+ testMCT$(EXE): $(TEST_MCT_OBJS) $(LOCAL_LIBS)