PKGBUILDs/extra/mediastreamer/PKGBUILD
2014-09-23 11:57:18 -04:00

34 lines
976 B
Bash

# $Id$
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Adrià Arrufat <swiftscythe@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - add --disable-strict to configure to remove -Werror
pkgname=mediastreamer
pkgver=2.10.0
pkgrel=3
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')
depends=('ortp' 'ffmpeg' 'libxv' 'libupnp')
# 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})
md5sums=('5a4e7545e212068534b56fdf41c961e9'
'SKIP')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-strict \
--disable-glx --enable-xv
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}