archrelease: copy trunk to staging-x86_64
[arch-packages.git] / live-media / trunk / PKGBUILD
blobeb6c3527bc5a877a7d6f2a82fc9d5463213c4da3
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Gilles CHAUVIN <gcnweb@gmail.com>
5 pkgname=live-media
6 pkgver=2023.01.19
7 pkgrel=1
8 pkgdesc='Set of C++ libraries for multimedia streaming'
9 url='http://live555.com/liveMedia'
10 arch=('x86_64')
11 license=('LGPL')
12 depends=('gcc-libs' 'openssl')
13 source=(https://download.videolan.org/contrib/live555/live.${pkgver}.tar.gz)
14 sha256sums=('a7c64913f7f7007c5fdc29ea811e3ca781f262271b3e42afdd4bc1041d86fa99')
15 sha512sums=('155c38097d37864978d6b68bf0a7268a9cc88160ebbe679ca5654bd925c5400ef5f74aa6307f53c9584a4611d914d0c8edd275b66b7ca9a66be6591a5b5a8f4f')
17 prepare() {
18   cd live
19   find . -name Makefile.head | xargs sed -e 's|/local||g' -i # Fix prefix
22 build() {
23   cd live
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
26   make
29 package() {
30   cd live
31   make DESTDIR="$pkgdir" install
34 # vim: ts=2 sw=2 et: