1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="Portable Windows Library"
8 url="http://www.opalvoip.org"
10 depends=('sdl' 'libpulse' 'v4l-utils' 'libldap')
13 source=(https://downloads.sourceforge.net/opalvoip/ptlib-$pkgver.tar.bz2
14 ptlib-2.10.11-bison_fixes-2.patch
18 sha256sums=('27a8ba1fd147195c0b310897f81d26f73996b77b18147e587638444cfacd681a'
19 '733f97ae7ceeb11e65882e56dd605decdfaa6c83418fd6c582f9fdedca924b3f'
20 '6a290d636d24138282762a5a53a8c92bd1760261fcdda155b825b9d62c30fdb1'
21 '815143893de1f9c558c4dda048066992283d619a1c685a1c078ff915bd7f0d86'
22 'ca01739f1f0c1a00c3683f845fef619fabacac1a31420a28837abcb0cda3b81d')
26 patch -Np1 -i ../ptlib-2.10.11-bison_fixes-2.patch
27 patch -Np1 -i ../disable-sslv3.patch
28 patch -Np1 -i ../openssl-1.1.0.patch
29 patch -Np1 -i ../ptlib-gcc8.patch
34 ./configure --prefix=/usr --libdir=/usr/lib \
35 --sysconfdir=/etc --localstatedir=/var \
36 --enable-opal --enable-plugins \
37 --enable-oss --enable-v4l2 \
38 --disable-avc --enable-sdl \
39 --enable-ipv6 --enable-v4l \
40 --disable-dc --disable-odbc \
41 --enable-expat --enable-httpforms
47 make DESTDIR="${pkgdir}" install