desktop/opal/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 22ed45e60c PTLib 2.10.6 and Opal 3.10.6.
2012-08-02 07:26:50 +00:00

41 lines
980 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=opal
pkgver=3.10.6
_pkgver="Stable 6"
_pkgver2="v3.10 Luyten"
pkgrel=1
pkgdesc="Open Phone Abstraction Library."
arch=('i686' 'x86_64')
url="http://www.opalvoip.org/"
license=('MPL')
depends=('libtheora' 'ptlib' 'silc-toolkit' 'speex' 'x264>=20090416')
makedepends=('ffmpeg')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/project/opalvoip/$_pkgver2/$_pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('6eaa99fcbf7b3b610ce7afd024cebf45')
build() {
cd $srcdir/$pkgname-$pkgver
# Patches.
sed "/#include \"..\/common\/platform.h\"/a\
#include <unistd.h>" \
-i plugins/video/H.264/shared/x264wrap.h
CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" \
./configure \
--localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}