summaryrefslogtreecommitdiff
path: root/community/mediastreamer/PKGBUILD
blob: cc81012bacd6237c587bc049ef6fc2d7e5572e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 44001 2011-04-01 15:25:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Adrià Arrufat <swiftscythe@gmail.com>

pkgname=mediastreamer
pkgver=2.7.3
pkgrel=1
pkgdesc="A library written in C that allows you to create and run audio and video streams."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.linphone.org"
license=('GPL')
depends=('ortp' 'speex' 'v4l-utils' 'ffmpeg')
makedepends=('cmake' 'automoc4')
source=("http://download-mirror.savannah.gnu.org/releases/linphone/mediastreamer/mediastreamer-$pkgver.tar.gz"
	"disable-v4l1.patch")
md5sums=('5213307f557d86aa648f1a53a885138c'
         '7ee15689eed1adbdcf0ddab8fadca34a')

build() {
  cd "$srcdir"/$pkgname-$pkgver/
  patch -p2 <$srcdir/disable-v4l1.patch
  ./configure --prefix=/usr
  make
  make DESTDIR=${pkgdir} install
}