1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Gilles CHAUVIN <gcnweb@gmail.com>
8 pkgdesc='Set of C++ libraries for multimedia streaming'
9 url='http://live555.com/liveMedia'
12 depends=('gcc-libs' 'openssl')
13 options=('staticlibs')
14 source=(https://download.videolan.org/contrib/live555/live.${pkgver}.tar.gz)
15 sha256sums=('ce95a1c79f6d18e959f9dc129b8529b711c60e76754acc285e60946303b923ec')
16 sha512sums=('f776e43a9b0792fd41e43f3c06e48f5d766c405d6af4ed5ddac108723f222c844ec5dbe29701b62dff760fbed777935ffc9149080b45d7a7b4c655a7f1fe6dae')
20 sed -E 's|(-DSOCKLEN_T=socklen_t)|\1 -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1|g' -i config.linux
27 for dir in BasicUsageEnvironment groupsock liveMedia UsageEnvironment; do
28 install -Dm 644 ${dir}/*.a -t "${pkgdir}/usr/lib"
29 install -Dm 644 ${dir}/include/*.h* -t "${pkgdir}/usr/include/${dir}"
31 find testProgs -type f -perm 755 -print0|xargs -0 -I '{}' install -Dm 755 '{}' -t "${pkgdir}/usr/bin"