summaryrefslogtreecommitdiff
path: root/pcr/mediastreamer/PKGBUILD
blob: e55ace47312fcb8001be6a0e1960a1c4cf49dc93 (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
26
27
28
29
30
31
32
33
# $Id$
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Adrià Arrufat <swiftscythe@gmail.com>

pkgname=mediastreamer
pkgver=2.8.2
pkgrel=4.1
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' 'speex' 'ffmpeg=1:1.2' 'v4l-utils' 'libxv' 'libpulse')
makedepends=('intltool')
options=('!libtool')
source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
        mediastreamer-ffmpeg.patch)
md5sums=('e51ea9d5fce1396b374d10473dfbadec'
         '805da7def98f367e621363fa0c951fe8'
         '553d5d47ea4a8c8dfeabdc0281849d5f')

build() {
  cd "${srcdir}"/$pkgname-$pkgver
  patch -p1 -i "${srcdir}"/mediastreamer-ffmpeg.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver
  make DESTDIR="${pkgdir}" install
}