summaryrefslogtreecommitdiff
path: root/extra/opal/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opal/PKGBUILD')
-rw-r--r--extra/opal/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/opal/PKGBUILD b/extra/opal/PKGBUILD
index d92f34628..47a4e7efe 100644
--- a/extra/opal/PKGBUILD
+++ b/extra/opal/PKGBUILD
@@ -1,31 +1,35 @@
-# $Id: PKGBUILD 194345 2013-09-14 08:18:24Z bpiotrowski $
+# $Id: PKGBUILD 197009 2013-10-21 12:41:49Z jgc $
# Maintainer: Jan de Groot <jan@archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=opal
-pkgver=3.10.10
-pkgrel=3
+pkgver=3.10.11
+pkgrel=1
pkgdesc="Open Phone Abstraction Library"
arch=(i686 x86_64)
url="http://www.opalvoip.org"
license=(GPL)
depends=(ptlib libtheora x264 speex gsm celt)
makedepends=(ffmpeg)
+optdepends=('ffmpeg: h263 and mpeg4 plugins')
options=(!makeflags)
-source=(http://ftp.gnome.org/pub/GNOME/sources/opal/${pkgver%.*}/opal-$pkgver.tar.xz
+source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2
opal-ffmpeg.patch)
-sha256sums=('f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864'
+sha256sums=('f38e7969e88a28dd9a10a6051315aceecde79d0bbd1a35676868dc5787aed706'
'83f60ecf692e004293ce9dbaae7d7eb64d9713d3bfb71a0e7b1a0d1f936794cd')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../opal-ffmpeg.patch
+}
+
build() {
- cd "${srcdir}/opal-${pkgver}"
- patch -Np1 -i "${srcdir}/opal-ffmpeg.patch"
+ cd $pkgname-$pkgver
CXXFLAGS="$CXXFLAGS -fpermissive" \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
- cd "${srcdir}/opal-${pkgver}"
+ cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
- chmod 644 "${pkgdir}/usr/lib/libopal_s.a"
}