[arch-commits] Commit in opal/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue May 1 20:14:39 UTC 2018
Date: Tuesday, May 1, 2018 @ 20:14:39
Author: bpiotrowski
Revision: 323273
3.10.11-16: drop libavcodec plugins
Modified:
opal/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-01 19:36:27 UTC (rev 323272)
+++ PKGBUILD 2018-05-01 20:14:39 UTC (rev 323273)
@@ -3,34 +3,24 @@
# Contributor: Tom K <tomk at runbox.com>
pkgname=opal
pkgver=3.10.11
-pkgrel=15
+pkgrel=16
pkgdesc="Open Phone Abstraction Library"
arch=(x86_64)
url="http://www.opalvoip.org"
license=(GPL)
depends=(ptlib libtheora libx264 speex gsm celt)
-makedepends=(ffmpeg x264)
-optdepends=('ffmpeg: h263 and mpeg4 plugins')
+makedepends=(x264)
options=(!makeflags)
source=(https://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2
disable-samples-ftbfs.diff
- libav9.patch
- libav10.patch
- ffmpeg_2.9.patch
opal-gcc7.patch)
sha256sums=('f38e7969e88a28dd9a10a6051315aceecde79d0bbd1a35676868dc5787aed706'
'f6497c74bbfd47fac036ff97dd74e8c87e6040d686944d29a926ccf3b7525be2'
- '460e5c814aaedc8573b14b2096930464d669f7dcd884f9fce7188533927ae968'
- 'a47ca14dd5f04b63fda7a3d0481692ae01340b84b65b693ad43cfacf778a6534'
- '0d4392ce9688cf576ae864605d48ed58427a2a281ad88028ff5bd7016341d276'
'cb7270055f1f2a29dec19ecab398ce0e75b1e440312e17df8a893308bfb3732c')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../disable-samples-ftbfs.diff
- patch -Np1 -i ../libav9.patch
- patch -Np1 -i ../libav10.patch
- patch -Np1 -i ../ffmpeg_2.9.patch
patch -Np1 -i ../opal-gcc7.patch # Fix build with GCC 7
sed -e '/<< mime.PrintContents/ s/mime/(const std::string\&)&/' -i src/im/msrp.cxx
}
@@ -38,7 +28,8 @@
build() {
cd $pkgname-$pkgver
CXXFLAGS="$CXXFLAGS -fpermissive" \
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-libavcodec
make
}
More information about the arch-commits
mailing list