desktop/mediastreamer/PKGBUILD

29 lines
811 B
Bash

# maintainer :abveritas[at]chakra-project[dog]org>
pkgname=mediastreamer
pkgver=2.8.2
pkgrel=3
pkgdesc="A library written in C that allows you to create and run audio and video streams."
arch=('x86_64')
url="http://www.linphone.org"
license=('GPL')
depends=('ortp' 'speex' 'v4l-utils' 'ffmpeg>=0.11' 'libxv')
makedepends=('cmake' 'automoc4' 'intltool')
source=("http://download-mirror.savannah.gnu.org/releases/linphone/mediastreamer/mediastreamer-$pkgver.tar.gz"
'mediastreamer-ffmpeg.patch')
md5sums=('e51ea9d5fce1396b374d10473dfbadec'
'f147546489a973f148ce3dd2dba36834')
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
}