# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
description LIVE555 Streaming Media
long_description This code forms a set of C++ libraries for multimedia \
streaming, using open standard protocols (RTP/RTCP, RTSP, \
SIP). These libraries - which can be compiled for UNIX \
(including Linux and macOS), Windows, and QNX (and other \
POSIX-compliant systems) - can be used to build streaming \
homepage http://www.live555.com/liveMedia/
master_sites ${homepage}public/ \
http://mirror.sobukus.de/files/src/live555/
checksums rmd160 381b514794a0cbc14cf842dc9b4ef93a63014e67 \
sha256 7c04db4ba5048b301e27853f10004bbbbf059f3cf2686db6067d0d3e396625fd \
# older systems fail to build with old libtool versions
# so use a modern version of cctools on all systems to ensure success
patchfiles patch-config.macosx.diff \
patch-live555-test-for-tcp-functions-before-using.diff
# Configure settings remain in installed Makefiles, so be minimalistic
if {[string match *clang* ${configure.cxx}]} {
set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
reinplace "s|@ARCHFLAGS@|[get_canonical_archflags]|g
s|@CXX@|${configure.cxx} ${cxx_stdlibflags}|g
s|@CPPFLAGS@|${configure.cppflags}|g
s|@CFLAGS@|${configure.cflags}|g
s|@CXXFLAGS@|${configure.cxxflags}|g
s|@LDFLAGS@|${configure.ldflags}|g
s|@LIBTOOL@|${prefix}/bin/libtool|g" \
${worksrcpath}/config.macosx
set files_0 ${workpath}/files-0.txt
set files_1 ${workpath}/files-1.txt