summaryrefslogtreecommitdiff
path: root/extra/mediastreamer/PKGBUILD
blob: cd31148ff0fc292f08a7fee81f849d600f0f77f5 (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
34
35
36
37
# $Id: PKGBUILD 183011 2013-04-16 22:29:29Z eric $
# 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=5
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' 'ffmpeg' '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')

prepare() {
  cd $pkgname-$pkgver
  patch -p1 -i "${srcdir}"/mediastreamer-ffmpeg.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

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