27067c9b8c
2008.07.25: - Minor bug fix to "MPEG2TransportStreamFramer" (reset "fTSPCRCount" in "doStopGettingFrames()"). (Thanks to Qiujian Shu for reporting this bug.) - Modified the previous changes to "QuickTimeFileSink" and "AVIFileSink" so that the "createNew()" functions return NULL if the output file cannot be opened. 2008.07.24: - Changed "MultiFramedRTPSource" to handle the very first packet that we receive as if there were packet loss beforehand. This ensures that we correctly discard any initial packets that we receive that occur after the start of a (multi-packet) frame. - Fixed "QuickTimeFileSink" and "AVIFileSink" to close the output file (if it's not stdout or stderr) in the destructor, 2008.07.22: - Fixed "MPEG2TransportStreamMultiplexor" to use an appropriate stream for our SCR, even if the input contained its own Program Stream Map. - More minor changes to the code to make Erik Hovland's code-checking tools happy. 2008.07.06: - Corrected one of Erik Hovland's memory leak fixes made to the previous revision.
52 lines
1.7 KiB
Makefile
52 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2008/07/26 14:44:34 tonio Exp $
|
|
#
|
|
|
|
DISTNAME= live.2008.07.25
|
|
PKGNAME= lib${DISTNAME:S/./-/:S/.//g}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.live555.com/liveMedia/public/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.live555.com/liveMedia/
|
|
COMMENT= Set of C++ libraries for multimedia streaming
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/live
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= YES
|
|
|
|
INSTALLATION_DIRS= bin lib
|
|
|
|
do-configure:
|
|
${CP} ${FILESDIR}/config.netbsd ${WRKSRC}
|
|
${CP} ${FILESDIR}/config.netbsd ${WRKSRC}/config.dragonfly
|
|
${CP} ${FILESDIR}/config.netbsd ${WRKSRC}/config.darwin
|
|
cd ${WRKSRC} && ${SH} ./genMakefiles ${LOWER_OPSYS}
|
|
|
|
do-install:
|
|
.for lib in BasicUsageEnvironment UsageEnvironment groupsock liveMedia
|
|
cd ${WRKSRC}/${lib} && \
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} lib${lib}.la ${DESTDIR}${PREFIX}/lib
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/${lib}
|
|
cd ${WRKSRC}/${lib}/include && \
|
|
for i in *.h *.hh ; do \
|
|
[ ! -f $$i ] || \
|
|
${INSTALL_DATA} $$i \
|
|
${DESTDIR}${PREFIX}/include/${lib} ; \
|
|
done
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/liblive
|
|
.for bin in testMP3Streamer testMPEG1or2VideoStreamer \
|
|
testMPEG1or2AudioVideoStreamer testMPEG2TransportStreamer \
|
|
testMPEG4VideoStreamer testWAVAudioStreamer testAMRAudioStreamer\
|
|
vobStreamer testMP3Receiver testMPEG1or2VideoReceiver sapWatch \
|
|
testRelay testOnDemandRTSPServer testMPEG1or2AudioVideoToDarwin \
|
|
testMPEG4VideoToDarwin openRTSP playSIP testMPEG1or2Splitter \
|
|
testMPEG1or2ProgramToTransportStream
|
|
cd ${WRKSRC}/testProgs && \
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
|
|
${bin} ${DESTDIR}${PREFIX}/share/examples/liblive
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|