PKGBUILDs/community/mediastreamer/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

2013-06-20 20:21:32 +00:00
# $Id$
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Adrià Arrufat <swiftscythe@gmail.com>
2015-03-17 12:31:56 +00:00
# Contributor: Mark Lee <mark@markelee.com>
2013-06-20 20:21:32 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - add --disable-strict to configure to remove -Werror
pkgname=mediastreamer
2015-03-17 12:31:56 +00:00
pkgver=2.11.0
pkgrel=2
2013-06-20 20:21:32 +00:00
pkgdesc="A library written in C that allows you to create and run audio and video streams"
arch=('i686' 'x86_64')
url="http://www.linphone.org/"
license=('GPL')
2015-03-17 12:31:56 +00:00
depends=('ortp' 'ffmpeg' 'libxv' 'libupnp' 'bzrtp' 'glew' 'libsrtp')
2013-06-20 20:21:32 +00:00
# xxd from Vim is needed to build
makedepends=('intltool' 'vim')
source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
2015-03-17 12:31:56 +00:00
md5sums=('07ec80cec0fd82c496eb11a5ab436e3b'
2013-06-20 20:21:32 +00:00
'SKIP')
2015-03-17 12:31:56 +00:00
validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
2013-06-20 20:21:32 +00:00
build() {
cd $pkgname-$pkgver
2013-09-11 22:30:55 +00:00
./configure --prefix=/usr --disable-strict \
2015-03-17 12:31:56 +00:00
--enable-glx --enable-xv --enable-zrtp --enable-external-ortp
2013-06-20 20:21:32 +00:00
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}