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 source=(https://download.videolan.org/contrib/live555/live.${pkgver}.tar.gz)
14 sha256sums=('057c1d3dc24c26b33e14c4dc3592885adf220403a1e1255e8a101e233c69c108')
15 sha512sums=('bb5dc80b5b1621e04fb8a100bd3deff190efb757da10e6cfc652d6eaa878f6a3e063b2f2219d5d83d6fb6892b55be55eafe2dd43f42a559e1f931130b45584b1')
19 find . -name Makefile.head | xargs sed -e 's|/local||g' -i # Fix prefix
24 sed -E 's|(-DSOCKLEN_T=socklen_t)|\1 -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1|g' -i config.linux-with-shared-libraries
25 ./genMakefiles linux-with-shared-libraries
31 make DESTDIR="$pkgdir" install