pkgname=mediastreamer pkgver=2.15.1 pkgrel=1 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=('bctoolbox' 'ortp' 'libupnp' 'ffmpeg' 'libxv' 'glew' 'bzrtp' 'mbedtls') makedepends=('intltool' 'vim' 'bcunit') source=("https://github.com/BelledonneCommunications/mediastreamer2/archive/${pkgver}.tar.gz") sha256sums=('5e7d3eefc3ca807711da2cc279f1a05d7a24e0aa6e9dfe912fc203419880c852') build() { cd "${srcdir}"/${pkgname}2-${pkgver} ./autogen.sh ./configure --prefix=/usr \ --enable-glx \ --enable-xv \ --enable-external-ortp \ --disable-strict make } package() { cd "${srcdir}"/${pkgname}2-$pkgver make DESTDIR="${pkgdir}" install }